Hello to all!
I am a first year Electrical engineering student given the task of making a 4-bit ALU capable of 5 functions namely [ADD, SUB, AND, OR, NOT] and I am told to use MultiSIM software to design this.
So far I have had little problems and I have been able to do the problems after a few days of playing around with it.
I achieved the first two instructions/opcodes [000 AND, 010 NOT ] by employing 4x 8-1 MUX's.
The problem I am facing is with the 001 OR opcode. When 001 is supplied to the select lines, the output should be what is on the D1 input right ? However that doesnt seem to be the case in MultiSIM and I havent been able to figure out why..
I have attached the isolated problem in this topic and I hope someone will be able to point out where I am going wrong.
Update:
I have attached a screenshot of the circuit for those without access to MultiSIM.
The opcode 001 is for an operation Y = !A OR B. I hope the color schemes are not too difficult on the eyes.
Also the control G is logic 0 on the input but the line has a NOT gate on it, so it will be logic high when activated.
I am a first year Electrical engineering student given the task of making a 4-bit ALU capable of 5 functions namely [ADD, SUB, AND, OR, NOT] and I am told to use MultiSIM software to design this.
So far I have had little problems and I have been able to do the problems after a few days of playing around with it.
I achieved the first two instructions/opcodes [000 AND, 010 NOT ] by employing 4x 8-1 MUX's.
The problem I am facing is with the 001 OR opcode. When 001 is supplied to the select lines, the output should be what is on the D1 input right ? However that doesnt seem to be the case in MultiSIM and I havent been able to figure out why..
I have attached the isolated problem in this topic and I hope someone will be able to point out where I am going wrong.
Update:
I have attached a screenshot of the circuit for those without access to MultiSIM.
The opcode 001 is for an operation Y = !A OR B. I hope the color schemes are not too difficult on the eyes.
Also the control G is logic 0 on the input but the line has a NOT gate on it, so it will be logic high when activated.
Attachments
-
175.4 KB Views: 117
-
32.6 KB Views: 165
Last edited: