Hi all,
I am currently working on an 8-bit sign changer for the Basys2 board. Essentially I will input an 8-bit number using the 8 switches on the board and using a push button will be able to select between the number and its 2's complement. I have my truth table set up currently for my Cin, A, B, Cout, and Sum bits.
For my FA I am only allowed to us 2 4-to-1 muxes, 1 inverter, and GND and VCC as necessary. What I have going so far is that I would have the two muxes within my symbol both having the same signal control bits, but one of the enables will be connected to my button switch. When BTN0 = 0, signal will be inverted to send output from the first mux, when BTN0 = 1, enable for Mux1 will be 0 and signal for Mux2 will = 1 so that it will send its output. I am just confused on how to start up the wiring and what not for my muxes to be able to accomplish this. Any advice would be greatly appreciated.
I am currently working on an 8-bit sign changer for the Basys2 board. Essentially I will input an 8-bit number using the 8 switches on the board and using a push button will be able to select between the number and its 2's complement. I have my truth table set up currently for my Cin, A, B, Cout, and Sum bits.
For my FA I am only allowed to us 2 4-to-1 muxes, 1 inverter, and GND and VCC as necessary. What I have going so far is that I would have the two muxes within my symbol both having the same signal control bits, but one of the enables will be connected to my button switch. When BTN0 = 0, signal will be inverted to send output from the first mux, when BTN0 = 1, enable for Mux1 will be 0 and signal for Mux2 will = 1 so that it will send its output. I am just confused on how to start up the wiring and what not for my muxes to be able to accomplish this. Any advice would be greatly appreciated.