DataTypes

Common Datatypes (Verilog & Systemverilog)

DatatypeStateSigned/UnsignedNumber of bitsExample
reg4UnsignedAtleast 1 bit
wire4UnsignedAtleast 1 bit
integer4SignedGreaterthan or equal to 32 (>=32)
real---
time---
realtime---

Datatypes Introduced in systemverilog

DatartypesStateSigned/UnsignedNumber of bits Example
logic4UnsignedAtleast 1 bit
bit2UnsignedAtleast 1 bit
byte2Signed8
shortint2Signed16
int2Signed32
longint2Signed64
shortreal---