Question: CS 4 2 1 0 In _ Class _ Assignment 1 ( 5 0 marks ) Draw the logic diagram of the circuit described by

CS4210
In_Class_Assignment 1(50 marks)
Draw the logic diagram of the circuit described by the following Verilog HDL (20 marks),
simulate it (10 marks), and answer what operation it implemented (20 marks)?
ing the simulation outputs) to Moodle.
module Circuit_o (A,B,C,F1,F2); put A,B,C
input A,B,C; output F1,F2;
wire T1,T2,T3,F2b,E1,E2,E3;
or G1(T1,A,B,C);
and G2(T2,A,B,C);
and G3(E1,A,B);
and G4(E2,A,C);
and G5(E3,B,C);
or ,G6(F2,E1,E2,E3);
not G7(F2_b, F2);
and G8(T3,T1,F2b);
or G9(F1,T2,T3);
endmodule
// Stimulus to analyze the circuit
module test_circuit;
reg[2:0]D;
wire F1,F2;
Circuit_o UUT (D[2], D[1], D[0], F1, F2); // Instantlate UUT
initial
begin // Apply stimulus
D=3'b000;
 CS4210 In_Class_Assignment 1(50 marks) Draw the logic diagram of the circuit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!