Forum Discussion
amildm
Contributor
4 years ago[SignalTap] How to add signals defined as "wire" in RTL?
Hi All,
How can I add signals, which are defined as "wire" in RTL, to SignalTap ?
Thank you!
- 4 years ago
Well, there's your problem. It's getting optimized away. Tap the "upstream" signals that drive this or add virtual pin assignments to the signal in the Assignment Editor.
sstrell
Super Contributor
4 years agoAny signal you can find in the Signal Tap Node Finder filter is tappable. It doesn't matter how it's defined in the RTL. If you are concerned about RTL signals getting optimized away, use the Signal Tap pre-synthesis filter in the Node Finder. That lets you select signals directly defined in your RTL.
- amildm4 years ago
Contributor
I'd like to add the pix_data_in_422 signal, to the SignalTap (signal definition please see below).
logic [PIX_DATA_BW-1:0] pix_data_in_422; always_comb begin : pix_data_in_422_l pix_data_in_422 = {//[95:48] pix_data_in[47+48:40+48],pix_data_in[15+48:12+48],4'd0, // [47:32] Cr/Cb pix_data_in[31+48:24+48],pix_data_in[11+48: 8+48],4'd0, // [31:16] Y 16'd0, // [15:0] //[47:0] pix_data_in[47:40],pix_data_in[15:12],4'd0, // [47:32] Cr/Cb pix_data_in[31:24],pix_data_in [11:8],4'd0, // [31:16] Y 16'd0 // [15:0] }; endHere is the filter I applied in SignalTap: