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:
parent
45829c0231
commit
0804d8ea29
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user