Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does Z in Verilog stand for?

I've recently found a code like this in a Verilog code that I'm referring to write finite state machine.

reg [15:0]Bus;
Bus = 'bzzzzzzzzzzzz1111;

What is the meaning of z here?

like image 288
ANjaNA Avatar asked Dec 02 '25 23:12

ANjaNA


1 Answers

From the IEEE Std 1800-2012, section "6.3.1 Logic values":

z—represents a high-impedance state

The SystemVerilog value set consists of the following four basic values:

0—represents a logic zero or a false condition
1—represents a logic one or a true condition
x—represents an unknown logic value
z—represents a high-impedance state

The values 0 and 1 are logical complements of one another.
like image 53
toolic Avatar answered Dec 04 '25 19:12

toolic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!