Академический Документы
Профессиональный Документы
Культура Документы
Serial input determine what goes into the leftmost flip-flop during the shift
Serial output taken from the output of the rightmost flip-flop
JQ = xy
KQ= x' y=' ( x + y)' By k-map
S = x ⊕ y ⊕Q
JQ = xy
KQ= x' y=' ( x + y)'
S = x ⊕ y ⊕Q
The output S is a function not only of x and y, but also of the present state of Q.
The next state of Q is a function of the present state of Q and the values of x
and y that come out of the serial outputs of the shift registers
2010-05-30 ASIC LAB 9
1. Clear control to clear register to 0
into memory
out of memory
- Read operation
1. Transfer the binary address of the desired word to the address lines.
2. Activate the read input.
1: read
0: write
No write operation
No data inputs
Programmable connection
between to lines (cross point)
k input lines and n output lines a switch
Number of output lines (n) = number of Fuse: blown or opened by applying
bits per word a high voltage pulse into the fuse
ROM = AND gates connected
as a decoder + a number of
OR gates
32 words
5 X 32 decoder has 32 AND
gates and 5 inverters.
32x8 = 256
Internal connection
2010-05-30 ASIC LAB. 20
ROM truth table (Partial)
0: no connection
1: connection
2010-05-30 ASIC LAB. 21
Combinational circuit implementation
Input of ROM
00011(3)
All the outputs of the
decoder except for
output 3 all ’0’
Output 10110010
Modeling techniques:
Gate level modeling
Instantiation of gates and user defined modules
Dataflow modeling
Using continuous assignment statements-assign
Behavioral modeling
Using procedural assignment statements-always
25
Gate-level modeling
Circuit is specified by its gates and their
interconnection
26
Instantiation
27
Instantiation in 4-bit adder
28
Dataflow modeling
Assign a value to a
net by using
operands and
operators
eg)J=01,K=10 can be
{J,K}=0110
out=x ? A : B means
out=A, if x is true
=B, if x is false
29
Assignment
2-to-4 line decoder
30
4-bit adder
31
Behavioral modeling
32
Writing a simple test bench
33
System tasks
34
Example of testbench
35