CS302 Assignment 3 Solution Spring 2021

A Complete CS302 Assignment 3 Solution Spring 2021. Step by Step Correct CS302 Assignment 3 Solution 2021. Download CS302 Assignment 3 Solution PDF File.

CS302 ASSIGNMENT 3 SOLUTION SPRING 2021 

Provide by VU Answer


Total Marks = 20

Due Date = 29-July-2021


Assignment Topic Covered:

“Multiplexer”, “Demultiplexer”, “The GAL16V8”, “ABEL Programming”

Question 1:

Assume that a Chip fabrication/manufacturing company wants to design a Byte-wise, 8 to 1 Multiplexer IC (Integrated Circuit). 


The stated IC (Integrated Circuit) will be a 77 pins IC and the pin details are as under:

  • 8 inputs (A, B, C, D, E, F, G, H) with each input consists of 8 bits.

  • 1 output (OUT) having 8 bits.

  • Three (3) Select inputs S0, S1 & S2 (Used for selection among 8 inputs to 1 output).

  •  Vcc & Gnd Pin.


You are required to write the complete modular ABEL code for the stated IC (Integrated Circuit) while considering the given truth table.


Solution:


Boolean expressions are:


The ABEL Notations are:

OUT 0 = A0 &!S 0 &!S1&!S 2 # B0 &!S0 &!S1& S 2 # C0 &!S0 & S1&!S2 # D0 &!S0 & S1& S2 # E0 & S 0 &!S1&!S 2 # F 0 & S0 &!S1& S 2 # G0 & S0 & S1&!S 2 # H 0 & S0 & S1& S2


OUT1 = A1&!S 0 &!S1&!S 2 # B1&!S0 &!S1& S 2 # C1&!S0 & S1&!S 2 # D1&!S0 & S1& S2 # E1& S 0 &!S1&!S 2 # F1& S0 &!S1& S 2 # G1& S 0 & S1&!S 2 # H1& S 0 & S1& S 2


OUT 2 = A2 &!S 0 &!S1&!S 2 # B2 &!S0 &!S1& S 2 # C2 &!S0 & S1&!S 2 # D2 &!S0 & S1& S2 # E2 & S 0 &!S1&!S 2 # F 2 & S0 &!S1& S 2 # G2 & S0 & S1&!S 2 # H 2 & S0 & S1& S2


OUT 3 = A3 &!S 0 &!S1&!S 2 # B3 &!S 0 &!S1& S 2 # C3 &!S0 & S1&!S 2 # D3 &!S0 & S1& S 2 # E3 & S 0 &!S1&!S 2 # F 0 & S 0 &!S1& S 2 # G3 & S0 & S1&!S 2 # H 3 & S0 & S1& S 2

OUT 4 = A4 &!S 0 &!S1&!S 2 # B4 &!S0 &!S1& S 2 # C4 &!S0 & S1&!S 2 # D4 &!S0 & S1& S2 # E4 & S 0 &!S1&!S 2 # F 4 & S0 &!S1& S 2 # G4 & S0 & S1&!S 2 # H 4 & S0 & S1& S2


OUT 5 = A5 &!S 0 &!S1&!S 2 # B5 &!S 0 &!S1& S 2 # C5 &!S0 & S1&!S 2 # D5 &!S 0 & S1& S 2 # E5 & S 0 &!S1&!S 2 # F5 & S0 &!S1& S 2 # G5 & S0 & S1&!S 2 # H 5 & S0 & S1& S2


OUT 6 = A6 &!S 0 &!S1&!S 2 # B6 &!S0 &!S1& S 2 # C6 &!S0 & S1&!S2 # D6 &!S0 & S1& S2 # E6 & S 0 &!S1&!S 2 # F 6 & S0 &!S1& S 2 # G6 & S0 & S1&!S 2 # H 6 & S0 & S1& S2


OUT 7 = A7 &!S 0 &!S1&!S 2 # B7 &!S 0 &!S1& S 2 # C7 &!S0 & S1&!S 2 # D7 &!S0 & S1& S 2 # E7 & S 0 &!S1&!S 2 # F 7 & S0 &!S1& S 2 # G7 & S0 & S1&!S 2 # H 7 & S0 & S1& S2


The EIGHT ABEL notations can be represented by a single notation 

if variables A0, A1, A2, A3, A4, A5, A6 AND A7 are defined as a set A. Similarly for B, C, D, E, F, G and H.

8 inputs (A, B, C, D, E, F, G, H) with each input consists of 8 bits.

A = [A0, A1, A2, A3, A4, A5, A6, A7]; 

B = [B0, B1, B2, B3, B4, B5, B6, B7]; 

C = [C0, C1, C2, C3, C4, C5, C6, C7];

D = [D0, D1, D2, D3, D4, D5, D6, D7]; 

E = [E0, E1, E2, E3, E4, E5, E6, E7];

F = [F0, F1, F2, F3, F4, F5, F6, F7];

G = [G0, G1, G2, G3, G4, G5, G6, G7]; 

H = [H0, H1, H2, H3, H4, H5, H6, H7];


1 output (OUT) having 8 bits.


OUT = [OUT0, OUT1, OUT2, OUT3, OUT4, OUT5, OUT6, OUT7];


Three (3) Select inputs S0, S1 & S2 (Used for selection among 8 inputs to 1 output).


S = [S0, S1, S2]


The ABEL notation representing the MUX is:

OUT = (S =   = 0) & A # (S =   = 1) & B # (S =   =  2 ) & C # (S = = 3) & D # (S =   = 4) & E # (S = = 5) & F # (S = = 6 ) & G # (S =   = 7) & H;



Download CS302 Assignment 3 Solution pdf



PLEASE NOTE:

Don't copy-paste the same answer.

Make sure you can make some changes to your solution file before submitting copy-paste solution will be marked zero.

If you found any mistake then correct yourself and inform me.

Before submitting an assignment check your assignment requirement file.

If you need some help and question about file and solutions.