Introductory concept Flashcards
logic levels
The voltage level used to represent 1s and 0s are called logic levels.
Digital Waveform
Series of pulses.
Pulse
It consists of leading(rise time: :10% to 90% amplitude) n trailing edge(fall time : 90% to 10% amplitude). Pulse width is between 50%s od both edges. They can be +ve going or -ve going.
Duty Cycle
(Pulse width/time period)*100%
The clock
in digital systems, each waveform is synchronized with a basic timing waveform CLOCK. Periodic it is.
Its time period is the time for one bit. and doesn’t carry information. During one period, information waveform is either high(1) or low(0).
Timing diagrams
A graph of digital waveforms to give the time relationship between them.
USB
Universal Serial Bus
Data Transfer
- Serial Transfer
2. Parallel Transfer.
Serial Transfer
Pro:
Requires only One line.
Con:
Requires time proportional to the data amt.
Parallel transfer.
Pro:
requires one time interval only.
Con:
Requires multiple lines.
Logic Gate
A circuit which performs specified logic function (and, or).
ALU consists of many such logic gates.
Inverter
The logic circuit of not function. inverting the input.
Comparator
The comparison function. A logic gate that performs magnitude comparison. a box with 2 input lines (magnitude a and b ) and 3 output lines ( a>b, a<b></b>
Adder
An adder
adds two binary numbers (on inputs A and B with a carry input Cin) and generates a sum and a carry output (Cout).
Subtractor. ( logic circuit)
A subtracter requires three inputs: 2 numbers and a borrow input. 2 outputs :difference, borrow output.
(An adder can do this as its special case of addition)
Multiplier
multiplied 2 at a time so 2 input, 1 output product(partial). The circuit can consist of adders in conjugation +some stuff.
Division, divider.
Division can be performed with a series of subtractions, comparisons, and shifts, and thus it
can also be done using an adder in conjunction with other circuits.
Two inputs.
output: quotient and the remainder.
Code conversion function.
conversion between binary and other codes such as the binary coded decimal (BCD) and the Gray code.
Code
A code is a set of bits arranged in a unique pattern and used to represent specified information
Encoder
one certain type of encoder converts each of the
decimal digits, 0 - 9, to a binary code. A HIGH level on the input ( 10 input lines for 10 chars) produces logic levels that represent the proper binary code on the
output lines.
Decoder
example, displays with seven segments( when all segments lit they show 8 ). Input of binary and appropriate output lines are activated and light the proper segments to display the decimal
digit corresponding to the binary code.
The Data Selection Function
Consists of Multiplexer (mux) and demultiplexer (demux).Multiplexing and demultiplexing are used when data from several sources are to be
transmitted over one line to a distant location and redistributed to several destinations.
Mux n demux
a logic circuit that switches digital data from several input lines onto a single output line in a specified time sequence is mux and demux is its opposite.
time-division multiplexing
during the first time interval, input A data go to output D. During the second time interval, input B data go to output E. During the third time interval, input C
data go to output F.
After this, the sequence repeats. Because the time is divided up among several sources and destinations where each has its turn to send and receive data, this process is called time-division multiplexing (TDM)
who uses what for memory in a computer?
to retain binary data for a period of time.
Rom n ram n small caches: Semiconductor.
Registers: Semiconductor flip flops.
Hard drives: Optomagnetic disk
Flip Flop
Bistable ( two stable states), store one bit. high output means stored 1.
Register
Made of multiple flip flops to store multiple bits.
Shift registers: Shift the bits.
that can be parallelly ( ppl sitting in roller coaster) or serially ( ppl entering bus).
Counters
Their basic purpose is to count events represented by changing levels or pulses. To count, the counter must “remember” the present number, hence storage req and flip flops used.
A process control system.
Recall the system for bottling vitamin tablets.
What is a programable logic device?
A programable logic device has an undefined function at the time of manufacture.
Pros of PLDs and fixed-function logic?
PLDs:
1. Allows us to rewrite function without replacing components.
2. Faster and cheaper implementation.
3. Less board space.
Fixed Function Logic:
- to implement a small segment of logic it may more efficient to use fixed-function logic.
Categories of Programmable logic:
- Field Programmable Gate Array.
- PLD’s
a. Simple PLD
b. Complex PLD.
SPLD:
Generally, an SPLD can replace up to ten fixed-function ICs and their interconnections. Pins: 24-28.
Two categories:
1. Programmable Array Logic: one time programmed, has programmable array of and gates and a fixed array of or gates.
2. Generic Array Logic: reprogrammable as has a reprogrammable array of and gate + a fixed array of OR gates with programmable outputs.
CPLD:
Made of multiple SPLD. Pins: 44-160.
It consists of logic array blocks (labs), programmable interconnection array (PIA). there can be from 2-64 LABs. 1 LAB almost is 1 SPLD.
(PQFP)
Typical CPLD plastic quad flat packages (PQFP)
Chip density
amount of circuitry that could be put on a chip.
Field Programmable Gate Array Basic elements?
It has logic blocks (not as complex as LABs) (10s of 1000s) and programmable interconnection and Input/Output Blocks. and maybe memory and additional resources.
EX: FPGA ball-grid array package.
FPGA architecture classification based on logic blocks.
If logic blocks are simple then FPGA architecture is called fine-grained, if larger then coarse-grained.
FPGA input/output blocks elaboration, n programmable interconnection:
The I/O blocks are on the outer
edges of the structure and provide individually selectable input, output, or bidirectional
access to the outside world.
The distributed programmable interconnection matrix provides for interconnection of the logic blocks and connection to inputs and outputs.
Microcontroller:
A microcontroller is basically a special-purpose small computer. Microcontrollers are
generally used for embedded system applications. An embedded system is a system that is
designed to perform one or a few dedicated functions within a larger system.
Microcontroller, compare it with PLD.
The internal circuitry is fixed and its operations are determined by a program ( series of instruction ) (language C or Basic ) to perform a specific operation.
The internal circuitry of a PLD is programmed into it, and once programmed, the circuitry performs required operations.In a PLD a program determines the logic function.
Fixed Function logic:
In fixed-function
logic devices, the logic functions are set by the manufacturer and cannot be altered.
Integrated circuit (IC) packages are classified according to the way they are mounted on printed circuit boards (PCBs) , they are:
through-hole mounted or surface mounted
through-hole type packages:
These have pins (leads) that are inserted through holes in the PCB and can be soldered to conductors on the opposite side. EX: dual in-line package (DIP)
Surface mounting
- space-saving.
- The pins of surface-mounted packages are soldered directly to conductors on one side of the board, leaving the other side free for additional circuits and these pins placed closer.
Ex:small-outline integrated circuit (SOIC)
SMT, SSOP
-leads of the SSOP (shrink small-outline package) are formed into a “gull-wing” shape.
SMT,PLCC
-The leads of the PLCC (plastic-leaded chip carrier) are turned under the package in a J-type shape.
SMT,LCC
-LCC (leadless ceramic chip) has metal contacts molded into its ceramic body.
LQFP,SMT
-The LQFP (low-profile quad flat package) also has gull-wing leads.
CSP, FBGA : SMT
-Both the CSP (chip scale package) and the FBGA (fine-pitch ball grid array) have contacts embedded in the bottom of the package.
Pin Numbering
-pin 1 is indicated by an identifier that can be either a small dot, a notch, or a bevelled edge.
-On right or opp of pin 1 is the pin with the highest count.
- Starting with pin 1, the pin numbers increase as you
go down, then across and up
-The pin numbers
increase going counterclockwise as viewed from the top of the package
Complexity Classifications for Fixed-Function ICs
The complexity figures stated here for SSI ( x =0, y = 10),
MSI(10,100), LSI(100,10000), VLSI(10,000-100,000), and ULSI (>100,000)
-from x to y equivalent gates on a chip. They include logic functions such as encoders, decoders,
counters, registers, multiplexers, arithmetic circuits, small memories, and others.