Skip to content

Commit

Permalink
Try to fix build fails
Browse files Browse the repository at this point in the history
  • Loading branch information
hpretl committed Feb 3, 2024
1 parent 5ffec78 commit fbf0f80
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/config.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ set ::env(LINTER_INCLUDE_PDK_MODELS) 1
# Avoid messing around with analog signals
set ::env(RSZ_DONT_TOUCH_RX) "_ana_"
set ::env(QUIT_ON_SYNTH_CHECKS) 0
set ::env(QUIT_ON_SETUP_VIOLATIONS) 0

# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# !!! DO NOT CHANGE ANYTHING BELOW THIS POINT !!!
Expand Down
4 changes: 3 additions & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
SIM ?= icarus
TOPLEVEL_LANG ?= verilog
SRC_DIR = $(PWD)/../src
PROJECT_SOURCES = project.v
PROJECT_SOURCES = tt_um_hpretl_tt06_tempsens.v

ifneq ($(GATES),yes)

# RTL simulation:
SIM_BUILD = sim_build/rtl
VERILOG_SOURCES += $(addprefix $(SRC_DIR)/,$(PROJECT_SOURCES))
COMPILE_ARGS += -I$(SRC_DIR)
COMPILE_ARGS += -DSIMULATION

else

Expand All @@ -22,6 +23,7 @@ COMPILE_ARGS += -DGL_TEST
COMPILE_ARGS += -DFUNCTIONAL
COMPILE_ARGS += -DUSE_POWER_PINS
COMPILE_ARGS += -DSIM
COMPILE_ARGS += -DSIMULATION
COMPILE_ARGS += -DUNIT_DELAY=\#1
VERILOG_SOURCES += $(PDK_ROOT)/sky130A/libs.ref/sky130_fd_sc_hd/verilog/primitives.v
VERILOG_SOURCES += $(PDK_ROOT)/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v
Expand Down
1 change: 1 addition & 0 deletions test/tb.v
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/* This testbench just instantiates the module and makes some convenient wires
that can be driven / tested by the cocotb test.py.
*/

module tb ();

// Dump the signals to a VCD file. You can view it with gtkwave.
Expand Down

0 comments on commit fbf0f80

Please sign in to comment.