3-bit increment
0 Stars     12 Views    

Author: Mongolian Cat

Forked from: Mongolian Cat/3-bit increment

Project access type: Public

Description:

3-bit increment. input a 3-bit binary array x[] = x2x1x0, and output an 3-bit binary array y[] = y2y1y0. y=x+1 unless y=111.

c0, c1 and c2 are auxillary variables which denotes the number(1/0) that will be added to the corresponding bit.

Created: Dec 27, 2021

Updated: Aug 27, 2023


Comments

You must login before you can post a comment.