Skip to content

Commit

Permalink
sim: Hack for sg13g2
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Munaut <[email protected]>
  • Loading branch information
smunaut committed Oct 22, 2024
1 parent 218d6a1 commit b2acca7
Show file tree
Hide file tree
Showing 4 changed files with 2,210 additions and 3 deletions.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

# Configs
TECH ?= generic
TECH ?= ihp-sg13g2
SIM_DEFS += -DSIM

# Binaries
Expand Down Expand Up @@ -59,6 +59,12 @@ SIM_SRC += $(addprefix sim/sky130/, \
SIM_DEFS += -DWITH_POWER=1 -DUSE_POWER_PINS=1 -DFUNCTIONAL=1 -DUNIT_DELAY=\#1
endif

ifeq ($(TECH),ihp-sg13g2)
SIM_SRC += $(addprefix sim/ihp-sg13g2/, \
sg13g2_stdcell.v \
)
endif

all: sim

# Generated sources
Expand Down
Loading

0 comments on commit b2acca7

Please sign in to comment.