Combinational Logic Analysis - Hierarchical Modeling, Exercises of Computer science

A lab report on combinational logic analysis and hierarchical modeling. It includes a theoretical introduction, truth tables, and circuit diagrams for various logic gates and their combinations. The report covers the design and implementation of two modules, 'kabs' and 'extrareportgroup8', using nand gates. A detailed analysis of the logic operations and the corresponding truth tables. It also includes an exercise with input and output values for the designed circuits. This lab report would be useful for students studying computer organization, digital logic design, and related topics in computer science and electrical engineering programs.

Typology: Exercises

2022/2023

Uploaded on 05/05/2024

lara-issa
lara-issa ๐Ÿ‡ฑ๐Ÿ‡ง

1 document

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Lebanese American University
Department of Computer Science & Mathematics
Computer Organization Lab
CSC 322-Section 15
Lab Report 4
Instructor: Lara Issa
COMBINATIONAL LOGIC ANALYSIS -
HIERARCHICAL MODELING
Antonio Karam
ID: 202303075
Yara Issa
ID: 202302819
Submitted on 04/22/2024
pf3
pf4
pf5

Partial preview of the text

Download Combinational Logic Analysis - Hierarchical Modeling and more Exercises Computer science in PDF only on Docsity!

Lebanese American University

Department of Computer Science & Mathematics

Computer Organization Lab

CSC 322-Section 15

Lab Report 4

Instructor: Lara Issa

COMBINATIONAL LOGIC ANALYSIS -

HIERARCHICAL MODELING

Antonio Karam

ID: 202303075

Yara Issa

ID: 202302819

Submitted on 04/22/

COMBINATIONAL LOGIC ANALYSIS -

HIERARCHICAL MODELING

Theoretical Introduction:

๏‚ท Truth tables and Equations:

W1= ๐‘Žฬ…. ฬ… ๐‘ฬ… = ๐‘Žฬ… + b W2= a^.^ w^^1 = a^ + a^.^ b = a + a^.^ b = a +b W3= b^.^ w^^1 = b^ + a^.^ b = a^.^ b^ + b^ =a+ b W4= w^ 2.^ w^^3 = w^^2 + w^^3 = a + b^ + a +^ b^ = (๐‘Žฬฟ. ๐‘ฬ…) + (๐‘Žฬ…. b )= ๐‘Ž๐‘ฬ… + ๐‘๐‘Žฬ… = ๐‘Ž โŠ• ๐‘ W5= c^.^ w^^4 = c^ + a^ โŠ•^ b x=c.w5+w4.w5=w5(c+w4) y= w^^5_._^ w^^1 W1 Truth Table: a b ๐‘Ž ฬ… b^ ๐‘Žฬ… + b T T F F F T F F T T F T T F T F F T T T W2 Truth Table: a b (^) ๐‘Ž ฬ… ๐‘Žฬ… +b T T F T T F F F F T T T F F T T W3 Truth Table:

y Truth Table: w 5 w (^1) w (^5) + w 1 F T T T F T F F F F F F

  • Circuit Diagram: I. Design Phase: โžข Code: module kabs(a,b,w1,x); input a,b,w1; output x; wire w2,w3; nand (w2,a,w1); nand (w3,b,w1); nand (x,w2,w3); endmodule module extraReportGroup8(a,b,c,x,y); input a,b,c; output x,y; wire w1,w2,w3,w4,w5,w6,w7; nand(w1,a,b); kabs k1 (a,b,w1,w4); nand(w5,c,w4); nand(y,w5,w1); kabs k2 (c,w4,w5,x); endmodule

โžข After assigning the values in the pin planner, we will have this: The results were checked on the hardware and were proven correct. Exercise: