Forum Discussion

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

multiple constant drivers

i need help, can anyone help me which registers should be removed so that multiple constant driver error would be removed.

thanks

3 Replies

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

    What is the error you are getting exactly? (Quartus normally tells you which line or what signal name has the multiple driver error)

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

    the error is in the posedge clk for the counter. it says multiple constant driver error for counter, count_done and count_done1.

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

    You are assigning those registers in two different processes.

    These assignments should be made in a single 'always @' process, otherwise this would mean multiple drivers from the synthesizer's point of view.