Forum Discussion

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

Signaltap II

Hi!

I have two doubts.

I have a proyect and I have created a *.stp file.

I haven't used trigers conditions.

The problem is that I want to see the captured dates continously in a 10ms time.

and the windows in signaltap II only show 128 samples.

I use a 40MHz clock.

¿what I have to do to capture in the same windows or same log 10ms????

and the second doubt is:

¿can I capture two signals in signaltab in a vector in order to use them later with matlab????

many thanks in advance for your help.

14 Replies

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

    Thanks for every one.

    I will use triger conditions and alt_signaltap_run command in matlab!

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

    Hello,

    I am trying to import signaltap data into MATLAB. Every time I try to import data I get following error in MATLAB:

    " ??? One or more output arguments not assigned during call to

    "alt_signaltap_run"."

    I have my quartus project saved with folder name "My_project" within th bin directory of quartus. My .stp file name is "half_adder". Therefore when I want to import data into MATLAB, I type following command in MATLAB

    x = alt_signaltap_run('c:\altera\11.0\quartus\My_project\half_adder.stp', 'auto_signaltap_0').

    But it opens the help about alt_signaltap_run function and returns me above mentioned error.

    Please help me

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

    You have 2 errors:

    1.

    --- Quote Start ---

    \My_proje ct

    --- Quote End ---

    <--- no space needed

    2. Second parameter must be either 'signed' or 'unsigned', not Signaltap instance name.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you very much Andrew.

    I have got one new problem with my project.

    When ever I enable signaltap file with my project and try to recompile it, I get following errors:

    Error: MGL_INTERNAL_ERROR: File C:/Users/a7t0r/Desktop/My_Project/db/mux_gpc.tdf cannot be created. CAUSE : The file cannot be created. The file already exists, and is write-protected, or there is not enough space.

    Error: Can't elaborate inferred hierarchy "sld_signaltap:auto_signaltap_0|sld_signaltap_impl:sld_signaltap_body|altdpram:\stp_non_zero_ram_gen:attribute_mem_gen:attribute_mem|lpm_mux:mux"

    If I disable the signaltap file and then try to compile my project then it works properly.

    I would really appreciate your help.

    Thank you

    Gill