Question
Very confused and stumped on this. We are using Logisim to generate the circuit design but for the life of me I can not figure
Very confused and stumped on this. We are using Logisim to generate the circuit design but for the life of me I can not figure this one out. Please, any help or guidance would be greatly appreciated. Multiplexor: For your calculator, you will need a 4x1 multiplexor (mux) with four 8-bit inputs and an 8-bit output. For this project, however, 4-bit inputs and a 4-bit output are sufficient. In other words, using a pair of selector bits your mux should be able to pass through a single 4-bit input as the 4-bit output. To start, you should implementing a 4x1 mux with 1-bit inputs and a 1-bit output in as a subcircuit.
A 4x1 mux with 2-bit inputs can be made using a pair of 4x1 muxes with 1-bit inputs where each bit of the output is selected by a different mux. A 4x1 mux with 4-bit inputs can then similarly be made using a pair of 2-bit 4x1 muxes.
Priority Encoder: A priority encoder takes a specific number of input bits and represents the position (meaning the power of two exponent) of the most significant bit that is set (the bit farthest to the left that has a value of 1) in binary. Your priority encoder will have four 1-bit inputs and three 1-bit outputs: two bits used for the representation, in binary, of the position of the highest bit set and a valid bit that is 1 if at least one input bit is set.
As one example of a potential input and expected output, suppose all 4 input bits are merged into a single binary representation of 01102. In this case the binary output should be 102 (which is equal to 210) and the valid bit should be 1. This output is generated because the bit in the 22 position is set.
Although the 21 position bit is also set, it does not affect the output because it is not the most significant set bit. As another example, if the input is 00102 then the output would be 012 (= 110).
-----
This is what I have so far but I am not sure this is what is needed as part of the stated project.
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