In general, you should not need any constants in your circuits.The circuits on the left and right are equivalent. Bad idea: Use a multiplexor with inverses as inputs. This can easily be replaced with an XOR gate. Muxing between a signal and its inverse is redundant.It is better design to use as few constants as possible.īad design #4: Muxing a signal and its inverse Bad idea: Using a splitter and constant to perform extension. Constants should not be used to extend a number if a bit extender can be used instead.īit extender is neater and easier to understand.Instead of selecting V on the ALU opcode, think of other simpler options. The cases in which V appears was few and the majority of the time it should be 0 instead. Having too many muxes are both inefficient and potentially redundant.Īs in the case with V in the ALU, there is no need for a 16 bit mux in ALU32. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |