Professional Documents
Culture Documents
DDCO | BCS302
endmodule
Click here for Explanation
CD
CD AB 00 01 11 10
AB 00 01 11 10
00 1 0 0 0
00 1 0 0 0 0 1 3 2
0 1 3 2
01 0 0 0 1
01 0 0 0 1 4 5 7 6
4 5 7 6
11 0 1 0 1
11 0 1 0 1 12 13 15 14
12 13 15 14
1 0 0 0
10
1 0 0 0 10
8 9 11 10
8 9 11 10
Click here for Explanation
CD CD
00 01 11 10 AB 00 01 11 10
AB
00 0 0 0 1 00 0 0 0 1
0 1 3 2 0 1 3 2
01 1 0 0 0 01 1 0 0 0
4 5 7 6 4 5 7 6
11 0 0 0 0 11 0 0 0 0
12 13 15 14 12 13 15 14
0 0 0 1 10
0 0 0 1
10 8
8 9 11 10 9 11 10
Click here for Explanation
Click here for Explanation
CD Click here for Explanation
00 01 11 10 CD
AB 00 01 11 10
AB
00 1 1 1 0 00 1 1 0 1
0 1 3 2
0 1 3 2
01 0 0 1 0 01 1 1 1 1
4 5 7 6 4 5 7 6
11 0 1 1 0 0 0 1 0
11
12 13 15 14 12 13 15 14
10
1 1 0 1 0 0 0 1
8 9 11 10 10
8 9 11 10
Click here for Explanation
Dataflow modeling in Verilog is a style that uses continuous assignment statements (assign) to describe
hardware by describing the flow of data from input to output.
It's mainly used to model combinational circuits, or expressions, by describing them by their function rather
than by their gate structure.
input a, b;
output sum, carry;
endmodule
Full Adder Click here for Explanation
▪ A full adder adds two inputs and a carried input from another adder, and also gives a two-bit Resultput (Sum and Carry
bit)
Full Subtractor
D (Difference) Click here for Explanation
Full Subtractor
BResult (Borrow)
D BResult
Bin
A = 1 A = 0
B = -0 B = -1
BResult=0 D = 1 BResult=1 D = 1
Click here for Explanation
The octal-to-binary encoder consists of eight inputs, one for each of the eight digits, and three outputs that generate
the corresponding binary number.
Input Output B2 = (I4 + I5 + I6 + I7)
B2 B1 B0
B1 = (I2 + I3 + I6 + I7)
I0 0 0 0
B0 = (I1 + I3 + I5 + I7)
I1 0 0 1
I2 0 1 0
I3 0 1 1
I4 1 0 0
I5 1 0 1
I6 1 1 0
I7 1 1 1
A B
C3 C2 C1
C4 Full Adder Full Adder Full Adder Full Adder C0
S3 S2 S1 S0
EXPLORE ELECTRONICS
Click here for Explanation
Click here for Explanation
Click here for Explanation
Click here for Explanation
Click here for Explanation
Click here for Explanation
Click here for Explanation
Here, N=7000
S=3
R = 700KHz T = (7000 X 3) / 700 KHz
=700000 cycles per sec T = 0.03
Click here for Explanation
Click here for Explanation
Click here for Explanation
Click here for Explanation
Click here for Explanation
Click here for Explanation
Click here for Explanation
Click here for Explanation
Click here for Explanation
Click here for Explanation
Click here for Explanation
Click here for Explanation
SUBSCRIBE