[hardware] Add a wave signal with the sleep state of all cores
onerror {resume}
quietly WaveActivateNextPane {} 0
+# Add a vector of the core's wfi signal to quickly see which cores are active
+set wfi_names ""
+for {set g 0} {$g < [examine -radix dec /mempool_pkg::NumGroups]} {incr g} {
+ for {set t 0} {$t < [examine -radix dec /mempool_pkg::NumTilesPerGroup]} {incr t} {
+ for {set c 0} {$c < [examine -radix dec mempool_pkg::NumCoresPerTile]} {incr c} {
+ set wfi_names "mempool_tb/dut/i_mempool_cluster/gen_groups[$g]/i_group/gen_tiles[$t]/i_tile/i_tile/gen_cores[$c]/gen_mempool_cc/riscv_core/i_snitch/wfi_q $wfi_names"
+ }
+ }
+}
+eval "add wave {wfi {$wfi_names}}"
+
# Add all cores from group 0 tile 0
for {set core 0} {$core < [examine -radix dec mempool_pkg::NumCoresPerTile]} {incr core} {
do ../scripts/wave_core.tcl 0 0 $core
