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
|
|
|
|
2022-01-20 16:02:08 +00:00
|
|
|
#add wave /testbench/dut/core/DataStall
|
|
|
|
add wave /testbench/dut/core/StallF
|
|
|
|
add wave /testbench/dut/core/StallD
|
|
|
|
add wave /testbench/dut/core/StallE
|
|
|
|
add wave /testbench/dut/core/StallM
|
|
|
|
add wave /testbench/dut/core/StallW
|
|
|
|
add wave /testbench/dut/core/FlushD
|
|
|
|
add wave /testbench/dut/core/FlushE
|
|
|
|
add wave /testbench/dut/core/FlushM
|
|
|
|
add wave /testbench/dut/core/FlushW
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave -divider
|
2021-04-04 10:40:53 +00:00
|
|
|
|
2022-01-20 16:02:08 +00:00
|
|
|
add wave -hex /testbench/dut/core/ifu/PCF
|
|
|
|
add wave -hex /testbench/dut/core/ifu/PCD
|
|
|
|
add wave -hex /testbench/dut/core/ifu/InstrD
|
|
|
|
add wave -hex /testbench/dut/core/ieu/c/InstrValidD
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave /testbench/InstrDName
|
|
|
|
add wave -divider
|
2022-01-20 16:02:08 +00:00
|
|
|
add wave -hex /testbench/dut/core/ifu/PCE
|
|
|
|
add wave -hex /testbench/dut/core/ifu/InstrE
|
|
|
|
add wave -hex /testbench/dut/core/ieu/c/InstrValidE
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave /testbench/InstrEName
|
2022-01-20 16:02:08 +00:00
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/SrcAE
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/SrcBE
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/ALUResultE
|
|
|
|
#add wave /testbench/dut/core/ieu/dp/PCSrcE
|
|
|
|
add wave /testbench/dut/core/mdu/genblk1/div/DivStartE
|
|
|
|
add wave /testbench/dut/core/mdu/DivBusyE
|
|
|
|
add wave -hex /testbench/dut/core/mdu/genblk1/div/RemM
|
|
|
|
add wave -hex /testbench/dut/core/mdu/genblk1/div/QuotM
|
2021-10-02 14:03:02 +00:00
|
|
|
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave -divider
|
2022-01-20 16:02:08 +00:00
|
|
|
add wave -hex /testbench/dut/core/ifu/PCM
|
|
|
|
add wave -hex /testbench/dut/core/ifu/InstrM
|
|
|
|
add wave -hex /testbench/dut/core/ieu/c/InstrValidM
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave /testbench/InstrMName
|
2022-08-25 15:35:24 +00:00
|
|
|
add wave /testbench/dut/uncore/uncore/ram/memwrite
|
2022-01-20 16:02:08 +00:00
|
|
|
add wave -hex /testbench/dut/core/WriteDataM
|
|
|
|
add wave -hex /testbench/dut/core/lsu.bus.dcache/MemPAdrM
|
|
|
|
add wave -hex /testbench/dut/core/lsu.bus.dcache/WriteDataM
|
|
|
|
add wave -hex /testbench/dut/core/lsu.bus.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
|
2022-01-20 16:02:08 +00:00
|
|
|
#add wave -hex /testbench/dut/core/ieu/c/InstrValidW
|
2021-10-02 14:03:02 +00:00
|
|
|
#add wave /testbench/InstrWName
|
2022-01-20 16:02:08 +00:00
|
|
|
add wave -hex /testbench/dut/core/ReadDataW
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/ResultW
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/RegWriteW
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/WriteDataW
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/RdW
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave -divider
|
2022-01-20 16:02:08 +00:00
|
|
|
add wave -hex /testbench/dut/core/priv/csr/TrapM
|
|
|
|
add wave -hex /testbench/dut/core/priv/csr/UnalignedNextEPCM
|
|
|
|
add wave -hex /testbench/dut/core/priv/csr/genblk1/csrm/WriteMEPCM
|
|
|
|
add wave -hex /testbench/dut/core/priv/csr/genblk1/csrm/MEPC_REGW
|
2021-07-16 16:27:15 +00:00
|
|
|
|
|
|
|
add wave -divider RegFile
|
2022-01-20 16:02:08 +00:00
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[1]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[2]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[3]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[4]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[5]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[6]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[7]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[8]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[9]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[10]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[11]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[12]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[13]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[14]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[15]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[16]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[17]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[18]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[19]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[20]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[21]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[22]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[23]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[24]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[25]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[26]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[27]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[28]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[29]
|
|
|
|
add wave -hex /testbench/dut/core/ieu/dp/regf/rf[30]
|
|
|
|
add wave -hex /testbench/dut/core/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
|
2022-01-20 16:02:08 +00:00
|
|
|
add wave -hex /testbench/dut/core/priv/csr/TrapM
|
2022-08-25 15:35:24 +00:00
|
|
|
add wave -hex /testbench/dut/uncore/uncore/plic/plic/*
|
|
|
|
add wave -hex /testbench/dut/uncore/uncore/plic/plic/intPriority
|
|
|
|
add wave -hex /testbench/dut/uncore/uncore/plic/plic/pendingArray
|
2021-07-16 16:27:15 +00:00
|
|
|
add wave -divider UART
|
2022-08-25 15:35:24 +00:00
|
|
|
add wave -hex /testbench/dut/uncore/uncore/uart/uart/u/*
|
2021-07-16 16:27:15 +00:00
|
|
|
add wave -divider GPIO
|
2022-08-25 15:35:24 +00:00
|
|
|
add wave -hex /testbench/dut/uncore/uncore/gpio/gpio/*
|
2021-06-23 07:03:52 +00:00
|
|
|
#add wave -divider
|
2022-08-25 14:24:13 +00:00
|
|
|
#add wave -hex /testbench/dut/core/ebu/ebu/*
|
2021-06-23 07:03:52 +00:00
|
|
|
#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/*
|