Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17054 Discussions

Preserving Unconnected Nets for Signal Tap

Altera_Forum
Honored Contributor II
2,934 Views

Is there any way of preserving nets that are unconnected to anything other than signal tap? I want to add a counter to monitor another signal that has no other purpose other than viewing in ST.

0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
1,089 Views

I believe that component out ports are always available to be connected to signal tap. Even if the port is not connected. 

If you add a counter as a component to your design I believe the count output should be available to signal tap. 

 

Steve
0 Kudos
Altera_Forum
Honored Contributor II
1,089 Views

From the assignment editor add the assignment "Preserve Fan-out Free Register Node" to the signal you want to preserve. 

 

Hope this helps
0 Kudos
Altera_Forum
Honored Contributor II
1,089 Views

That does not work in practice. 

After doing what you suggest in the assignment editor, and rerunning synth&elab, the reg is still not available in Node Finder under any of the Signaltap II filters. It is only available under the post-synthesis filter. 

 

Likewise for when adding /* synthesis syn_noprune */ directive. 

 

Does this capability actually work, or is it just in the manuals?
0 Kudos
Altera_Forum
Honored Contributor II
1,089 Views

 

--- Quote Start ---  

That does not work in practice. 

After doing what you suggest in the assignment editor, and rerunning synth&elab, the reg is still not available in Node Finder under any of the Signaltap II filters. It is only available under the post-synthesis filter. 

 

Likewise for when adding /* synthesis syn_noprune */ directive. 

 

Does this capability actually work, or is it just in the manuals? 

--- Quote End ---  

 

 

 

Ive had it working fine. 

In VHDL - best way to do it is to do this: 

 

noprune VHDL Synthesis Attribute signal reg1: stdlogic; attribute noprune: boolean; attribute noprune of reg1: signal is true;
0 Kudos
Altera_Forum
Honored Contributor II
1,089 Views

The attribute no prune works for sure but there is a second way to do it. 

 

If you put signaltap in pre-synthesis mode (after you've done an elaboration) you will be able to selected fanless ouput signals. This has the advantage that if signaltap is not instantiated the node will be synthesised away and wont waste cells and you don't need to do special attribute tricks. 

 

Eg 

entity 

port 

usefull1 

... 

debug_out1 --> unconnected --> connect it to stp if you need it: 

 

Hopefully helpfull
0 Kudos
Altera_Forum
Honored Contributor II
1,089 Views

I have found using the noprune attribute in VHDL doesn't work. However, as the previous post indicates, elaborate the design, then use Signal Tap to add the fanless registers with the pre-synthesis option in SignalTap; then recompile the design, and the fanless registers will be preserved. I have found that this works. -James

0 Kudos
Reply