Hardware Basics Flashcards
Karnaugh Map
Logic Synthesis: -Boolean results are transferred from a truth table to Karnaugh map - Allowing most often minimal boolean expressions - Useful only up to 4 variables Design Vulnerabilities A 3-input encoder that assigns a 2-bit code to each of the three different inputs
Realization of Logic Gates : CMOS Transistors
A CMOS gate is a system consisting of a pMOS pull-up network connected to the output 1 (or VDD) and nMOS pull-down network, connected to the output 0 (or GND).
Design Stages of Hardware implementations
- Writing HDL (RTL design)
- Functional Verification (e.g. logic simulation)
- Logic Synthesis (Combinational and Sequential) ⇒
Netlist - Placement
- Routing
Hardware Description Language (HDL)
Schematic Designs: good for small number of gates and connections - HDL can describe complicated designs, e.g., - Verilog, VHDL
Difference between HDL and
software programming
language
Software language programming is translated into machine instruction and executed on microprocessor - HDL is a synthetic and semantic for modeling - Hardware has temporal behavior and spatial structure
Functional Verification
-Simulating the behavior of digital circuits and hardware description languages -Debugging before synthesis of the circuit -Giving different inputs to the circuit and observing the outputs
Logic Synthesis
-Creating a netlist out of gates and connections from the HDL code -Optimising the design by reducing number of required gates
Place and Route
-Placement involves placing the transistors, gates or any other element on the die -Routing involves wiring of electrical elements together
Application-specific
Integrated Circuit
(ASIC),
- Custom ICs for different purposes - Microprocessors, Microcontrollers and GPUs are also ASICs
Customized IC for particular use - System on Chip (SoC): microprocessors + ROM \+ RAM + EEPROM + flash memory - CPUs and microcontrollers are ASICs!
Programmable Logic
Device (PLD), e.g.,
- Complex Programmable
Logic Device (CPLD) - Field Programmable Gate
Array (FPGA)
ASIC
- Gate Array Design
- Transistors (or Gates)
are predefined on the
wafer - No interconnection (metallitzation) between
transistors - Based on the design,
interconnections are defined in photolithographic process
ASIC
- Full Custom Design
Everything has to be designed and defined for the photolithographic process - Advantage: reduced area, performance improvement - Disadvantage: increased manufacturing and design costs
ASIC Pros and Contras
Advantages:
- Designing precisely different analog characteristics
(delays, capacitance, resistance, etc)
- Optimization of gate placement and routing between
them
- Improved performance
Disadvantages:
- Static circuits (reconfiguration is not possible!)
- Expensive manufacturing
Programmable Logic - CPLD and FPGA
- Reconfigurable logic device after manufacturing - Containing Logic Cells to realize combinational and sequential logic - More complex and routing architectures on FPGAs - Larger numbers of logic cells on FPGAs - All CPLDs have internal flash memory but most of the FPGAs have no internal flash memory
Field Programmable Gate Arrays
-Programmable and reconfigurable logic devices -Containing programmable logic cells to realize combinatorial and sequential logic functions