Professional Documents
Culture Documents
Computer Architecture and Organization Lab 08 Objective:: Task1: 2 1 Mux Using Case Statement Code: Block Diagram
Computer Architecture and Organization Lab 08 Objective:: Task1: 2 1 Mux Using Case Statement Code: Block Diagram
Lab 08
Objective: In this lab we will learn that
For Loops
Conditional statement (if else case)
Control statement
Blocking and Non-blocking
Test Bench :
Task2: Cascade Mux (3*1)
Code:
Block Diagram:
Output:
Task3: Half adder using case statement
Code:
Block Diagram:
Output:
Task4: D-flip flop using case statement
Code:
Block Diagram:
TestBenchfile:
Task5: comparator using always statement:
Code:
Block Diagram: