2021-04-24 13:32:09 +00:00
|
|
|
# peripheral-waves.do
|
2021-03-05 19:25:16 +00:00
|
|
|
|
|
|
|
restart -f
|
|
|
|
delete wave /*
|
|
|
|
view wave
|
|
|
|
|
2021-04-04 10:40:53 +00:00
|
|
|
# general stuff
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave /testbench/clk
|
|
|
|
add wave /testbench/reset
|
|
|
|
add wave -divider
|
2021-04-04 10:40:53 +00:00
|
|
|
|
2021-07-05 14:30:46 +00:00
|
|
|
#add wave /testbench/dut/hart/DataStall
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave /testbench/dut/hart/StallF
|
|
|
|
add wave /testbench/dut/hart/StallD
|
2021-04-04 10:40:53 +00:00
|
|
|
add wave /testbench/dut/hart/StallE
|
|
|
|
add wave /testbench/dut/hart/StallM
|
|
|
|
add wave /testbench/dut/hart/StallW
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave /testbench/dut/hart/FlushD
|
|
|
|
add wave /testbench/dut/hart/FlushE
|
|
|
|
add wave /testbench/dut/hart/FlushM
|
|
|
|
add wave /testbench/dut/hart/FlushW
|
|
|
|
add wave -divider
|
2021-04-04 10:40:53 +00:00
|
|
|
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave -hex /testbench/dut/hart/ifu/PCF
|
2021-04-04 10:40:53 +00:00
|
|
|
add wave -hex /testbench/dut/hart/ifu/PCD
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave -hex /testbench/dut/hart/ifu/InstrD
|
2021-06-02 14:03:19 +00:00
|
|
|
add wave -hex /testbench/dut/hart/ieu/c/InstrValidD
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave /testbench/InstrDName
|
|
|
|
add wave -divider
|
|
|
|
add wave -hex /testbench/dut/hart/ifu/PCE
|
|
|
|
add wave -hex /testbench/dut/hart/ifu/InstrE
|
2021-06-02 14:03:19 +00:00
|
|
|
add wave -hex /testbench/dut/hart/ieu/c/InstrValidE
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave /testbench/InstrEName
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/SrcAE
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/SrcBE
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/ALUResultE
|
2021-04-04 10:40:53 +00:00
|
|
|
#add wave /testbench/dut/hart/ieu/dp/PCSrcE
|
2021-10-10 17:41:13 +00:00
|
|
|
add wave /testbench/dut/hart/mdu/genblk1/div/DivStartE
|
2021-10-02 14:03:02 +00:00
|
|
|
add wave /testbench/dut/hart/mdu/DivBusyE
|
2021-10-03 00:55:37 +00:00
|
|
|
add wave -hex /testbench/dut/hart/mdu/genblk1/div/RemM
|
|
|
|
add wave -hex /testbench/dut/hart/mdu/genblk1/div/QuotM
|
2021-10-02 14:03:02 +00:00
|
|
|
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave -divider
|
|
|
|
add wave -hex /testbench/dut/hart/ifu/PCM
|
|
|
|
add wave -hex /testbench/dut/hart/ifu/InstrM
|
2021-06-02 14:03:19 +00:00
|
|
|
add wave -hex /testbench/dut/hart/ieu/c/InstrValidM
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave /testbench/InstrMName
|
2021-12-14 21:43:06 +00:00
|
|
|
add wave /testbench/dut/uncore/ram/memwrite
|
2021-06-03 14:03:09 +00:00
|
|
|
add wave -hex /testbench/dut/hart/WriteDataM
|
2021-07-17 18:46:18 +00:00
|
|
|
add wave -hex /testbench/dut/hart/lsu/dcache/MemPAdrM
|
|
|
|
add wave -hex /testbench/dut/hart/lsu/dcache/WriteDataM
|
|
|
|
add wave -hex /testbench/dut/hart/lsu/dcache/ReadDataM
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave -divider
|
2021-04-04 10:40:53 +00:00
|
|
|
add wave -hex /testbench/PCW
|
2021-10-02 14:03:02 +00:00
|
|
|
#add wave -hex /testbench/InstrW
|
2021-10-27 17:37:35 +00:00
|
|
|
#add wave -hex /testbench/dut/hart/ieu/c/InstrValidW
|
2021-10-02 14:03:02 +00:00
|
|
|
#add wave /testbench/InstrWName
|
2021-06-03 14:03:09 +00:00
|
|
|
add wave -hex /testbench/dut/hart/ReadDataW
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/ResultW
|
2021-06-03 14:03:09 +00:00
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/RegWriteW
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/WriteDataW
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/RdW
|
|
|
|
add wave -divider
|
2021-05-29 03:11:37 +00:00
|
|
|
add wave -hex /testbench/dut/hart/priv/csr/TrapM
|
|
|
|
add wave -hex /testbench/dut/hart/priv/csr/UnalignedNextEPCM
|
|
|
|
add wave -hex /testbench/dut/hart/priv/csr/genblk1/csrm/WriteMEPCM
|
|
|
|
add wave -hex /testbench/dut/hart/priv/csr/genblk1/csrm/MEPC_REGW
|
2021-07-16 16:27:15 +00:00
|
|
|
|
|
|
|
add wave -divider RegFile
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[1]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[2]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[3]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[4]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[5]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[6]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[7]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[8]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[9]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[10]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[11]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[12]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[13]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[14]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[15]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[16]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[17]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[18]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[19]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[20]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[21]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[22]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[23]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[24]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[25]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[26]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[27]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[28]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[29]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[30]
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/regf/rf[31]
|
2021-04-04 10:40:53 +00:00
|
|
|
|
|
|
|
# peripherals
|
2021-07-16 16:27:15 +00:00
|
|
|
add wave -divider PLIC
|
|
|
|
add wave -hex /testbench/dut/hart/priv/csr/TrapM
|
2021-07-30 19:24:50 +00:00
|
|
|
add wave -hex /testbench/dut/uncore/plic/plic/*
|
|
|
|
add wave -hex /testbench/dut/uncore/plic/plic/intPriority
|
|
|
|
add wave -hex /testbench/dut/uncore/plic/plic/pendingArray
|
2021-07-16 16:27:15 +00:00
|
|
|
add wave -divider UART
|
2021-07-30 19:24:50 +00:00
|
|
|
add wave -hex /testbench/dut/uncore/uart/uart/u/*
|
2021-07-16 16:27:15 +00:00
|
|
|
add wave -divider GPIO
|
2021-07-30 19:24:50 +00:00
|
|
|
add wave -hex /testbench/dut/uncore/gpio/gpio/*
|
2021-06-23 07:03:52 +00:00
|
|
|
#add wave -divider
|
|
|
|
#add wave -hex /testbench/dut/hart/ebu/*
|
|
|
|
#add wave -divider
|
|
|
|
#add wave -divider
|
2021-04-04 10:40:53 +00:00
|
|
|
|
|
|
|
# everything else
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave -hex -r /testbench/*
|