alexan_e
Administrator
The pull up/down resistors are weak and can only set the state of a high resistance I/O.
In your code you define a circuit that sets the output to either high or low so there is no tristate mode.
As my understanding you can either turn the output drive on and have an output of 1 or 0 or you can disable the output drive and get the z state, there are no other alternatives.
Alex
This is a diagram of the spartn3 output
In your code you define a circuit that sets the output to either high or low so there is no tristate mode.
As my understanding you can either turn the output drive on and have an output of 1 or 0 or you can disable the output drive and get the z state, there are no other alternatives.
Alex
This is a diagram of the spartn3 output