mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-30 02:32:53 +08:00
Fixed issue with DC verilog parser
-Apparentely "|=" is not allowed??
This commit is contained in:
parent
d7769070fc
commit
0d61520268
@ -21,7 +21,7 @@ module oh_mux #( parameter DW = 1, // width of data inputs
|
||||
begin
|
||||
out[DW-1:0] = 'b0;
|
||||
for(i=0;i<N;i=i+1)
|
||||
out[DW-1:0] |= {(DW){sel[i]}} & in[((i+1)*DW-1)-:DW];
|
||||
out[DW-1:0] = out[DW-1:0] | {(DW){sel[i]}} & in[((i+1)*DW-1)-:DW];
|
||||
end
|
||||
|
||||
endmodule // oh_mux
|
||||
|
Loading…
x
Reference in New Issue
Block a user