Académique Documents
Professionnel Documents
Culture Documents
CPLD
I. OBJECTIVES
II. SCOPE
A. Theory
Figure 8.1
Figure 8.2
3. DIP switch
Figure 8.4
Figure 8.5
5. LED
Figure 8.6
6. Stepper motor
Figure 8.7
Figure 8.8
8. Loudspeaker or buzzer
Figure 8.9
Figure 8.10
Figure 8.11
III. DEVICES
A. Pocedure
Figure 8.12
4. Save with any name. (It is recommended to create a new folder to save the
project)
5. Then click File => Project => Set Project to Current File.
6. Then click Assign => Device. Then choose the Device Family to MAX7000S.
Then in the Devices dialog box type: EPM7064SLC44-10. (This device name
will not be found below the Devices dialog box. To do so the user should type
the devices name then click OK. Then reopen Assign => Device, then the
device name will appears)
7. Then click Symbol => Enter Symbol. Then the following box will appear:
Figure 8.14
Figure 8.15
Figure 8.16
10. Then reclick Symbol => Enter Symbol. After exiting the dialog box, on the
Symbol Name box type: input, then ENTER. INPUT pin should be appear on
the graphic editor.
Figure 8.17
11. Then reinsert the input pins according to the total input pins. Then connect
those pins to the gates.
Digital System Guidance Computer Engineering Laboratory
Experiment 8 Page : 9 of 15
Figure 8.18
12. Then reclick Symbol => Enter Symbol. After exiting the dialog box, on the
Symbol Name box type: output to display the output pin, then press ENTER.
So there should be OUTPUT Pin on the graphic editor then connect every
output to the gates.
13. Then change the name of the every pins by double-clicking the PIN_NAME.
(The name of each pins cannot be same)
Figure 8.19
14. Then right click on the pin, then click Assign => Pin/Location/Chip.
15. Then a dialog box should appear. On the dialog box, click Pin and choose the
number of the pin connected to the DIP SWITCH (see the picture). Then
choose Pin Type to input. Then reclick Add. Do the similar for the output. For
the output, choose the pins connected to the LED.
Figure 8.21
16. Then compile the program by clicking File => Project => Save & Compile.
Figure 8.23
2. Right click on the box Name:. Then choose Enter Nodes from SNF.
3. Then click List and the nodes you have created will appear on the box Avaible
Nodes & Groups. Then click =>. Klik OK.
4. Then the following display will appear. To change the value, block the
segments then change the value on the left side.
Figure 8.25
To program the circuit that you have created to the device, do the following
steps.
1. Make sure that the parallel cable on your computer has been connected to the
FTP 3 Plus board.
2. Click MAX+plus II => Programmer.
3. Then the Hardware Setup dialog box will appear. Choose ByteBlaster(MV).
Click OK. (To open the Hardware Setup dialog box click Options =>
Hardware Setup)
Figure 8.27
5. Then a message showing the programming has been successfully done will
appear.
The points below should be explained and developed in the digital system final
reports. State at least 5 conclusions in the end of the final reports.
CPLD explanation
The differences between SPLD and CPLD
Steps to design a circuit
Steps to do the simulation
Do the simulation of the following circuits:
o Multiplexer
o Demultiplexer
o Decoder
o Half Adder
o Full Adder
o Full Subtractor