Homework #3
- Draw a hardware schematic for the following circuits, similar to
that shown on page 88 of my textbook linked on the main page.
Use comparators, muxes and adders and do not show their internal
organization. Whenever possible reduce the number of devices
required to realize the design. You should
assume that X, Y, and Z are 8-bit std_logic_vectors.
- if (X==0) then Z = X else Z = Y
- if (X==Y) then Z = Y else Z = X+Y
- if (X < Y) then Z = X+4 else Z = Y+6
- if (X > Y) then Z = X+5 else Z = X+6
- Write a VHDL architecture for each if/then statement in the
previous problem. Do each separately.