prim_ram_1p_adv_ext_pkg

Declare default external RAM request and response structs for prim_ram_1p_adv_ext.

Modules may override ram_req_t and ram_rsp_t with tighter typed structs at instantiation. Request fields carry clk, enable, write, addr, wdata, and wmask; the response carries rdata.

prim_ram_1p_adv_ext_req_t

Default external RAM request; an instantiation can override it with its own type.

Packed struct

Table 1. prim_ram_1p_adv_ext_req_t
FieldTypeDescription
clklogicClock for external RAM.
enablelogicRAM request enable.
writelogicWrite enable.
addrlogic [31:0]Word address.
wdatalogic [38:0]Write data with its check bits; 39 bits holds 32 data bits plus 7 ECC bits.
wmasklogic [31:0]Per-bit write mask.

prim_ram_1p_adv_ext_rsp_t

Default external RAM response; an instantiation can override it with its own type.

Packed struct

Table 2. prim_ram_1p_adv_ext_rsp_t
FieldTypeDescription
rdatalogic [31:0]Read data.