Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

CPLD input frequency upper limit

Status
Not open for further replies.

cesariv

Junior Member level 1
Joined
Mar 8, 2004
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
172
Which factors determine the maximum input frequency, that I can apply to a CPLD.

For a Xilinx CoolRunnerII, which is the maximum input frequency?
 

You can search it in the device datasheet.
 

Yes, but there are multiple specifications, what I want to know is, the relation beetwen input delays and max input frequency?
 

The max input frequency is determined by a few things, such as the combinational logic delay(level of logic), the chip itself (speed grade)., etc.
 

why delay is related to frequency?

the role of delay is only to postpone in time a signal without regarding its frequency, isn´t ?
 

Normally we design the FPGA or CPLD in synchronized way. In other words, we should buffer the data or the control signal. If the delay is larger than the cycle of the clock, the signal may be triggered in a wrong way. So the delay is very important to evalute the max freqency of the chip.
 

Suppose you have a device, connected to the CPLD input. The device, on a clock edge, output the data to the CPLD.

Now, that same clock is used by the CPLD. The CPLD must have time to process the data at input, and set the correct result at the input of it's output registers, *before* the next clock edge.

There's 2 main things involved here. First, when the first clock edge occur, and the device send the new data to the CPLD, there's a small delay between clock edge, and valid data. Next, there's a delay needed by the CPLD to evaluate those data, and produce correct result.

Only when the result is currectly evaluated, may the next clock edge occur (where those resulting data get shifted into the CPLD flip-flop).

So, the max clock frequency depend on
- The CPLD speed grade (how fast it can evaluate expressions, by it's logic block).
- The delay between clock edge and the time at which data is valid at CPLD input pins. This can be told to the synthesizer and P&R with parameters.

The output delay can also be specified, so the 'compiler' can minimize output delay to the next chip.

All of this affect the maximum frequency on the CPLD.
 

It also depends on your vhdl code !
for the same chip and same needed functions , different codes reflects on maximum frequency (i.e. using one clock edge or both and so on..)
This can be easily shown from the synthesis report
 

Yes, but there are multiple specifications, what I want to know is, the relation beetwen input delays and max input frequency?
 

There are multiple factors that decide your maximum frequency such as logic complexity, level of register, and the density of your design. In general, it is recommended to limit your logic density to 75% of the total LE. According to xilinx's datasheet, coolrunner 2 can go up to 333MHz. Anyway, don't think about you can make a 333MHz design using coolrunner 2. :)
 

you can refer to datasheet related.
 

i use the chip of epm7128slc84-15, and the clock is 250ns.
Its input trequency overstep its limit?
can i do it?
 

Vonn said:
It also depends on your vhdl code !
for the same chip and same needed functions , different codes reflects on maximum frequency (i.e. using one clock edge or both and so on..)
This can be easily shown from the synthesis report
Yes!
I have two design 64 bit up counter
1) 304,04 MHz clock (LPM function with Look-ahead approach to counter design)
2) 137,65 MHz clock (LPM function only)

Altera EPM240T100C3
 

Hi,

I'm kind of newbie to this but if you have a schematic or a vhdl code, after simulation the (let's say Xilinx Foundation) software will tell the maximum frequency and a lot of other delays...

Cheers !
 

upper frequency is determined by many factors.
1 system complexity.
2 program techniques.
3 chip performance.
4 application occasion.
etc.
 

the upper frequency is deterimed by key transport path. why? because, if you input new data but old data has not been sent out, so in some palce the time relation does not meet. To increase your upper frequency you can use pipeline.
 

Vonn said:
It also depends on your vhdl code !
for the same chip and same needed functions , different codes reflects on maximum frequency (i.e. using one clock edge or both and so on..)
This can be easily shown from the synthesis report
how to improve the maximum frequency?
first,through change the route to reduce the delay
second,reduce the inputs of the combination logic
circuit(because the basic structure of fpga is lut,it
has 4 inputs.if we use lots of inputs,it will bring
cascade delay.)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top