VLSI 4
VLSI 4
CAMPUS
● RTL SCHEMATIC:
II. Counter:
module counter( input rst, input clk, output
[2:0]q); wire a0,a1,a2; wire
b2; assign
a0=~q[0]; assign
a1=q[1]^q[0];
assign
b2=q[1]&q[0];
assign
a2=q[2]^b2;
assign
b3=q[2]&b2; diff
inst0(a0,clk,rst,q[0])
; diff
inst1(a1,clk,rst,q[1])
; diff
inst2(a2,clk,rst,q[2])
; endmodule
III. Comparator:
module comp(input [2:0]n, input [2:0]q, output
x); wire l1,l2,l3; assign l1=~(q[2]^n[2]);
assign
l2=~(q[1]^n[1]); assign l3=~(q[0]^n[0]); assign
x=(l1&l2)&l3; endmodule
● RESULT:
● REFERENCE:
1. https://link.springer.com/article/10.1007/bf01384074
2. https://www.researchgate.net/profile/Zhenar-
Faeq/publication/280564747_EXPLOITING_DESIGN_OF_SYNCHRONOUS_COUNTERS_METHOD
_TO_DESIGN_AND_IMPLEMENT_MOD_6_DIRECT_DOWN_COUNTER/links/55b9fdb808ae092e9
65c1282/EXPLOITING-DESIGN-OF-SYNCHRONOUS-COUNTERS-METHOD-TO-DESIGN-
ANDIMPLEMENT-MOD-6-DIRECT-DOWN-COUNTER.pdf
3. https://link.springer.com/article/10.1007/s00037-008-0248-y