Forum Discussion
Altera_Forum
Honored Contributor
14 years agohow to write verilog code for checking overlapping group of 3bits?
If I have a 7bits multiplier, (let's say 0010110), how do I write verilog code to check for the bits in overlapping group of 3, such as (starting from lsb 110, then 101, then 001)? Assuming I do not ...
Altera_Forum
Honored Contributor
14 years agoYou can use a loop and increase the index by 2 on each iteration, until you reach the msb.