Forum Discussion
Altera_Forum
Honored Contributor
16 years agowhat is the circuit of 2^n -1
these is a problem for me,i need some help. how can i use verilog describe 2^n -1 the input interface is input[3:0] n; the output interface is output [15:0] result; i know can u...
Altera_Forum
Honored Contributor
16 years agoAs I stipulated, my assumption was that he wanted (2^n)-1. So the desired result would in fact be (0,1,3,7,f,...). If that assumption is incorrect then all of the examples need tweaking.
Jake