Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- Hi members. 2. I want to insert signal tap into my design using script. I found how to insert stp file to the tcl script. But still don't know how to make stp file itself. --- Quote End --- When I look into a few example .stp files, they look like they're following some simple XML format. Probably you can write your script to generate it that way. Of course, be careful when specifying the net names (try and manually generate an stp first to know the exact format, before generating it using a script). It gets tricky when the stp includes an "embedded sof" (<embedded_sof_file/> tags) though. Think you could open your SOF with a text/hex editor and copy/paste it into the stp manually, provided you have only one SOF to play around with. With multiple sofs, it get a bit more complicated (your script will need to do file I/Os to read each of the SOFs, and place that data into the generated STP).