Forum Discussion

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

creating .pof file

Hi all,

I am using a CycloneIII FPGA. When I compile my design, only a .sof file is created but not a .pof file. What should I configure in order to create a .pof file (for Active Serial Programming)?

Thanks,

Dvido

16 Replies

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

    The strange behavior is that it didn't work and then suddenly it started working.

    gpio14 is coming from another FPGA with a very low frequency, there shouldn't be any timing issue since I don't use the clock for that process.

    I ran it now for a few times and it works fine.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    The strange behavior is that it didn't work and then suddenly it started working.

    gpio14 is coming from another FPGA with a very low frequency, there shouldn't be any timing issue since I don't use the clock for that process.

    I ran it now for a few times and it works fine.

    --- Quote End ---

    Hi,

    but you use the gpio14 as a clock ! (gpio14'event and gpio14 = '1'). If you use signals generated in this block in a block with a different clock

    your design will not work stable. BTW did you connect yor reset signal ?

    Kind regards

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

    Hi,

    I use the start_handshake_fsm signal only as a flag for another process. Though the other process uses another clock, it doesn't matter. As I said now its working.

    I did connect the reset signal.

    Might be that the FPGA was "stuck" and when I switched the power off for the night it fixed it?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Hi,

    I use the start_handshake_fsm signal only as a flag for another process. Though the other process uses another clock, it doesn't matter. As I said now its working.

    I did connect the reset signal.

    Might be that the FPGA was "stuck" and when I switched the power off for the night it fixed it?

    --- Quote End ---

    Hi,

    how did you synchronize your handshake signal in the other clock domain, in order to prevent metastability ? That could be the reason why your design is stuck .

    Kind regards

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

    Hi,

    I put an if condition on the other process:

    if (rising_edge(clk) and start_handshake_fsm = '1') then....

    is that a problem?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Hi,

    I put an if condition on the other process:

    if (rising_edge(clk) and start_handshake_fsm = '1') then....

    is that a problem?

    --- Quote End ---

    Hi,

    this could be a problem. I assume that "clk" is much faster then the gpio signal.

    In this case you should latch the handshake signal with two registers in a row clocked by "clk". For more info's look:

    http://www.fpga4fun.com/crossclockdomain1.html

    Kind regards

    GPK