1 ee365 documentation standards programmable logic devices decoders
Post on 19-Dec-2015
226 views
TRANSCRIPT
![Page 1: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/1.jpg)
1
EE365
Documentation StandardsProgrammable Logic Devices
Decoders
![Page 2: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/2.jpg)
2
Documentation Standards
• Block diagrams– first step in hierarchical design
• Schematic diagrams• HDL programs (ABEL, Verilog, VHDL)• Timing diagrams• Circuit descriptions
![Page 3: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/3.jpg)
3
Block Diagram
![Page 4: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/4.jpg)
4
Schematic diagrams
• Details of component inputs, outputs, and interconnections
• Reference designators• Pin numbers• Title blocks• Names for all signals• Page-to-page connectors
![Page 5: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/5.jpg)
5
Example schematic
![Page 6: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/6.jpg)
6
Flat schematic structure
![Page 7: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/7.jpg)
7
Hierarchichal schematic structure
![Page 8: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/8.jpg)
8
Other Documentation
• Timing diagrams– Output from simulator– Specialized timing-diagram drawing tools
• Circuit descriptions– Text (word processing)– Can be as big as a book (e.g., typical Cisco ASIC
descriptions)– Typically incorporate other elements (block
diagrams, timing diagrams, etc.)
![Page 9: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/9.jpg)
9
Gate symbols
![Page 10: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/10.jpg)
10
DeMorgan equivalent symbols
Which symbol to use?
Answer depends on signal names and active levels.
![Page 11: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/11.jpg)
11
Signal names and active levels
• Signal names are chosen to be descriptive.• Active levels -- HIGH or LOW
– named condition or action occurs in either the HIGH or the LOW state, according to the active-level designation in the name.
![Page 12: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/12.jpg)
12
Example
LogicCircuit
HIGH when error occurs
ERROR
LogicCircuit
LOW when error occurs
ERROR_L ERROR
ERROR1_L
![Page 13: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/13.jpg)
13
Programmable Logic Arrays (PLAs)
• Any combinational logic function can be realized as a sum of products.
• Idea: Build a large AND-OR array with lots of inputs and product terms, and programmable connections.– n inputs
• AND gates have 2n inputs -- true and complement of each variable.
–m outputs, driven by large OR gates• Each AND gate is programmably connected to each
output’s OR gate.
– p AND gates (p<<2n)
![Page 14: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/14.jpg)
14
Example: 4x3 PLA, 6 product terms
![Page 15: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/15.jpg)
15
Compact representation
• Actually, closer to physical layout (“wired logic”).
![Page 16: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/16.jpg)
16
Some product terms
![Page 17: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/17.jpg)
17
PLA Electrical Design
• See Section 5.3.5 -- wired-AND logic
![Page 18: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/18.jpg)
18
Programmable Array Logic (PALs)
• How beneficial is product sharing?– Not enough to justify the extra AND array
• PALs ==> fixed OR array– Each AND gate is permanently connected to a
certain OR gate.
• Example: PAL16L8
![Page 19: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/19.jpg)
19
• 10 primary inputs• 8 outputs, with 7 ANDs per
output• 1 AND for 3-state enable• 6 outputs available as
inputs– more inputs, at expense of
outputs– two-pass logic, helper terms
• Note inversion on outputs– output is complement of
sum-of-products– newer PALs have selectable
inversion
![Page 20: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/20.jpg)
20
Designing with PALs
• Compare number of inputs and outputs of the problem with available resources in the PAL.
• Write equations for each output using ABEL.• Compile the ABEL program, determine
whether minimimized equations fit in the available AND terms.
• If no fit, try modifying equations or providing “helper” terms.
![Page 21: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/21.jpg)
21
Decoders
• General decoder structure
• Typically n inputs, 2n outputs– 2-to-4, 3-to-8, 4-to-16, etc.
![Page 22: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/22.jpg)
22
Binary 2-to-4 decoder
Note “x” (don’t care) notation.
![Page 23: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/23.jpg)
23
2-to-4-decoder logic diagram
![Page 24: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/24.jpg)
24
MSI 2-to-4 decoder
• Input buffering (less load)• NAND gates (faster)
![Page 25: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/25.jpg)
25
Decoder Symbol
![Page 26: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/26.jpg)
26
Complete 74x139 Decoder
![Page 27: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/27.jpg)
27
More decoder symbols
![Page 28: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/28.jpg)
28
3-to-8 decoder
![Page 29: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/29.jpg)
29
74x138 3-to-8-decoder symbol
![Page 30: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/30.jpg)
30
Decoder cascading
4-to-16 decoder
![Page 31: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/31.jpg)
31
More cascading
5-to-32 decoder
![Page 32: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/32.jpg)
32
Decoder applications
• Microprocessor memory systems– selecting different banks of memory
• Microprocessor input/output systems– selecting different devices
• Microprocessor instruction decoding– enabling different functional units
• Memory chips– enabling different rows of memory depending on
address
• Lots of other applications
![Page 33: 1 EE365 Documentation Standards Programmable Logic Devices Decoders](https://reader036.vdocument.in/reader036/viewer/2022062313/56649d3a5503460f94a14583/html5/thumbnails/33.jpg)
33
Next time
• Encoders• Three-state devices• Multiplexers• XOR gates• Comparators• Adders