Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

FPGA or CPLD?

Altera_Forum
Honored Contributor II
1,969 Views

We have a design that we would like to fit in a CPLD or FPGA, we have extremely limited experience with both technologies, and need help to determine which technology and which part in the particular technology would be suitable. I have attached block diagrams to accompany the following description, the block diagram show two possible ways of implementing what we need.  

 

What we need to implement in the CPLD or FPGA is: 

 

16 counters of 18 bits each that can count at a rate of 1 MHz. 

Logic to provide a serial bus to read the 16 counters. 

The ability to read the previous counter results while new counting is occurring, (i.e. latches). 

We need a very small package (footprint) 

And as low power as is possible. 

The attached pdf will give more insight to the requirement. 

 

Your assistance is appreciated.:confused:
0 Kudos
8 Replies
Altera_Forum
Honored Contributor II
1,243 Views

you can try and synthesize directly in a cpld (many to choose from) to see how it fits. I believe a small cpld will do.

0 Kudos
Altera_Forum
Honored Contributor II
1,243 Views

when you do the synthesis do you have to select the device first or can you synthesize the design and have the tool recommend parts that the design will fit in?

0 Kudos
Altera_Forum
Honored Contributor II
1,243 Views

I will start with smallest.  

The tool does give you options but I haven't checked that
0 Kudos
Altera_Forum
Honored Contributor II
1,243 Views

notice also with cpld you don't need additional programming device (or flash) to hold the bit stream

0 Kudos
Altera_Forum
Honored Contributor II
1,243 Views

Hi Kaz, 

 

thank you for responding to my post, I appreciate it. How would I estimate the power consumption of the operating CPLD?
0 Kudos
Altera_Forum
Honored Contributor II
1,243 Views

 

--- Quote Start ---  

Hi Kaz, 

 

thank you for responding to my post, I appreciate it. How would I estimate the power consumption of the operating CPLD? 

--- Quote End ---  

 

 

There is a tool "Power play power analysis" under processing menu. 

It requires you first compile then run the tool either on a percent toggle rate or actual simulation data. The toggle rate may be enough if you enter the average. 

clock is taken as 200%, half clock as 100%, 1/4 clock is 50% and so on. Each counter bit can thus be estimated then all averaged.
0 Kudos
Altera_Forum
Honored Contributor II
1,243 Views

actually the default toggle rate of 12.5% is that of a 16 bit counter. 

 

here is altera help: 

Enter the average percentage of logic toggling on each clock cycle. The toggle percentage ranges 

from 0 to 100%. Typically, the toggle percentage is 12.5%, which is the toggle percentage of a 

16-bit counter. To ensure you do not underestimate the toggle percentage, you can use a higher 

toggle percentage. Most logic only toggles infrequently, and hence toggle rates of less than 50% 

are more realistic
0 Kudos
Altera_Forum
Honored Contributor II
1,243 Views

Hi, 

 

You can use a MAX3000A if you absolutely need 5v compatible I/O. Otherwise you can go with MAX II or MAX V. Pick the largest size part when you do the design setup in Quartus II (free web edition). After compilation you can see the percentage of resources used. You can change the project to a smaller device in the project settings (without recreating the project). Altera also just came out with MAX10 fpga (single chip solution). They are not as inexpensive as the older MAX devices though.  

 

I think the older MAX3000A is not supported in the latest version of Quartus II (v14 or v14.1) so stay with v13 or so. I dunno about the MAX II or V because I've never used them. 

 

I hope that helps.
0 Kudos
Reply