mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-06 11:20:27 +00:00
Improvements in opt_muxtree
This commit is contained in:
parent
d3b35017f8
commit
f630868bc9
2 changed files with 58 additions and 35 deletions
|
@ -70,3 +70,11 @@ end
|
|||
|
||||
endmodule
|
||||
|
||||
|
||||
// test case for muxtree with select on leaves
|
||||
|
||||
module select_leaves(input C, D, output reg Q);
|
||||
always @(posedge C)
|
||||
Q <= Q ? Q : D ? 1'b1 : Q;
|
||||
endmodule
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue