~ruther/vhdl-spi-2

ref: 6883a17688cfc3ae8716979379b130512ec18a18 vhdl-spi-2/hdl_spi/tests/Makefile -rw-r--r-- 776 bytes
6883a176 — Rutherther fix: prevent pulses on tx_ready_o, rx_block assertion when rx is ready 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Makefile

# defaults
SIM ?= questa
TOPLEVEL_LANG ?= vhdl

SRC = $(PWD)/../src

VHDL_SOURCES=$(SRC)/spi_pkg.vhd $(SRC)/rs_latch.vhd $(SRC)/register.vhd $(SRC)/shift_register.vhd $(SRC)/spi_clkgen.vhd $(SRC)/spi_clkmon.vhd $(SRC)/spi_multiplexor.vhd $(SRC)/spi_slave_ctrl.vhd $(SRC)/spi_master_ctrl.vhd $(SRC)/spi_master.vhd $(SRC)/spi_masterslave.vhd $(SRC)/spi_peripheral.vhd

VCOM_ARGS = -2008
GHDL_ARGS= --std=08

# TOPLEVEL is the name of the toplevel module in your Verilog or VHDL file
TOPLEVEL = spi_masterslave

# MODULE is the basename of the Python test file
MODULE = test_spi_masterslave

export PYTHONPATH := $(PWD)/../models:$(PYTHONPATH)

# include cocotb's make rules to take care of the simulator setup
include $(shell cocotb-config --makefiles)/Makefile.sim
Do not follow this link