Forum Discussion

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

Create SignalTapII List File

Hi Dear all;

when I capture my 8-bit digital output by Signaltap and right click in the white space and select the "Create signalTap II List File" a text file of data created but the problem is that the samples are created in binary(01010101) and i want them be in decimal mode, but all the options in Bus Display format is off!! and i couldn't choose the decimal mode. the question is does any one know how can i save the text file samples in decimal?

Thank you

8 Replies

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

    Why is that option off? I don't know how you can figure that out.

    I did a bit reverse engineering for you. I believe you can open the stp file in the text editor and change all occurrences of

    radix="hex"

    into

    radix="unsigned_dec"

    After the change, open the stp file again using SignalTap.

    Good luck.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks for your reply; another question I have is that:

    I implemented Sigma-Delta ADC on FPGA and my 8-bit digital output are @ 200 kS/s; However the input sampling frequency is 50MHz

    when I want to capture my 8-bit output by SignalTap, in signal configuration part, I was asked to enter the clk; The question is which value for clk should i choose?200Ks/s or 50 MHz?

    and when I captured the data the sample index start from -1024 to 7167 I wonder why it doesn't start from 0 to 8192? is it important? or I can consider the -1024 as first sample captured? the text file is as bellow

    Signal Legend:

    Key Signal Name

    0 = DATA[0]

    1 = DATA[1]

    2 = DATA[2]

    3 = DATA[3]

    4 = DATA[4]

    5 = DATA[5]

    6 = DATA[6]

    7 = DATA[7]

    Data Table:

    Signals-> 0 1 2 3 4 5 6 7

    sample

    -1024 1 1 0 0 0 1 0 0

    -1023 1 1 0 0 0 1 0 0

    -1022 1 1 0 0 0 1 0 0

    -1021 1 1 0 0 0 1 0 0

    -1020 1 1 0 0 0 1 0 0

    .

    .

    .

    7165 0 0 1 0 1 1 0 0

    7166 0 0 1 0 1 1 0 0

    7167 0 0 1 0 1 1 0 0

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

    --- Quote Start ---

    Thanks for your reply; another question I have is that:

    I implemented Sigma-Delta ADC on FPGA and my 8-bit digital output are @ 200 kS/s; However the input sampling frequency is 50MHz

    when I want to capture my 8-bit output by SignalTap, in signal configuration part, I was asked to enter the clk; The question is which value for clk should i choose?200Ks/s or 50 MHz?

    and when I captured the data the sample index start from -1024 to 7167 I wonder why it doesn't start from 0 to 8192? is it important? or I can consider the -1024 as first sample captured? the text file is as bellow

    Signal Legend:

    Key Signal Name

    0 = DATA[0]

    1 = DATA[1]

    2 = DATA[2]

    3 = DATA[3]

    4 = DATA[4]

    5 = DATA[5]

    6 = DATA[6]

    7 = DATA[7]

    Data Table:

    Signals-> 0 1 2 3 4 5 6 7

    sample

    -1024 1 1 0 0 0 1 0 0

    -1023 1 1 0 0 0 1 0 0

    -1022 1 1 0 0 0 1 0 0

    -1021 1 1 0 0 0 1 0 0

    -1020 1 1 0 0 0 1 0 0

    .

    .

    .

    7165 0 0 1 0 1 1 0 0

    7166 0 0 1 0 1 1 0 0

    7167 0 0 1 0 1 1 0 0

    Thank you

    --- Quote End ---

    I wouldn't worry about sample indices as it depends on trigger setup.

    If you have true 200KHz clock then use it otherwise you will have your values repeated many times on faster clock and you will need to pick up one sample from each repeated set.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    First, I think I know why you don't get to choose the radix in SignalTap, looking at your list file output. You need to select all your DATA and group them. Then, you can choose a radix on the group. You can collapse the group so that only the bus/group value shows up. I am not next to computer to verify that.

    Second, the sample index matches the tick value in the waveform viewer. 0 means the trigger position. negative value means the sample collected before trigger position. Each sample is collected upon posedge of your acquisition clock.

    Third, I agree with the previous reply. You most likely have a real 50MHz clock. You should use it for reliability. That said, you have a simple setup. It can work with generated clock too. You just have to do a proper timing closure on that. It can get tricky. If you are new to FPGA, it can be too much of an adventure.

    Forth, when you use 50MHz, you need to enable the storage qualifier feature. Choose "conditional", most likely. You need to define a condition that matches your 200K data output so that you'll only see the samples you care and filter out the idle data. I often add a counter as well to know how many clocks occurs between each sample, otherwise, there is just a dotted bar showing that two samples are not continuous. With that counter value, you can disable "record discontinuity" (something like that) so that your waveform is not cluttered by those dotted lines.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Dear guys; thanks for your help

    know I succeeded to capture my 8-bit data and evaluate them by SNR and ENOB;

    know I have a question that for an 8-bit ADC for low-speed industrial applications what is the accepted minimum ENOB for interested bandwidth?

    because for my integrated ADC that only use a sinc filter as filter/decimation stage, ENOB for lower frequencies starts from 6.4 and for highest frequency in the bandwidth is 4.9 are these values acceptable or must be improved?

    thank you;
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Not my domain. I have no advice. I think you may want to create a new post with a suitable title to get attention from people with the right domain knowledge.

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

    --- Quote Start ---

    Not my domain. I have no advice. I think you may want to create a new post with a suitable title to get attention from people with the right domain knowledge.

    --- Quote End ---

    that's right;

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

    Dear Kaz; hello

    know I succeeded to capture my 8-bit data and evaluate them by SNR and ENOB;

    know I have a question that for an 8-bit ADC for low-speed industrial applications what is the accepted minimum ENOB for interested bandwidth?

    because for my integrated ADC that only use a sinc filter as filter/decimation stage, ENOB for lower frequencies starts from 6.4 and for highest frequency in the bandwidth is 4.9 is these values acceptable or must be improved?

    thank you;

    p.s I sent this question to you in other forum and I resend it here as this thread is more new.

    Tnq.