Verilog shift operation (>>)

Status
Not open for further replies.

priya17

Newbie level 5
Joined
Apr 4, 2013
Messages
8
Helped
0
Reputation
0
Reaction score
1
Trophy points
1,281
Activity points
1,333
for (i=0;i<2;i=i+1)
j=i>>2;
h=(1>>2)-j;

what will be the value of h and j?
 

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