# This file is public domain, it can be freely copied without restrictions. # SPDX-License-Identifier: CC0-1.0 # Makefile SIM ?= verilator TOPLEVEL_LANG ?= verilog # Or --trace-fst EXTRA_ARGS ?= --trace -GGPIO_WIDTH=8 VERILOG_SOURCES += $(PWD)/../rvx_gpio.v # TOPLEVEL is the name of the toplevel module in your Verilog or VHDL file TOPLEVEL = rvx_gpio # MODULE is the basename of the Python test file MODULE = test_gpio # include cocotb's make rules to take care of the simulator setup include $(shell cocotb-config --makefiles)/Makefile.sim