Forum Discussion
Altera_Forum
Honored Contributor
15 years agoDetect Tristate 'Z' signal?!
Hello, I have a state machine (VHDL) that should switch on an external input signal. My problem is that the input signal maybe not driven by any device, so it's value is 'Z'. How can I avoid tha...
Altera_Forum
Honored Contributor
15 years agoI am not sure about Z simulation issue.
remember Z on your input is not a logic value but a case of high impedance which can go to logic 1 or zero by just touching... if input is not connected (not driven) then you can either think of it as unknown logic or being driven through air (high impedance). In similation: you define your inputs as 1 or 0 but you may try Z vector and see. Note: I have used weak pullup before in similar problem with state machine in Max II and it worked.