diff --git a/macros/Makefile b/macros/Makefile index e555f3a0..58b7f09e 100644 --- a/macros/Makefile +++ b/macros/Makefile @@ -6,6 +6,7 @@ include $(TOP_DIR)/openram.mk SKY130_PDK ?= $(PDK_ROOT)/sky130A +OPENRAM_DIR = $(MACRO_DIR) OPENRAM_OPTS := $(OPENRAM_OPTS) # Define `OPENRAM_FULL` in your environment to run a full characterize ifeq ($(OPENRAM_FULL),) @@ -40,7 +41,7 @@ configs: .PHONY: configs -BROKEN := +BROKEN := WORKING_SRAM_STAMPS=$(filter-out $(addsuffix .ok, $(BROKEN)), $(SRAM_STAMPS)) WORKING_ROM_STAMPS=$(filter-out $(addsuffix .ok, $(BROKEN)), $(ROM_STAMPS)) @@ -50,7 +51,7 @@ SKY130_STAMPS=$(filter sky130%, $(WORKING_SRAM_STAMPS)) $(filter sky130%, $(WORK FREEPDK45_STAMPS=$(filter freepdk45%, $(WORKING_STAMPS)) $(filter freepdk45%, $(WORKING_ROM_STAMPS)) SCN4M_SUBM_STAMPS=$(filter scn4m_subm%, $(WORKING_STAMPS)) $(filter scn4m_subm%, $(WORKING_ROM_STAMPS)) -all: | configs +all: | configs @echo @echo "Building following working configs" @for S in $(WORKING_STAMPS); do echo " - $$S"; done @@ -75,7 +76,7 @@ rom: $(WORKING_ROM_STAMPS) sram: $(WORKING_SRAM_STAMPS) .PHONY: sram - + %.ok: sram_configs/%.py @echo "Building $*" @mkdir -p $* diff --git a/macros/rom_configs/sky130_rom_common.py b/macros/rom_configs/sky130_rom_common.py index d36887bf..40bc3666 100644 --- a/macros/rom_configs/sky130_rom_common.py +++ b/macros/rom_configs/sky130_rom_common.py @@ -1,4 +1,10 @@ - +# See LICENSE for licensing information. +# +# Copyright (c) 2016-2023 Regents of the University of California and The Board +# of Regents for the Oklahoma Agricultural and Mechanical College +# (acting for and on behalf of Oklahoma State University) +# All rights reserved. +# tech_name = "sky130" nominal_corner_only = True