What is the difference between the following code?

Status
Not open for further replies.
Joined
Jun 8, 2010
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
bangalore
Activity points
1,320
What is the difference between the following code?

Cntr <= cntr+ 33d’1;

Cntr <= cntr + 1’b1;
 

Prabably none, as 1'b1 is extended to the size of cntr. Presumed cntr isn't signed.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…