element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum Cooler Runner CPLD
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 3 replies
  • Subscribers 462 subscribers
  • Views 657 views
  • Users 0 members are here
Related

Cooler Runner CPLD

gtrplyer16
gtrplyer16 over 10 years ago

So I am starting to mess with CPLD's more than I did in college and I wanted to write look up tables into the onboard memory of the cool runner. I am not sure how to go about doing this.My intent is to make a "poor man's" function generator. I want to make out the clock speed of the CPLD and use a lookup table to create my sine wave. I'm using the ISE Design Suite 14.7. Any help would be great.

  • Sign in to reply
  • Cancel
  • johnbeetem
    0 johnbeetem over 10 years ago

    I could be wrong, but as far as I know none of the Xilinx CoolRunner chips have look-up tables.  CoolRunner is a PAL or PLA architecture, so optimized for wide product terms rather than memory.  There are no distributed or block RAMs.  You can use CPLD macrocells for any purpose -- including ROMs -- but they don't implement ROMs efficiently and you'll run out quickly.

     

    You'd probably be better off with a small FPGA, such as the Lattice iCE40 series which have 4-input LUTs and 4096-bit block RAMs.  It has nice development board that's only US$21 in the USA: http://www.element14.com/community/docs/DOC-55683/l/lattice-semiconductor-ice40hx1k-stick-evn-icestick-evaluation-kit

     

    You might also get more response to this discussion if you (or an admin) moves it to the more appropriate http://www.element14.com/community/groups/fpga-group

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 10 years ago

    Tell us more about what you want to do and I can help a bit better. I've done some full blown function generators on FPGA and they absolutely eat up block memory. There is  a little Lattice board which comes with an external RAM you could use if you need low distortion or there are tricks. If you want anything fancy like sweeps you'll need an FPGA with on chip multipliers.  The ICE40 is nice butt a bit small for this work, one 18 x 18 bit multiplier uses half of the all the LUT/flip-flops on the chip.

    So  -

    roughly what spec have you for the function generator

    can you use any FPGA you like or must it be Xilinx or whatever (you can get free tools for X, A or L).

    have you selected a DAC for the output

    are you willing to breadboard/make pcb/solder etc

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gtrplyer16
    0 gtrplyer16 over 10 years ago in reply to johnbeetem

    Thank you very much for your reply and time. Like I said I am quite new with CPLD"s and not really sure if that was the best product to use. We used some IC chips (can't remember which at the time) to create a sine wave that we programmed the look up table into a chip and then buffered and filtered it to get a nice wave

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube