mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-30 02:32:53 +08:00
Fixing bug from 3 years ago!
- If a tree falls in a forest and no one is around to hear it, does it make a sound?
This commit is contained in:
parent
6ea6c039cf
commit
7edfcb5f05
@ -27,7 +27,7 @@ module oh_mux
|
|||||||
for(i=0;i<M;i=i+1)
|
for(i=0;i<M;i=i+1)
|
||||||
mux[N-1:0] = mux[N-1:0] | {(N){sel[i]}} & in[((i+1)*N-1)-:N];
|
mux[N-1:0] = mux[N-1:0] | {(N){sel[i]}} & in[((i+1)*N-1)-:N];
|
||||||
end
|
end
|
||||||
assign out[N-1:0] = mux[N-1];
|
assign out[N-1:0] = mux[N-1:0];
|
||||||
end
|
end
|
||||||
else begin
|
else begin
|
||||||
//TODO: implement
|
//TODO: implement
|
||||||
|
Loading…
x
Reference in New Issue
Block a user