Forum Discussion

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

some procblem about delay

I have a 50M data stream, But I need it delay 32us matching with other signals. How can I do it?

Thank you very much

3 Replies

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

    At 50MHz, you need it to delay it by 1600 clock cycles, using a large shift register.

    Depending on the width of your data stream, that may require quite a bit of resources.

    I suggest you use the ALTSHIFT_TAPS function, so the shift register is implemented in RAM.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you very much! I think that is a way, however it require so much resources.

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

    --- Quote Start ---

    Thank you very much! I think that is a way, however it require so much resources.

    --- Quote End ---

    Yes. if its too many resources either:

    1. redesign your system so you dont need such a large delay

    2. get a bigger chip

    3. Use an external ram.