OpenRAM/macros/sram_configs/sky130_sram_2kbyte_1rw_32x5...

22 lines
464 B
Python
Raw Normal View History

2021-04-22 22:53:23 +02:00
"""
Single port, 2 kbytes SRAM, with byte write, useful for RISC-V processor main
memory.
"""
word_size = 32 # Bits
num_words = 512
human_byte_size = "{:.0f}kbytes".format((word_size * num_words)/1024/8)
# Allow byte writes
write_size = 8 # Bits
# Single port
num_rw_ports = 1
num_r_ports = 0
num_w_ports = 0
2022-06-07 01:11:53 +02:00
num_spare_rows = 1
num_spare_cols = 1
2021-04-22 22:53:23 +02:00
ports_human = '1rw'
import os
exec(open(os.path.join(os.path.dirname(__file__), 'sky130_sram_common.py')).read())