## part 1: new lib
vlib work
vmap work work

## part 2: load design
vlog -novopt -incr -work work "../../tb/prim_sim.v"
vlog -novopt -incr -work work "../../tb/tb_mod.v"
vlog -novopt -incr -work work "../../project/src/advanced_fir_filter/advanced_fir_filter.vo"
vlog -novopt -incr -work work "../../project/src/gowin_rom_t.v"
vlog -novopt -incr -work work "../../project/src/gowin_rom_c.v"

## part 3: sim design
vsim -novopt work.Reload_tb

## part 4: add signals
add wave /Reload_tb/clk
add wave /Reload_tb/coeffset
add wave /Reload_tb/coeffin
add wave /Reload_tb/inpvalid
add wave /Reload_tb/din
add wave /Reload_tb/outvalid
add wave /Reload_tb/dout


## part 5: show ui 
view wave
view structure
view signals

## part 6: run 
run 400us

