So yeah, lab tonight went well. We have three things to do by Friday, the first of which I figured out in short order and wired up. Unfortunately the lab TA left before we were done wiring, and we didn't have any power cables, so we couldn't test it. I think it'll work however, my design is really solid.
Basically we're taking a full adder and adding some additional circuitry to make it a full adder/subtracter. I did this with two extra adders and an XOR gate (one per bit, we're using four). It's a really elegant design: I use one signal as input to the XOR gate, then route that same signal to the extra full adder(s) to finish the 2's complement. If you just want to add unsigned numbers, you open the switch and the input passes through the adder without being changed.
Very cool stuff, I swear.
The next thing we have to do (8 bit shift register) is something that we designed for an earlier lab by mistake, so it should be simple to put together. After that we have to do a short presentation, which I don't have to deal with. Division of labour can be a good thing.
Basically we're taking a full adder and adding some additional circuitry to make it a full adder/subtracter. I did this with two extra adders and an XOR gate (one per bit, we're using four). It's a really elegant design: I use one signal as input to the XOR gate, then route that same signal to the extra full adder(s) to finish the 2's complement. If you just want to add unsigned numbers, you open the switch and the input passes through the adder without being changed.
Very cool stuff, I swear.
The next thing we have to do (8 bit shift register) is something that we designed for an earlier lab by mistake, so it should be simple to put together. After that we have to do a short presentation, which I don't have to deal with. Division of labour can be a good thing.