File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 33
44# defaults
55SIM ?= icarus
6+ FST ?= -fst # Use more efficient FST format
67TOPLEVEL_LANG ?= verilog
78SRC_DIR = $(PWD ) /../src
89PROJECT_SOURCES = tpu.v \
2526SIM_BUILD = sim_build/gl
2627COMPILE_ARGS += -DGL_TEST
2728COMPILE_ARGS += -DFUNCTIONAL
29+ COMPILE_ARGS += -DUSE_POWER_PINS
2830COMPILE_ARGS += -DSIM
29- VERILOG_SOURCES += $(PDK_ROOT ) /ihp-sg13g2/libs.ref/sg13g2_io/verilog/sg13g2_io.v
30- VERILOG_SOURCES += $(PDK_ROOT ) /ihp-sg13g2/libs.ref/sg13g2_stdcell/verilog/sg13g2_stdcell.v
31+ COMPILE_ARGS += -DUNIT_DELAY=\# 1
32+ VERILOG_SOURCES += $(PDK_ROOT ) /sky130A/libs.ref/sky130_fd_sc_hd/verilog/primitives.v
33+ VERILOG_SOURCES += $(PDK_ROOT ) /sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v
3134
3235# this gets copied in by the GDS action workflow
3336VERILOG_SOURCES += $(PWD ) /gate_level_netlist.v
@@ -41,8 +44,8 @@ COMPILE_ARGS += -I$(SRC_DIR)
4144VERILOG_SOURCES += $(PWD ) /tb.v
4245TOPLEVEL = tb
4346
44- # MODULE is the basename of the Python test file
45- MODULE = test
47+ # List test modules to run, separated by commas and without the .py suffix:
48+ COCOTB_TEST_MODULES = test
4649
4750# include cocotb's make rules to take care of the simulator setup
4851include $(shell cocotb-config --makefiles) /Makefile.sim
You can’t perform that action at this time.
0 commit comments