if [file exists "work"] {vdel -all} vlib work # Comment out either the SystemVerilog or VHDL DUT. # There can be only one! # VHDL DUT #vcom -f rtl_flist.f vlog -sv dummz_memgen_16.sv # SystemVerilog DUT vlog -sv -lint -pedanticerrors -f rtl_flist.f vopt work.cpu -o cpu_opt +acc -pedanticerrors quit