Forum Discussion

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

Scaling core clock of 100MHz to 23MHz & 20MHz

Hello All,

I am using Altera Stratix II for my project. I have generated a PLL in

LVDs mode(for a deserialization factor of 10 and date rates is 1000Mbps). The two available

clock sources on the board are 100MHz and 62.5MHz. I need to generate 23MHz and 20MHz

MHz clocks for a module in my project.

When I try to generate a PLL in LVDs mode in Mega Core Wizard, by

default it selects a FAST PLL and the minimum output frequency is

33.3333MHz.

Can I use any other logic and generate a 23MHz and 20MHz clock from 100MHz

core clock. Can any one of you suggest a solution to this problem.

Many thanks in advance,

34 Replies

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

    I think, it's different to say, the bit alignment is shifting (as you reported yesterday) or it's not working. The former means, it has been initially succesful but the alignment is unstable, the latter no alignment could be achieved. Tracing the alignment procedure with SignalTap, you should be able to reval what's actually going on.

    As an additional remark, if a PLL looses lock, an areset is neccessary to restore the phase relation of outputs, this surely also apllies to LVDS transmitter/receiver PLL and DPA circuit. So it's necessary that the upstream clock supply has stabilized before performing DPA and bit alignment.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I am using a 2 Stratix II module board. The data transfer works perfectly in one direction DUT1 to DUT2(with asserting and deasserting rx_channel_data_align with the help of a State Machine ). But, when i repeat the same procedure from DUT2 to DUT1 it dosent work. I mean the bit shifting is dynamic.

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

    Hi,

    Can i please know, what kind of error detection and correction pattern have u used in ur design?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Don't think that the pattern matters much, as long as it's unequivocal. Four a four channel deserialisation, I used 0011.