110 likes | 403 Views
A CPLD based Calculator. Multi-function Calculator. Arithmetic: Add, Sub Logic: AND, OR & NOT Accumulator based 2 digit numbers. Multi-function Calculator Components. Xilinx CoolRunner-II on the XC2-XL Development Board Digilent DIO1 expansion board Digilent DBB breadboard Keypad.
E N D
Multi-function Calculator • Arithmetic: Add, Sub • Logic: AND, OR & NOT • Accumulator based • 2 digit numbers
Multi-function Calculator Components • Xilinx CoolRunner-II on the XC2-XL Development Board • Digilent DIO1 expansion board • Digilent DBB breadboard • Keypad http://www.digilentinc.com/Products/Documentation.cfm?Nav1=Products&Nav2=Documentation
Digilent XC2XL Development Platform • A Xilinx CoolRunner-II XC2C256 CPLD in a TQ144 package • A Xilinx XC9572XL CPLD in a VQ44 package • JTAG ports to both CPLDs that can be independently enabled or disabled; • Flexible power delivery using a wall-plug transformer, batteries, or external supplies; • A socketed oscillator (1.8432MHz included. Clocks up to 100+MHz can be used); • Full routing of all I/O signals from both CPLDs to expansion connectors; • A button and two LEDs for basic I/O • Non-volatility – as with all Xilinx CPLDs, designs remain after power is removed.
Digilent XC2XL Development Platform C D C ? D ? B A Source: http://www.digilentinc.com
Xilinx CoolRunner-II XC2C256 CPLD • 0.18 micron CMOS CPLD • As fast as 5.7 ns pin-to-pin delays • Multi-voltage I/O operation — 1.5V to 3.3V • 144-pin TQFP with 118 user I/O http://direct.xilinx.com/bvdocs/publications/ds094.pdf
Digilent DIO1 I/O Board • Connects via headers to other Digilent boards • To be used in this lab: • 4 7-segment displays • Useful in debugging: • 8 LEDs • 8 SPST switches • 5 “bouncing” buttons http://www.digilentinc.com/Data/Products/DIO1/DIO1-rm.pdf
Digilent Breadboard Wirewrap pins (useful forlogic analyzer connection) Connects to XC2XL board • Power rail uses 3.3V – can pull out red wire and attach your own external 5V if needed • Can be used as Pass-through connection between XC2-XL Development Board , DIO1 boards Wire sockets to connect your breadboard logic Can connects to DIO1 board http://www.digilentinc.com/Data/Products/DBB1/DBB1-rm.pdf
Pinouts • An example of DIO1/XC95 is shown on my webpage. Modify this for your boards. http://people.clarkson.edu/~khondker/xc95108%20pinouts.xls