CPLD: Complex programmable logic devices

From DP

Jump to: navigation , search
Project Summary
Name: CPLD: Complex programmable logic devices
Buy it: Get one for $15 at Seeed Studio
Price: $15
Status: Mature
Manufacturing: Shipping
Forum: CPLD: Complex programmable logic devices Forum
Xc9572-cpld-breakoutvib.jpg

Ever get stuck choosing the right logic chip combination or voltage level translator? Give up the hunt and create your own custom logic chip. CPLDs can give you the logic you need, with the pinout you want, while saving board space and board revisions.

Development boards from Dangerous Prototypes will help you build your first custom logic chip using simple schematic entry, Verilog, or VHDL.

  • XC9572XL or XC2C64A CPLDs
  • On-board power supply for core and pins
  • Selectable 3.3volt or external supply for pins (1.8volt to 3.3volt)
  • LEDs for output, push button for input
  • Easy to program with the Bus Pirate
  • Open source (CC-BY-SA)

CoolRunner-II and XC9572XL versions available for $15.

Contents

Downloads

Hardware

XC9500XL

Xc9572-cpld-breakoutvib.jpg

The Xilinx XC9500XL family has some of the cheapest and readily available CPLDs out there. Inputs are 5volt tolerant and they can be run from a single 3.3volt supply.

CoolRunnerII

Xc2c64a cpld breakout-vib.jpg

The CoolRunner-II family is newer than the XC9500XL, and has a few extra features like multiple IO voltage banks for voltage translation, internal pull-up resistors and pin keepers and a clock divider. Requires a 1.8volt core supply and a 1.2-3.3volt IO pin supply.

CPLD development tutorials

This tutorial shows how to use simple schematics to design the logic in a Xilinx CoolRunner-II or XC9500 CPLD.

Tutorial files:

The Bus Pirate XSVF player and a .bat file are included with every example. Modify the COM post and click to load.

Schematic entry

Verilog

VHDL

Plunify

Plunify is a cloud-based compiler for Xilinx and Altera chips. The CPLD examples are already loaded, all you have to do is sign up for a free account and copy the tutorial from the add IP tab. Unfortunately it no longer supports Xilinx chips.

ISE Webpack

Example devices

Schematic

VHDL

Verilog

Programming

Additional methods

Links

Verilog

Resources

License

  • Hardware: CC-BY-SA
  • CPLD demos projects: CC-0