Forum Discussion
Altera_Forum
Honored Contributor
18 years agoWhen I compile your code with the sensitivity list fixed, the only remaining issue I see is the warning below, which might or might not matter for your application. You probably have a mistake in the file (which I suspect is a schematic) that instantiates controlReg16. The top-level file must not have another tristate buffer (you already have the tristate buffer inside controlReg16), and the top-level file must not have anything else driving out on AD[0].
--- Quote Start --- Warning: Output pin "debug_pin[1]" driven by bidirectional pin "AD[0]" cannot be tri-stated --- Quote End --- Help for the above warning, which is for debug(1) going directly to output pin debug_pin[1] at the top level in my test case: --- Quote Start --- Output pin "<name>" driven by bidirectional pin "<name>" cannot be tri-stated -------------------------------------------------------------------------------- CAUSE: The specified output pin is driven by both the specified bidirectional pin and tri-stated logic. However, the current device does not support a tri-stated output pin. When the output pin is not driven by either the logic or the bidirectional pin, its output value is undefined. ACTION: If the output pin is always driven by either the logic or the bidirectional pin, no action is required. Otherwise, insert an extra tri-state buffer before the output pin. --- Quote End ---