Forum Discussion

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

what is the use of rClk[1..0]?

Hi all,

What does the rClk[1..0] do in the system? the rClk[1] value is not used in the DE2_D5M demos but the register is added by 1 every clock cycle. The rClk[0] is then inverted from 0 to 1 every clock cycle, what is the use of this?

Regards,

4 Replies

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

    A text search reveals, that rClk[0] is used in the design. rClk[1] isn't, simply ignore it, Quartus integrated synthesis will do, too.

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

    Thanks, I see. But why does the design need to add 1 bit to the register? It just inverts the high signal to low.

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

    Yes. The gate level logic is the same.

    As written, you have the option to generate a lower speed clock by connecting the output to rClk[1].