1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-30 02:32:53 +08:00

Fixing weird Vivado error

-Seems vivado doesn't like the "|=" operation??
This commit is contained in:
Andreas Olofsson 2016-01-20 21:45:55 -05:00
parent 45829c0231
commit 0804d8ea29

View File

@ -67,7 +67,7 @@ module emesh_mux (/*AUTOARG*/
begin begin
packet_out[PW-1:0] = 'b0; packet_out[PW-1:0] = 'b0;
for(i=0;i<N;i=i+1) for(i=0;i<N;i=i+1)
packet_out[PW-1:0] |= {(PW){grants[i]}} & packet_in[((i+1)*PW-1)-:PW]; packet_out[PW-1:0] = packet_out[PW-1:0] | {(PW){grants[i]}} & packet_in[((i+1)*PW-1)-:PW];
end end
endmodule // mesh_mux endmodule // mesh_mux