Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

[SignalTap] -> how to merge SignalTap files?

Hi All,

Is it possible to merge several SignalTap files together (Quartus can load a single STP file only)?

When I disable an instance in the SignalTap file before the compilation, will this logic be not implemented (removed from SignalTap)?

Thank you!

7 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    No, the files can't be merged, but you can have multiple instances in a single file.

    How are you disabling a single instance? I don't recall that option. The whole .stp file is either enabled or it's not, unless you're talking about manual instantiation.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Here is how to enable/disable an instance in the STP:

    ----------------------------------------------------------------------

    https://alteraforum.com/forum/attachment.php?attachmentid=14979&stc=1

    ----------------------------------------------------------------------

    So, if I disable one of the instances before the compilation, will the instance be not implemented at all? Will I not be able to use it after the compilation?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Forgot about that.

    I would guess that the instance would not be compiled into the design. It doesn't make sense to have an enabled checkbox like that and change it after compilation.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    We are several engineers in the project, each one prepares its own STP for the modules/entities...

    The problem is in the integration... We should compile the same project with different STP to enable debugiing different units... It's a headach...

    Is there no way to manage several STP in the same project? Are you sure there is no way to merge STPs?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    There can only be one .stp file for a project revision. The only thing you can do is use manual Signal Tap instantiation instead of adding instances in the single .stp file. However, this means that you have to manually connect each Signal Tap instance to the signals you want to use for monitoring/triggering in your HDL code instead of in the .stp file GUI.

    The only other thing I can think of is use project revisions. Each revision has its own .qsf file and each .qsf file can point to a different .stp file.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The effect of instance enable checkbox (only available in newer Quartus versions) can be clarified within one minute by a short test. I'm sure you have found out in the meantime.

    --- Quote Start ---

    Are you sure there is no way to merge STPs?

    --- Quote End ---

    There's apparently no supported way. But it's surely possible by manipulating Signaltap XML files.
  • stpguru's avatar
    stpguru
    Icon for New Contributor rankNew Contributor

    Yes, it is possible to manipulate Signaltap XML files to do what's asked.

    Example command line: quartus_py merge_stp_files.txt --merged_stp_file=out.stp a.stp b.stp

    (.txt is .py. This forum site doesn't allow me to upload .py file.)