A CPLD based Calculator Multifunction Calculator Arithmetic Add
A CPLD based Calculator
Multi-function Calculator • • Arithmetic: Add, Sub Logic: AND, OR & NOT Accumulator based 2 digit numbers
Multi-function Calculator Components • • Xilinx Cool. Runner-II on the XC 2 -XL Development Board Digilent DIO 1 expansion board Digilent DBB breadboard Keypad http: //www. digilentinc. com/Products/Documentation. cfm? Nav 1=Products&Nav 2=Documentation
Digilent XC 2 XL Development Platform • A Xilinx Cool. Runner-II XC 2 C 256 CPLD in a TQ 144 package • A Xilinx XC 9572 XL CPLD in a VQ 44 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. 8432 MHz 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 XC 2 XL Development Platform C D C? D? B A Source: http: //www. digilentinc. com
Xilinx Cool. Runner-II XC 2 C 256 CPLD • 0. 18 micron CMOS CPLD • As fast as 5. 7 ns pin-to-pin delays • Multi-voltage I/O operation — 1. 5 V to 3. 3 V • 144 -pin TQFP with 118 user I/O http: //direct. xilinx. com/bvdocs/publications/ds 094. pdf
Digilent DIO 1 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/DIO 1 -rm. pdf
Digilent Breadboard. Connects to XC 2 XL Power rail uses 3. 3 V – can pull out red wire and attach your own external 5 V if needed Can be used as Passthrough connection between XC 2 -XL Development Board , DIO 1 boards http: //www. digilentinc. com/Data/Products/DBB 1 -rm. pdf board Can connects to DIO 1 board Wirewrap pins (useful for logic analyzer connection) Wire sockets to connect your breadboard logic
(A) Possible Configuration
(B) Possible Configuration
Pinouts An example of DIO 1/XC 95 is shown on my webpage. Modify this for your boards. http: //people. clarkson. edu/~khondker/xc 95108%20 pinouts. xls
- Slides: 11