Answered step by step
Verified Expert Solution
Question
1 Approved Answer
So i already got part of it but its the comparison part for the SOV that I am having a lot of trouble with. The
So i already got part of it but its the comparison part for the SOV that I am having a lot of trouble with. The lines are supposed to be either green or black and DEFINITELY not blue or red which is what im getting. Please help!
Detecting signed overflow
First,you need to get thesign bits of the operands and output.Your goal is to build the image on the right. Heres how:
Splitterscan take multibit wires and split them into single bits.
Make aWiring Splitterand set its properties like so:
This will make something that looks like a little laser gun with aon it
Theblack sideof the splitter accepts a bit number.
Thegreen sidewill outputbit the MSB from that bit number.
Now copy and paste that splitter a couple times for a total of three splitters.
Make anew tunnelnamedMUX Outconnected tothe output of the MUX
that wire carries eitherBor~B depending onsub
To theinput blackside of the splitters, connect theAMUX Out, andOtunnels
Make copies.Dont just make long wires from existing tunnels. That defeats the purpose of them!
To theoutput greenside of the splitters,make and connect some new tunnelsnamedSASB andSOfor the sign ofA the sign ofMUX Out, and the sign ofOrespectively
SA SB SO SOV
Now you have three tunnels,SASB andSOwhich carryjust the signsof the two addends and the output. You can then copy and paste those tunnels to use them as inputs to the circuit you are about to build.
Using the method from the turning truth tables into Boolean functions section above,turn this truth table on the right into a real circuit! The inputs are the tunnels you just made, and the output will be theSOVtunnel that is connected to theSOVLED
Note:when you use that technique on this table, you may end up with situations where you have toAND three values together.You can either chain two input AND gates, or you can set the Number of Inputs property on an AND gate to The two possibilities are shown below.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started