Forum Discussion

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

error occurs when i changed my FPGA

first, i used the Cyclone, my program ran correctly.

then, i changed it to Cyclone IV, then the error occurs.

some controlling order in my program is wrong, i have not changed my program.

so , what's the matter?

someone can help me?

9 Replies

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

    of course. Cyclone (I) and Cyclone IV are different devices (obviously).

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

    --- Quote Start ---

    what error?

    --- Quote End ---

    My program control different periphery devices, such as valves, stepmotors.

    when i changed my FPGA, the control signals are not correct, so these periphery devices can't work Normally.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    of course. Cyclone (I) and Cyclone IV are different devices (obviously).

    --- Quote End ---

    i konw, but i changed the setup(device) in Quartus. So, the program should ran correctly.(i have tested an easy demo, and it run correctly in Cyclone IV)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    when you changed the device, there should be a warning saying that your pin assignments will be gone.

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

    --- Quote Start ---

    when you changed the device, there should be a warning saying that your pin assignments will be gone.

    --- Quote End ---

    i changed, of course.

    the problem is solved!!!

    i changed my program in some details.

    the error occurs in one of a state machines, but i can't talk it more detailed because of keeping secrets for my boss.

    i still don't know there are differences when the same program runs in different FPGAs. can you give me some advice?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Yes, the first thing I would check is the pin assignments.

    --- Quote End ---

    i changed, of course.

    the problem is solved!!!

    i changed my program in some details.

    the error occurs in one of a state machines, but i can't talk it more detailed because of keeping secrets for my boss.

    i still don't know there are differences when the same program runs in different FPGAs. can you give me some advice?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    From Cyclone to Cyclone IV there are differences in the PLLs, the memory components, some I/O features, timing and of course the pins. All of those can cause errors.