Add SCMOS library file generation.

This commit is contained in:
mguthaus 2018-02-12 13:18:14 -08:00
parent 8ea0f6be2d
commit 2245ecffa0
8 changed files with 61 additions and 1 deletions

View File

@ -25,6 +25,6 @@ OPTS = -c
mv $(bname)*.lib lib
clean:
rm -f *.log *.pyc *~ *.gds *.lib *.sp *.v *.lef
rm -f *.log configs/*.pyc *~ *.gds *.lib *.sp *.v *.lef
rm -f gds/* lef/* lib/* sp/* verilog/*

30
lib/scn3me_subm/Makefile Normal file
View File

@ -0,0 +1,30 @@
CUR_DIR = $(shell pwd)
TEST_DIR = ${CUR_DIR}/tests
MAKEFLAGS += -j 2
CONFIG_DIR = configs
OUT_DIRS = sp lib lef gds verilog
$(shell mkdir -p $(OUT_DIRS))
SRCS=$(wildcard $(CONFIG_DIR)/*.py)
SPICES=$(SRCS:.py=.sp)
all : $(SPICES)
# Characterize and perform DRC/LVS
OPTS = -c
# Do not characterize or perform DRC/LVS
#OPTS = -n
%.sp : %.py
$(eval bname=$(basename $(notdir $<)))
openram.py $(OPTS) $< 2>&1 > $(bname).log
mv $(bname).lef lef
mv $(bname).v verilog
mv $(bname).sp sp
mv $(bname).gds gds
mv $(bname)*.lib lib
clean:
rm -f *.log configs/*.pyc *~ *.gds *.lib *.sp *.v *.lef
rm -f gds/* lef/* lib/* sp/* verilog/*

View File

@ -0,0 +1,5 @@
word_size = 128
num_words = 1024
num_banks = 1
tech_name = "scn3me_subm"

View File

@ -0,0 +1,5 @@
word_size = 32
num_words = 1024
num_banks = 1
tech_name = "scn3me_subm"

View File

@ -0,0 +1,5 @@
word_size = 32
num_words = 2048
num_banks = 1
tech_name = "scn3me_subm"

View File

@ -0,0 +1,5 @@
word_size = 8
num_words = 1024
num_banks = 4
tech_name = "scn3me_subm"

View File

@ -0,0 +1,5 @@
word_size = 8
num_words = 256
num_banks = 1
tech_name = "scn3me_subm"

View File

@ -0,0 +1,5 @@
word_size = 8
num_words = 512
num_banks = 4
tech_name = "scn3me_subm"