In exercise 1, I have to implement the function reduction, which contains the statement pow_out = pow_in + 1
. However, I’m not allowed to use an adder. Am I supposed to implement an adder on my own using logic gates? Or are pow_in and pow_out represented in one-hot encoding? Thanks!
They wrote that pow is supposed to be represented in one-hot, a.k.a <0001> = 1, <0010> = 2, <0100> = 3 etc. (definition 3 and Preliminary Exercise 8 under Functionality)
1 Like
They posted a clarification btw, one-hot is <0001> = 0, <0010> = 1, <0100> = 2 etc. and not what I wrote