for WSL2:
make bsp
make idea
then open with IDEA(Linux version)
choose JDK version 11
click the green arrow to start simulation and generate verilog
enter "test_run_dir" directory and find your sim project
gtkwave your_design.vcd
the verilog code is in genVerilog directory
make compile to start compile
make run to start run sim
make sim to run the above program and open waveform
for WSL2:
pip install cocotb
pip install cocotbext-axi
enter "pySim" directory and find your sim project
make
gtkwave your_design.fst