Z
Zerang Shah
Guest
Hello,
std_logic can have the value '0' and '1' as well as 'X', 'Z', etc...
What are the synthesis consequences of case statements that include
'X', 'Z', etc? For example:
case some_bit is
when '1' =>
...
when '0' =>
...
when others =>
...
end case
Will most synthesis tools just ignore the "when others" part of the
statement? I'm guessing they do because I can't see a way to synthesize
'X' and 'Z' inputs, but I'm a noob so I could be wrong.
Thanks for the help.
std_logic can have the value '0' and '1' as well as 'X', 'Z', etc...
What are the synthesis consequences of case statements that include
'X', 'Z', etc? For example:
case some_bit is
when '1' =>
...
when '0' =>
...
when others =>
...
end case
Will most synthesis tools just ignore the "when others" part of the
statement? I'm guessing they do because I can't see a way to synthesize
'X' and 'Z' inputs, but I'm a noob so I could be wrong.
Thanks for the help.