Making Nodes visible to SignalTap
When I want to view nodes in SignalTap, I sometimes have to comment out my nodes and put them into module outputs and then into top level outputs in order to see them.
Isn't there an easier way of decorating a node so that it can be forcibly available to SignalTap?
e.g.
/* Moving to module outputs so I can see on SignalTap.. bit [9:0] screen_last_active_hpixel; bit [9:0] last_active_hpixel; bit [9:0] screen_hstart_pixels; bit [9:0] last_screen_hpixel; bit [9:0] horiz_border_pixels; */
module VgaDisplay( input logic notReset, // K4 switch on PS-06 board input logic clk25, output logic red, output logic green, output logic blue, output logic oVSync, output logic oHSync, output bit [9:0] vic_screen_last_active_hpixel, // TEMP - so I can see in SignalTap output bit [9:0] vic_last_active_hpixel, // TEMP - so I can see in SignalTap output bit [9:0] vic_screen_hstart_pixels, // TEMP - so I can see in SignalTap output bit [9:0] vic_last_screen_hpixel, // TEMP - so I can see in SignalTap output bit [9:0] vic_horiz_border_pixels // TEMP - so I can see in SignalTap
I tried (* preserve_for_debug *) in VgaDisplay.sv but that still won't show vic_screen_lines in STP. I tried "Design Filter (all names)" as well - it still doesn't appear when I click List.
It is not listed in the 2 optimization result reports for removal, I can't find it in the compilation output, and I certainly can't see it in the RTL Viewer so it must have been removed somehow.
BUT.. I have just this minute tried searching for *vic_screen_lines* - and it appears! So I will have to remind myself to always use the asterisks either side of the node. I feel so stupid now - thank you for joining on me on this journey.
Always surround with asterisks, Sparky! Always!