Git Product home page Git Product logo

assignment-2's Introduction

assignment-2

assignment

Minimise the function using K map F(A,B,C)A'B'+BC'+BC+A'B'C' and simulate the logic diagram using verilog

AIM:

TO design F(A,B,C)A'B'+BC'+BC+A'B'C' and simulate the logic diagram using verilog

HARDWARE REQUIRED:

PC Cyclone || USB flasher

SOFTWARE REQUIRED:

Quartus prime model sim

THEORY

INTRODUCTION:

K map is a graphical method for simplifying Boolean expression it is used to minimise the boolean function by taking advantage of the properties of logic.

to minimise the given boolean function using k-map table with the minterm of the function the minterm are trhe product of the variable and their complements that is the minterm of the function F(A,B,C)A'B'+BC'+BC+A'B'C' .

Then we group together adjacent terms that have exactly one variable different between them. These groups of terms are called "groups of 1's" or "adjacent cells"

Finally, we can use the properties of Boolean algebra to simplify the expression using the following steps:

Combine the groups of 1's that have a 1 in the same cell. Replace the Boolean variables in the expression with their complements, if it results in a smaller expression. Use the standard Boolean identities to simplify the expression further. After applying these steps, the simplified Boolean function will be the most reduced form possible. The final minimized function will be F(A,B,C) = A′B'+BC′+BC+A'B′C′ = A′B' + (B + C)C' = A′B' + C'(B + C) = A′B'+C'

It is important to note that there are different methods to simplify Boolean functions and K-map is one of the most common methods.

LOGICAL EXPRESSION:

F(A,B,C)=A'B'+BC'+BC+A'B'C'is

F(A,B,C)=(A'B')+(BC')+(B*C)+(A'*B'C') where '' denotes logical AND operation and '+'denotes logical OR. it is also possible to represent this function in the sum of product (sop)form : F(A,B,C)=A'B'+BC'+BC+A'B'C' or in the product of sum (pos) form:F(A+B+C')(A+B+C)(A'+B'+C) BOTH forms are mathematicallyt equivalent but the sop form is more suited for implementation using AND - OR GATES

Procedure:

1.start the module using module program().

2.Declare the inputs and outputs.

3.Use wire to assign intermediate outputs.

4.Use and gates to get the desired output.

5.End the module.

6.Generate RTL realization and timing diagrams.

PROGRAM:

Program to verify the truth table in quartus for the basic logic gates using Verilog programming. Developed by: LOKESH N RegisterNumber: 22008481

module logicdiagram(A,B,C,F);

input A,B,C;

output F;

assign F = (!A & !B) | (B & !C) | (B & C) | (!A & !B & !C);

endmodule

OUTPUT:

RTL Diagram

image

RTL Timing Diagram:

image

TRUTH TABLE:

image

RESULT

Hence F(A,B,C)A'B'+BC'+BC+A'B'C' has been implemented and verified using verilog code programming and its output are validated

assignment-2's People

Contributors

lokeshnarayanan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.