infra: add tb mock and test makefile
This commit is contained in:
17
axi/tb/axi_cocotb_loopback_test/Makefile
Normal file
17
axi/tb/axi_cocotb_loopback_test/Makefile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Minimal cocotb + cocotbext-axi test for compact AXI interface loopback.
|
||||||
|
# Run:
|
||||||
|
# make SIM=verilator
|
||||||
|
# or:
|
||||||
|
# make SIM=questa
|
||||||
|
|
||||||
|
TOPLEVEL_LANG = verilog
|
||||||
|
SIM ?= verilator
|
||||||
|
|
||||||
|
PWD := $(shell pwd)
|
||||||
|
|
||||||
|
RTL_DIR = $(PWD)/../../rtl
|
||||||
|
|
||||||
|
VERILOG_SOURCES += $(RTL_DIR)/axi_pkg.sv
|
||||||
|
VERILOG_SOURCES += $(RTL_DIR)/axi_if.sv
|
||||||
|
VERILOG_SOURCES += $(RTL_DIR)/axi4_flat_to_if.sv
|
||||||
|
VERILOG_SOURCES += $(RTL_DIR)/axi4_if_to_flat.sv
|
||||||
Reference in New Issue
Block a user