AIM:
To implement the given logic function verify its operation in Quartus using Verilog programming.
F1= A’B’C’D’+AC’D’+B’CD’+A’BCD+BC’D
= B'D'+ABC'+A'BD
F2=xy’z+x’y’z+w’xy+wx’y+wxy
=y'z+wy+xy
Equipment Required:
Hardware – PCs, Cyclone V , USB flasher
Software – Quartus prime
Procedure
-
Type the program in Quartus software.
-
Compile and run the program.
-
Generate the RTL schematic and save the logic diagram.
-
Create nodes for inputs and outputs to generate the timing diagram.
-
For different input combinations generate the timing diagram.
Theory
Program:
F1
module funct1(a,b,c,d,f1);
input a,b,c,d;
output f1;
assign f1=((~b & ~d)|(~a & b & d)|(a & b & ~c));
endmodule
F2
module funct2(w,x,y,z,f2);
input w,x,y,z;
output f2;
assign f2=((~y & z)|( w & y )|(x & y));
endmodule
Program to implement the given logic function and to verify its operations in quartus using Verilog programming.
Developed by: D KEERTHAN
RegisterNumber: 24901007
RTL - F1
RTL - F2
Timing Diagram - F1
Timing Diagram - F2
Result:
Thus the given logic functions are implemented using and their operations are verified using Verilog programming.







