From da4202e6f74796603072aa14544581604e81df02 Mon Sep 17 00:00:00 2001 From: Wade Fife Date: Tue, 6 Jul 2021 18:53:14 -0500 Subject: fpga: sim: Add PkgComplex, PkgMath, and PkgRandom PkgComplex adds functions for doing complex arithmetic in SystemVerilog simulation. PkgMath provides mathematical operations and constants that aren't built into SystemVerilog, such as a constant for pi and the function round(). PkgRandom adds randomization functions beyond what standard Verilog supports but that don't require any special licenses or simulators. --- fpga/usrp3/tools/make/viv_sim_preamble.mak | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fpga/usrp3/tools') diff --git a/fpga/usrp3/tools/make/viv_sim_preamble.mak b/fpga/usrp3/tools/make/viv_sim_preamble.mak index afeca0b3c..514b06a0a 100644 --- a/fpga/usrp3/tools/make/viv_sim_preamble.mak +++ b/fpga/usrp3/tools/make/viv_sim_preamble.mak @@ -30,12 +30,14 @@ include $(BASE_DIR)/../sim/general/Makefile.srcs include $(BASE_DIR)/../sim/axi/Makefile.srcs include $(BASE_DIR)/../sim/control/Makefile.srcs include $(BASE_DIR)/../sim/rfnoc/Makefile.srcs +include $(BASE_DIR)/../sim/packages/Makefile.srcs INC_SRCS = $(abspath \ $(SIM_GENERAL_SRCS) \ $(SIM_AXI_SRCS) \ $(SIM_CONTROL_SRCS) \ $(SIM_RFNOC_SRCS) \ +$(SIM_PACKAGES_SRCS) \ ) # Predeclare RFNOC_OOT_SRCS to make sure it's not recursively expanded -- cgit v1.2.3