DE NOTES-unit 5
DE NOTES-unit 5
RAM
Write Cycle
Coincident Decoding
•Decoder complexity: a decoder with k inputs and 2k outputs requires 2k AND gates
with k inputs per gate
•2-dimensional decoding: arrange cells in a square array
•2 k/2-input decoders instead of 1 k-input decoder one for row selection and
the other for column selection
•1K-word memory –a single 10x1,024 decoder: 1,024 10- input AND gates –
two 5x32 decoders: 64 5-input AND gates
Two Dimensional Decoding Structure for a 1K word Memory
Address Multiplexing
•DRAM: large capacity requires large address decoding –Simpler cell structure
•DRAM: a MOS transistor and a capacitor per cell
•SRAM: 6 transistors –Higher density: 4 times the density of SRAM
•larger capacity
Lower cost per bit: 3-4 times less than SRAM
• Lower power requirement–Preferred technology for large memories
•64K (=216) bits and 256M(=228) bits may need 16 and 28 address inputs
• Address multiplexing: use a small set of address input pins to accommodate the
address components–A full address is applied in multiple parts at different times
•i.e. two- dimensional array: row address first and column address second
•same set of pins is used for both parts
Advantage: reducing the number of pins for larger memory
Parity type:
Odd
Forced an odd number of one’s
000 0001 0 000 0001
000 0011 1 000 0011
Odd parity is generated using a XNOR function
o Parity bits 1 and 4 both check position 5 and 7 Since parity bit 2 checks bit
7 and indicates no error occurred in the subset of bits it checked that
means that error occurred in bit 5
o If we change bit 5 to a 1, all parity bits check and our data is restored
PLA Example 1
Implement: F1(A, B, C) = Σ (0, 1, 2, 4); F2(A, B, C) = Σ (0, 5, 6, 7)
1. Simply both the true and complement of the functions in sum of products
2. Find the combination with minimum number of product terms
F1=(AB+AC+BC)’
F2=AB+AC+A’B’C’
3. Obtain the PLA Programming table
Example: PAL with 4 inputs, 4 outputs, and 3-wide AND-OR structure (Figure 7-16)
each input has a buffer-inverter gate •each output is generated by a fixed OR
gate
4 sections of 3-wide AND-OR array – each AND gate has 10 programmable
input connections
A typical PAL may have 8 inputs, 8 outputs, and 8 sections, each consisting of an 8-
wide AND-OR array
May use two sections to implement a large Boolean function Product terms
cannot be shared
Each function is simplified itself