Forum Discussion
PixelPusher
New Contributor
2 months agoIs 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 trigger...
PixelPusher
New Contributor
2 months agoThanks for the suggestion.
I have looked at the user guide and example designs for block design with signal tap. Is this the flow you meant?
- Create a design partition around the piece of logic you want to debug
- Use the CREATE_PARTITION_BOUNDARY_PORTS qsf assignment to select ports you want to export, which could be nested deep in the partition hierarchy
- Connect signal tap:
- Create a signal tap instance in the UI and connect to the exported nodes OR
- Create a signal tap HDL instance and connect it to the ports of partition, then generate an stp file from `quartus_stp top --create_signaltap_hdl_file` ...
Or are you referring to creating signal tap instances within a separate design partitions to the logic you want to debug, and then conditionally including those design partitions?
I am trying to avoid using the GUI to create the signal tap files, because it's slow and harder to share with coworkers, recreate and source control etc. Perhaps there is a route forward with CREATE_PARTITION_BOUNDARY_PORTS alongside using the signal tap HDL instance. Is that a workflow you recommend?