mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-09-02 02:57:53 +02:00
Make some common lib memory sizes. Update Makefile to auto build and char them all.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
CUR_DIR = $(shell pwd)
|
||||
TEST_DIR = ${CUR_DIR}/tests
|
||||
|
||||
MAKEFLAGS += -j 2
|
||||
|
||||
CONFIG_DIR = configs
|
||||
OUT_DIRS = sp lib lef gds
|
||||
$(shell mkdir -p $(OUT_DIRS))
|
||||
|
||||
SRCS=$(wildcard $(CONFIG_DIR)/*.py)
|
||||
SPICES=$(SRCS:.py=.sp)
|
||||
all : $(SPICES)
|
||||
|
||||
%.sp : %.py
|
||||
openram.py -c $<
|
||||
mv ($basename $<).lef lef
|
||||
mv ($basename $<).sp sp
|
||||
mv ($basename $<).gds gds
|
||||
mv ($basename $<)\*.lib lib
|
||||
|
||||
clean:
|
||||
find . -name \*.pyc -exec rm {} \;
|
||||
find . -name \*~ -exec rm {} \;
|
||||
find . -name \*.lef -exec rm {} \;
|
||||
find . -name \*.lib -exec rm {} \;
|
||||
find . -name \*.sp -exec rm {} \;
|
||||
find . -name \*.gds -exec rm {} \;
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
word_size = 128
|
||||
num_words = 1024
|
||||
num_banks = 1
|
||||
|
||||
tech_name = "freepdk45"
|
||||
-4
@@ -3,7 +3,3 @@ num_words = 1024
|
||||
num_banks = 1
|
||||
|
||||
tech_name = "freepdk45"
|
||||
|
||||
output_path = "sram_1rw_32b_1k_freepdk45"
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
word_size = 32
|
||||
num_words = 2048
|
||||
num_banks = 1
|
||||
|
||||
tech_name = "freepdk45"
|
||||
@@ -0,0 +1,5 @@
|
||||
word_size = 8
|
||||
num_words = 1024
|
||||
num_banks = 4
|
||||
|
||||
tech_name = "freepdk45"
|
||||
@@ -0,0 +1,5 @@
|
||||
word_size = 8
|
||||
num_words = 256
|
||||
num_banks = 1
|
||||
|
||||
tech_name = "freepdk45"
|
||||
@@ -0,0 +1,5 @@
|
||||
word_size = 8
|
||||
num_words = 512
|
||||
num_banks = 4
|
||||
|
||||
tech_name = "freepdk45"
|
||||
Reference in New Issue
Block a user