Presentation is loading. Please wait.

Presentation is loading. Please wait.

Truth Tables & PLACE Switching & Logic Laboratory.

Similar presentations


Presentation on theme: "Truth Tables & PLACE Switching & Logic Laboratory."— Presentation transcript:

1 Truth Tables & PLACE Switching & Logic Laboratory

2 Overview Interface Truth Tables JED file

3 Pre Laboratory 1 Get out K-maps and equation Show K-maps and equations to laboratory assistant. If process not complete, leave laboratory at end of slides and complete at table in hall for 10 point penalty Else continue with task 1.

4 PEEL Interface System D0 D1 D2 D3 DP SegG SegF SegE SegD SegC SegB SegA V0 V1 V2 V3 + 5 V 0101 Clock Vector 1.0 PEEL On Daughter Board myPEEL 7-Segment Display On Daughter Board

5 Option 1 Input Output 0000 11111100 0001 01100000 0010 11011010... 1111 00000000 1 = on and 0 = off 0 = on and 1 = off

6 Option 2 Input Output 0000 00000011 0001 10011111 0010 00100101... 1111 11111111 0 = on and 1 = off

7 Enter Truth Table Data TRUTH_TABLE FUNCTIONS ( I1 I0 -> O3 O2 O1 O0) 0 0 -> 0 1 1 0 0 1 -> 1 1 0 1 1 0 -> 0 0 0 1 1 1 -> 1 1 1 0 END;

8 Seven Segment Display Codes 0000 0001 0010 0011 0100 0101 0110 0111 1000 10010 1010 1011 1100 1101 1110 1111 AGDAGD BCBC FEFE

9 Demonstrate WinPLACE andWinPLACE Truth Tables here.

10 Sequence Select 18CV8 device Title, Name, Date, and Description Label pins Allocate truth table header Enter table data Compiler truth table Simulate, check results, append vectors Program PEEL and verify design by exercising

11 Task 2 RED file contains reduced eaquation version of PSF file Equations SEGA.COM = !D0 & !D2 # D0 & !D1 & D3 # !D1 & !D2 & D3 # D1 & !D3 # D0 & D2 & !D3;

12 PEEL Column & Row Layout Column 0toColumn 35 Row 0 to Row7 PEELs used column and row notation for each fuse. Note fuse at each intersection. Column 12, Row 4

13 Linear Array Layout of JED File L0000 0 35 0123456701234567 L0035 L0036 = 1*36+0 L0071 = 1*36+35 L0287 = 7*36+35 = 287

14 Col-Row to/from Linear Array Column & Row to Linear Array L = Row*36 + Column L = 17*36 + 21 = L0633 Linear Array to Coumn & Row Row = L/36 Column = L%36 Row = 633/36 = 17.5833 = 17 Colum = 633%36 = 0.5833*36 = 21

15 Pin 17 Linear Address Range 000000000011111111112222222222333333 012345678901234567890123456789012345 19 18 17 16 5 4 1 3 2 17 18 19 20 21 22 23 CLK D0 D1 D2 D3 SEGF 16*36+0 = L0576 23*36+35 = L0863

16 File format - Task 3 Comment Pins Fuses Default Note Location & Logic

17 File format - Task 3 L0000 1111 1011 0111 0111 0111 1111 1111 1111 1111 * N Output Pin 19* p1 p11 p2 p19 p3 p18 p4 p17 p5 p16 p6 p15 p7 p14 p8 p13 p9p12 Pn Pn Result 1 1 1 1 0 Pn 0 1 Pn 0 0 0 = Pn Pn p19 = !p2p3p4p5 or DP = !D0D1D2D3 1 = Blown 0 = Not Blown

18 Big Picture -- Task 4 0 0 0 0 1 1 1 1 1 1 0 0 SEGF = !D0 & !D1 & D2 & D3 # D0 & D1 & !D2 & D3 # !D0 & D1 & !D2 & D3 # D0 & !D1 & !D2 & D3 # !D0 & !D1 & !D2 & D3 # !D0 & D1 & D2 & !D3 # D0 & !D1 & D2 & !D3 # !D0 & !D1 & D2 & !D3 # !D0 & !D1 & !D2 & !D3; SEGG = D0 & !D1 & D2 & D3 # D0 & D1 & !D2 & D3 # !D0 & D1 & !D2 & D3 # D0 & !D1 & !D2 & D3 # !D0 & !D1 & !D2 & D3 # !D0 & D1 & D2 & !D3 # D0 & !D1 & D2 & !D3 # !D0 & !D1 & D2 & !D3 # D0 & D1 & !D2 & !D3 # !D0 & D1 & !D2 & !D3; DP = !D0 & D1 & D2 & D3; SEGA= !D0 & !D1 & D2 & D3 # !D0 & D1 & !D2 & D3 # D0 & !D1 & !D2 & D3 # !D0 & !D1 & !D2 & D3 # D0 & D1 & D2 & !D3 # !D0 & D1 & D2 & !D3 # D0 & !D1 & D2 & !D3 # D0 & D1 & !D2 & !D3 # !D0 & D1 & !D2 & !D3 # !D0 & !D1 & !D2 & !D3; Task 1 Task 4

19 Big Picture Continued TRUTH_TABLE SEVSEG D3 D2 D1 D0 SEGA SEGB SEGC SEGD SEGE SEGF DP 0 0 0 0 0 0.PSF SEGA = !D0&D1&D2&D3#.RED L0000 111010…11*.JED SEGA = !D0*D1*D2*D3+.PSF BP-1400 Task 1 Task 4


Download ppt "Truth Tables & PLACE Switching & Logic Laboratory."

Similar presentations


Ads by Google