Forum Discussion

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

Differential clock outputs from Cyclone II - How to assign

Is there a way (using Quartus) to output a differential clock from a Cyclone II PLL without getting the "Warning: ... Use PLL dedicated clock outputs to ensure jitter performance" message?

I have assigned the two pins for output to the adjacent PLLn_OUTp and PLLn_OUTn pins. Connecting these pins to the PLL "c0" output, with an inverter on one, results in the usual warning for the inverted pin. Examining the floorplan shows that the inverted signal is routed clear across the chip, and then back.

The ALTIOBUF_OUT megafunction is grayed out in the megawizard (not applicable to Cyclone II?). ALTOUTBUF_DIFF is not grayed out, but generates an error (not allowed for this device type).

There ought to be a way....

Thanks!

Carl

6 Replies

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

    Use ddr_out to drive the clock signals out, you can use any two IO pins although it is recommended to use a 'differential' pair.

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

    Thanks for the responses:

    josyb: Where can I find the ddr_out function/block/primitive ?

    fvm: I eventually found a more complete reply from you in another thread.

    "Select a differential pin pair and assign a differential I/O standard to the positive pin in the Pin Planner or Assignment Editor. the negative pin is assigned by quartus automaticly." - That did the trick!

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

    Carl,

    you create a ddr_out block with the MegaWizard PlugIn Manager, select ALTDDR_OUT in the 'IO' section.

    Driving the clocks out via ddr_out is useful when you are sending the clock along with DDR output data e.g. driving a RTBI (Reduced Ten Bit Interface) as found on some gigabit transceivers. This will keep your clock nicely aligned with the DDR data as then all signals have equal output circuits.

    I guess you can do this also with true differential signals, e.g. LVDS (I haven't done/tried this yet).
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Carl,

    you create a ddr_out block with the MegaWizard PlugIn Manager, select ALTDDR_OUT in the 'IO' section.

    --- Quote End ---

    Hmmm. Maybe there's an issue of allowed devices or Quartus rev?: I'm using Cyclone II and Quartus 9.1sp1. There is no ALTDDR_OUT in the Megawizard, or in Help.

    Thanks anyway. The method given by FvM suits my purposes for now.

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

    Carl,

    you can find the ALTDDR_OUT under the I/O section in the MegaWizard, but you can also instantiate it directly. Although I was sure I did verify this with Quartus II 10.0 speciifcally for Cyclone II but I've certainly used it with almost all previous versions.