summaryrefslogtreecommitdiff
path: root/911/CH7/EX7.4.a/ex_7_4_a.sce
blob: 5fb69192180a2971d22acd9dfbdc54a2913b273c (plain)
1
2
3
4
5
6
//example 7.4(a)//
clc
//clears the screen//
clear
//clears all variables//
disp('Since all inputs are in logic 0 state, it implies that all inputs are active. Since D7 has the highest priority and all inputs and outputs are active when LOW, the output bits are A=0, B=0 and C=0')