Forum Discussion
Altera_Forum
Honored Contributor
16 years agoTry to move part of the code into a concurent statement. Something like this:
assign aux = frame_line_size - (player_1_length << 1); And then rewrite your code as: if((controller_buffer[RIGHTPAD]) && (player_1_pos < aux)) begin player_1_pos = player_1_pos + 1; end