Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
1753a4cb4This file is pinned to the selected release. Download the original to open it in your design tool.
QUIET=@
SRC=toplevel.v \
../../../red-lava/simulation/altsyncram.v \
../../../red-lava/simulation/lpm_add_sub.v
sim: obj_dir/Vtoplevel
@for x in *.mif;do grep : < $$x|sed -e "s,^.*:,," -e "s,;,," > $$x.txt;done
@./obj_dir/Vtoplevel
obj_dir/Vtoplevel: $(SRC)
$(QUIET)verilator --cc toplevel.v ../../../red-lava/simulation/altsyncram.v --exe sim_main.cpp 2>&1 > /dev/null
$(QUIET)$(MAKE) -C obj_dir -j -f Vtoplevel.mk >/dev/null 2>&1