mirror of
https://github.com/supleed2/cordic.git
synced 2024-12-22 13:45:50 +00:00
Aadi Desai
6475de9495
test_saw2sin.py: cocotb testbench using verilator cordic.sv: o_sin adjustments mask erratic results at extremes, avg error is 1.346 vs testbench
10 lines
302 B
Makefile
10 lines
302 B
Makefile
SIM ?= verilator
|
|
TOPLEVEL_LANG ?= verilog
|
|
VERILOG_SOURCES += $(PWD)/saw2sin.sv $(PWD)/cordic.sv
|
|
TOPLEVEL = saw2sin
|
|
MODULE = test_saw2sin
|
|
EXTRA_ARGS += --trace-fst --trace-structs
|
|
|
|
# include cocotb's make rules to take care of the simulator setup
|
|
include $(shell cocotb-config --makefiles)/Makefile.sim
|