Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


Verilog states

Verilog states are mapped to std_logic and bit as follows:

Verilog
std_logic
bit
HiZ
'Z'
'0'
Sm0
'L'
'0'
Sm1
'H'
'1'
SmX
'W'
'0'
Me0
'L'
'0'
Me1
'H'
'1'
MeX
'W'
'0'
We0
'L'
'0'
We1
'H'
'1'
WeX
'W'
'0'
La0
'L'
'0'
La1
'H'
'1'
LaX
'W'
'0'
Pu0
'L'
'0'
Pu1
'H'
'1'
PuX
'W'
'0'
St0
'0'
'0'
St1
'1'
'1'
StX
'X'
'0'
Su0
'0'
'0'
Su1
'1'
'1'
SuX
'X'
'0'

For Verilog states with ambiguous strength:

VHDL type bit is mapped to Verilog states as follows:

bit
Verilog
'0'
St0
'1'
St1

VHDL type std_logic is mapped to Verilog states as follows:

std_logic
Verilog
'U'
StX
'X'
StX
'0'
St0
'1'
St1
'Z'
HiZ
'W'
PuX
'L'
Pu0
'H'
Pu1
'-'
StX


Model Technology Inc.
Model Technology Incorporated
Voice: (503) 641-1340
Fax: (503)526-5410
www.model.com
sales@model.com
Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase