2021-03-05 19:25:16 +00:00
|
|
|
# wally-peripherals-signals.do
|
|
|
|
#
|
|
|
|
# Created by Ben Bracker (bbracker@hmc.edu) on 4 Mar. 2021
|
|
|
|
#
|
|
|
|
# I really didn't like having to relaunch and recompile an entire sim
|
|
|
|
# just because some signal names have changed, so I thought this
|
|
|
|
# would be good to factor out.
|
|
|
|
|
|
|
|
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-03-05 19:25:16 +00:00
|
|
|
add wave /testbench/dut/hart/DataStall
|
|
|
|
add wave /testbench/dut/hart/InstrStall
|
|
|
|
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
|
|
|
|
add wave /testbench/InstrDName
|
|
|
|
add wave -divider
|
|
|
|
add wave -hex /testbench/dut/hart/ifu/PCE
|
|
|
|
add wave -hex /testbench/dut/hart/ifu/InstrE
|
|
|
|
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-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
|
|
|
|
add wave /testbench/InstrMName
|
|
|
|
add wave /testbench/dut/uncore/dtim/memwrite
|
|
|
|
add wave -hex /testbench/dut/uncore/HADDR
|
|
|
|
add wave -hex /testbench/dut/uncore/HWDATA
|
|
|
|
add wave -divider
|
2021-04-04 10:40:53 +00:00
|
|
|
add wave -hex /testbench/PCW
|
|
|
|
add wave -hex /testbench/InstrW
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave /testbench/InstrWName
|
|
|
|
add wave /testbench/dut/hart/ieu/dp/RegWriteW
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/ResultW
|
|
|
|
add wave -hex /testbench/dut/hart/ieu/dp/RdW
|
|
|
|
add wave -divider
|
2021-04-04 10:40:53 +00:00
|
|
|
add wave -divider
|
|
|
|
|
|
|
|
# peripherals
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave -hex /testbench/dut/hart/ebu/*
|
|
|
|
add wave -divider
|
|
|
|
add wave -hex /testbench/dut/uncore/uart/u/*
|
|
|
|
add wave -divider
|
2021-04-04 10:40:53 +00:00
|
|
|
add wave -hex /testbench/dut/uncore/plic/*
|
|
|
|
add wave -hex /testbench/dut/uncore/plic/intPriority
|
|
|
|
add wave -hex /testbench/dut/uncore/plic/pendingArray
|
|
|
|
add wave -divider
|
|
|
|
add wave -divider
|
|
|
|
|
|
|
|
# everything else
|
2021-03-05 19:25:16 +00:00
|
|
|
add wave -hex -r /testbench/*
|
|
|
|
|