Altera_Forum
Honored Contributor
13 years agoNewbie Verilog Math Q
From my reading, it appears that a register is a 2s complement signed value. Is this correct?
In other words, is the following accurate (please correct if not): reg [31:0] reg1; reg [31:0] reg2; If reg1 = FFFFFFFF and reg2 = 2, is the value of reg1+reg2 = 1 Thanks, in advance, ME