您可以使用 Cin 和 Cout 为 16 位 adder/subtractor 编程的 ROM 的大小是多少?

what is the size of the ROM you could use to program for 16 bit adder/subtractor with Cin and Cout?

我在互联网上搜索了这个我找不到它请帮助解决这个问题

我找到了答案

Number of inputs = 16(A) + 16(B) + 1(Cin) = 33 address bits
Number of outputs = 16(sum/diff) + 1(Cout) = 17 
Thus, this would require a 2^33 x 17-bit ROM.

这里是参考 click here 下载 David Money Harris 第 181 页练习 5.57 a)

的解决方案