Forum Discussion

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

Logic Reset Input at Cyclone IV FPGA

Hello, i am designig a board with a cyclone IV FPGA that will have an exteran switch to reset the logic. Is there any advantage on using a dedicated clock pin for such task? I am considering that as i supose i could make use of the clock network to enable a better signal distribution.

Best regards,

LR

1 Reply

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

    Using a dedicated input pin was an important consideration on older generation FPGA families. Its less of an issue now since fabric signals can drive the global clock networks.

    I've often seen the DEV_CLRn pin used, so that if the end-user wants, they can use that pin for the device wide reset (which does not show up in your top-level entity port list).

    However, given that you should always synchronize the reset to each clock domain in your design (asynchronous assertion, synchronous deassertion) there is no advantage to using any particular pin on the FPGA.

    I recommend you route the push-button signal through a reset supervisor IC. That IC will 'debounce' the push-button and ensure your logic sees one transition on the reset.

    I also like to route the CONF_DONE signal to the reset supervisor, so that reset is asserted each time the FPGA configures, eg., see p95

    http://www.ovro.caltech.edu/~dwh/carma_board/gda06rb004_carma_v0.87_dec03.pdf

    Cheers,

    Dave