dipin
Full Member level 4
- Joined
- Jul 16, 2014
- Messages
- 223
- Helped
- 14
- Reputation
- 28
- Reaction score
- 14
- Trophy points
- 18
- Activity points
- 1,731
hi,
this is my code. i think in sequential ,we need to use nonblocking assignment... but if i put put nonblocking assignment then iam not getting the result.my idea is
the shifted data must used in substraction,
and after only completion of substraction ,i need to check weather it is + or _ve and do the rest . so if i do like this is it synthesizable in fpga??
if it is not possible ,,any other methode to do nonblocking assignment instead of blocking assignment?
thanks and regards
Code:
.............................
end else if(!o_complete) begin
temp_in_data = temp_in_data << 2;
if(count > 0) begin
substraction = temp_in_data[15:8] - temp_sub_result[7:0];
if(substraction >= 0) begin
.......................
this is my code. i think in sequential ,we need to use nonblocking assignment... but if i put put nonblocking assignment then iam not getting the result.my idea is
the shifted data must used in substraction,
and after only completion of substraction ,i need to check weather it is + or _ve and do the rest . so if i do like this is it synthesizable in fpga??
if it is not possible ,,any other methode to do nonblocking assignment instead of blocking assignment?
thanks and regards