Forum Discussion

PixelPusher's avatar
PixelPusher
Icon for New Contributor rankNew Contributor
1 hour ago

Is there any way to script the creation of a signal tap instance?

I have been trying to see if it is possible to create a signal tap instance using a scripted approach. For example, create an instance, add some signals from the design using wildcards, setup triggers etc. But I can't seem to find an API for this - does it exist?

I have seen that there are scripting APIs for interacting to an existing running signal tap instance, but that isn't what I'm looking for.

I could script the creation of a "signal tap logic analyser" IP instance and then instantiate that in HDL code in my design. However that seems quite heavy - adding it do different parts of the design becomes cumbersome and I don't want to keep them in my codebase.

The use case is I want to have a collection of debugging nodes that I can conditionally insert and quickly change the configuration of, without cluttering my main RTL.

Thanks!

1 Reply

  • sstrell's avatar
    sstrell
    Icon for Super Contributor rankSuper Contributor

    You may want to look at a block-based design approach, creating reusable design partitions that include Signal Tap instances.  There's a user guide all about doing this in Pro: 

    https://docs.altera.com/r/docs/683247/current