Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

How do I identify carry/overflow condition in Verilog?

Hi I need to identify an overflow condition for a counter in Verilog code. Say that count register is 16bits wide; I make the assignment count <= count + 1 and I need to know when the ove...