EmbDev.net

Forum: FPGA, VHDL & Verilog equivalent high-Z in real?


von bob (Guest)


Rate this post
useful
not useful
Hi all,

The question is in the subject, I want to know if there is an equivalent 
to the high impedance state for real type?

For instance in the case of switches with real signal inputs/outputs. I 
thought to write 0.0 instead of 'Z' when the switch is open but is it 
right or not?

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
bob wrote:
> I want to know if there is an equivalent to the high impedance state for
> real type?
NAN is "Not A Number" which is a kind of "undefined state".

But you will not have the ability to drive two floats on one signal 
wihtout defining your own float type with a resolution table...

von bob (Guest)


Rate this post
useful
not useful
Well, I see. Maybe I can modelise a 2-1 mux with the signal I want to 
drive on one channel and on the other channel "0.0" ? At least for the 
behaviour of a switch

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.