Vlsi File Final 2
Vlsi File Final 2
Vlsi File Final 2
(Code-EC35010)
Session: July-Dec2024
Code:
RTL:
Technology Schematic:
Simulation:
FullAdderusing2halfadders
Code:
RTL:
Technology Schematic:
Simulation:
AllLogicGates Using Dataflow Style
Code:
RTL:
Technology Schematic:
RTL:
Simulation:
HalfAdderUsingGates(Dataflow Style)
Code:
RTL:
Technology Schematic:
Simulation:
2:4-Decoder
Code:
RTL:
Technology Schematic:
Simulation:
MUXUsingBehavioralStyle
Code:
RTL:
Technology Schematic:
Simulation:
BCDtoExcess-3 using Behavioural Style
Code:
RTL:
Technology Schematic:
Simulation:
D-Flip Flop using Behavioural Style
Code:
RTL:
Simulation:
JKFlipFlop Using Behavioural Style
Code:
module sp_JKff_BEHAVIORAL(
input j,k,clk,
output reg q,qbar
);
always @(posedge clk) begin
if(j==0 && k==0)
begin q<=q;
qbar<=qbar; end
else if(j==0 && k==1)
begin q<=1'b0;
qbar<=1'b1; end
else if(j==1 && k==0)
begin q<=1'b1;
qbar<=1'b0; end
else if(j==1 && k==1)
begin q<=(~q);
qbar<=(~qbar);
end end
endmodule
RTL:
Schematic:
PriorityEncoder using Behavioural Style
Code:
RTL:
Technology Schematic:
Simulation:
JohnsonCounter Using Behavioural Style
Code:
RTL:
Simulation:
RingCounter
Code:
RTL:
Technology Schematic:
RippleCarryAdder
Code:
RTL:
Technology Schematic:
Simulation:
SevenSegment
Code:
RTL:
Technology Schematic:
Simulation:
UpCounter
Code:
RTL:
Technology Schematic:
Simulation:
4–bitComparator
Code:
RTL:
Technology Schematic:
Simulation: