Thursday, February 2, 2012

16 Bit Incrementer

In this exercise, we will build a 16 bit incrementer. This chip takes a 16 bit number as input, adds 1 to it, and produces a 16 bit output.

This chip seems to be very similar to the 16 bit adder, except that the second number is hard coded to be 1. However, we will not get this '1' as input. We will have to represent it internally. We can represent it as the result of an AND chip, but this is just a possible representation. It is possible to represent 1 in many ways. Also notice the last line in the script. Instead of a HalfAdder, we use an OR gate... guess why...






No comments:

Post a Comment