Forum Discussion
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
Honored 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 - Altera_Forum
Honored 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
Honored 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
Honored Contributor
Thanks for every one.
I will use triger conditions and alt_signaltap_run command in matlab! tanks!!!!! - Altera_Forum
Honored Contributor
I meant you can import data directly into MATLAB without using the QUARTUS for capture (you will need it to create the stp file).
look in the MATLAB help about the alt_signaltap_run command for more info. but as FvM said, you are limited by JTAG throughput (I have 1 Mbs in mind, but I'm not sure) , so you should better limit the data you need to transfer, use trigger conditions to "zoom in" on what intersts you. - Altera_Forum
Honored Contributor
1. The number of samples can be set to a power of two up to 128k, if you have sufficient on-chip memory available. You did neither tell the involved FPGA type nor the signal width, so we can't know the maximum setting. But SignalTap informs about the RAM utilisation, so you can set it to the maximum possible value.
2. 10ms at 40 MHz would mean 400k samples. This sample size isn't supported by SignalTap. Besides using a slower clock, you can also enable a storage qualifier to reduce the sample frequency. 3. A continuously sustained acquisition at a high sampling frequency is basically impossible due to the limited JTAG throughput. Even at slower speeds, it would require an interleaved sampling and JTAG transmission scheme, not supported by SignalTap as far as I know. - Altera_Forum
Honored Contributor
Thanks for your help. I think that I understand you.
But, do you know if there is another method with jtag connection to view a signal during "infinite" time in the same window?:( - Altera_Forum
Honored Contributor
If you have access to a logic analyser then you might be able to use that as they generally have larger sample depths but otherwise you will be constrained by the amount of ram you have available in your fpga.
- Altera_Forum
Honored Contributor
Hi Ben
Oks I will try to increase the sample depth but I what to know if I can use another tool or method to capture a signal during a long time and see it in a window?? Or is this imposible? - Altera_Forum
Honored Contributor
If you can't use a slower clock then you'll have to increase the sample depth though like I said I doubt you'll be able it enough to cover 10ms.