Skip to content
Discussion options

You must be logged in to vote

x in Verilog (and Yosys) doesn't mean "don't-care". It's unknown/undefined. Verilog uses 4-state logic, '1', '0', 'X', and 'Z', where 'X' can be any of the other values, not just 0 or 1.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@yujning
Comment options

@KrystalDelusion
Comment options

@yujning
Comment options

@KrystalDelusion
Comment options

Answer selected by yujning
@KrystalDelusion
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants