ROM

Single Port Read Only Memory primitive.

MEMORY

Model

ROM CS RE ADDR DATA
Pin Function
CS Chip Select (Active High). If Low, outputs are High-Z.
RE Read Enable (Active High). If Low, outputs are High-Z.
ADDR Address input bus.
DATA Data output bus.

Operation

CS RE DATA
0 Z
1 0 Z
1 1 contents at ADDR

Initialization & Data Population

ROM contents are typically initialized using the DATA keyword within the PART statement. However, they can also be updated dynamically prior to simulation using the CLAMP command.

# Static initialization in netlist
PART=U1 TYPE=ROM DATA=X0, FF, AA, 55, 01

# Dynamic population in run script
CLAMP PART=U1 DATA=X100 01 02 03

For detailed information on the DATA syntax, X-handling behavior, and the CLAMP command, see the Memory Handling & Initialization guide.

X-Handling

Physical Constraints

Equivalent Type Statement

Type=ROM i=CS,RE,ADDR[m:0] o=DATA[n:0]