sobella1923
Newbie level 4
- Joined
- Jun 17, 2013
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 43
is it possible to assign a negative value to a reg in verilog. I have
reg [11:0] ptr;
instead of 0 i want to initialize this vector with -1
ptr=-1-1-1-1-1-1-1-1-1-1-1-1
how can i do that???
reg [11:0] ptr;
instead of 0 i want to initialize this vector with -1
ptr=-1-1-1-1-1-1-1-1-1-1-1-1
how can i do that???