This is a 8192x32 SRAM macro that is built using eight 1024x32 SRAM macros. It provides a Wishbone compliant slave interface for easy integration into SoC designs.
The 8192x32 SRAM macro consists of:
- CF_SRAM_8192x32.v - The main SRAM macro that instantiates eight 1024x32 SRAMs with address decoding and data multiplexing
- CF_SRAM_8192x32_wb_wrapper.v - Wishbone compliant wrapper that provides the bus interface
- controllers/ram_controller_wb.v - Wishbone controller that translates bus transactions to SRAM signals
- Capacity: 8192 words × 32 bits = 32KB
- Address Width: 13 bits (8192 = 2^13)
- Data Width: 32 bits
- Interface: Wishbone compliant slave
- Byte Enable: Supports byte-level writes using wbs_sel_i[3:0]
- Scan Chain: Includes scan chain support for testing
The 8192x32 SRAM uses the following address mapping:
- Address bits [12:10]: Select which 1024x32 SRAM macro (000, 001, 010, 011, 100, 101, 110, 111)
- Address bits [9:0]: Word address within each 1024x32 SRAM
This macro depends on the CF_SRAM_1024x32 macro, which must be available in your design.
Install this IP using IPM
pip install cf-ipm
ipm install CF_SRAM_8192x32