Forum Discussion

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

help please......frequency divider

how to convert 25Mhz to 1hz,2hz till 10 hz....?

and use level select to select the frequency..this is the detail:

level 1-10 will select to frequency 1Hz to 10Hz..

i just can do till 1 Hz only but still dont know whether its correct or not....:(

tq....

12 Replies

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

    im trying to understand the code...when i put reset to low no result,but when i put high there is a change in the ouput waveform..but didint really divide the frequency...

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

    There might be problem in this code (possibly typing error) since the process is active only when reset = '1'.

    add else after it:

    if reset = '1' then

    ....

    ....

    else