Skip to content

chipfoundry/CF_SRAM_8192x32

Repository files navigation

CF_SRAM_8192x32

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.

Structure

The 8192x32 SRAM macro consists of:

  1. CF_SRAM_8192x32.v - The main SRAM macro that instantiates eight 1024x32 SRAMs with address decoding and data multiplexing
  2. CF_SRAM_8192x32_wb_wrapper.v - Wishbone compliant wrapper that provides the bus interface
  3. controllers/ram_controller_wb.v - Wishbone controller that translates bus transactions to SRAM signals

Features

  • 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

Address Mapping

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

Dependencies

This macro depends on the CF_SRAM_1024x32 macro, which must be available in your design.

Installation

Install this IP using IPM

pip install cf-ipm
ipm install CF_SRAM_8192x32

About

32KB SRAM macro (8192 words × 32 bits) built from 8 × 1024x32 SRAM macros with Wishbone B4 interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages