To build the BCD seven segment decoder a PLD device was used. The device that was used for the program is a ATMEL ATF22V10B. The pin CLK is used for the clock if the flipflops inside is used and can be used as an input at all other times. the pin VCC is the +5v input ,pins 2-11 and pin 13 is the inputs ,also pins 14-23 is the outputs which can be fed back as inputs .The number 22 on the device is the outputs that can be used internally as extra inputs, and the number 10 represents outputs only. The device used is compatible with CMOS and TTL. As we can see from the enclosed data Sheet:
Task1 (a)
To program the ATMEL (PAL) programmable chip we used the software WinCupl. Next the software the programming language for the device was …show more content…
4 minimise for all the JK inputs using Karnaugh maps.
5 input logic expressions.
6 counter implementation
Step 1 / Produce a state diagram
As we can see from the state diagram the number of circles represents the number of states needed to count to 9, the information in the circles show the inputs (ABCD) and the numbers represents the logic applied to each input. The arrows show the direction of the count up between each change of state. The number sequence outside of the circles represents the logic levels at the outputs at any previous state waiting to go to the next state. From the state diagram and using flip flop truth and transition tables I have produced the state table.
Step 2 / Produce a state table
TABLE 2 state table
INPUTS PRESENT STATE INPUTS NEXT STATE FF1 FF1 FF2 FF2 FF3 FF3 FF4 FF4
A B C D A B C D JA KA JB KB JC KC JD KD
0 0 0 0 0 0 0 1 0 X 0 X 0 X 1 X
0 0 0 1 0 0 1 0 0 X 0 X 1 X X 1
0 0 1 0 0 0 1 1 0 X 0 X X 0 1 X
0 0 1 1 0 1 0 0 0 X 1 X X 1 X 1
0 1 0 0 0 1 0 1 0 X X 0 0 X 1 X
0 1 0 1 0 1 1 0 0 X X 0 1 X X 1
0 1 1 0 0 1 1 1 0 X X 0 X 0 1 X
0 1 1 1 1 0 0 0 1 X X 1 X 1 X 1
1 0 0 0 1 0 0 1 X 0 0 X 0 X 1 X
1 0 0 1 0 0 0 0 X 1 0 X 0 X X