Forum Discussion
Altera_Forum
Honored Contributor
15 years agosorry for my earlier post. Your code was ok with connections but the names misled me.
Anyway, it seems that skip_bits in your case should be set to 1 maximum and then quartus accepts it. My experience with lpm divider is fresh and I think they mean that 7 bits(0~127)/3 bits(0~7) can have quotients from 127(127/1) ~ 18(127/7). If we ignore 1 then max quotient is 127/2 and needs 6 bits hence 1 bit can be skipped. but sounds silly if only one bit is allowed skip as div/2 means one bit less always.