3
0
Fork 0
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:
Clifford Wolf 2015-01-18 12:57:36 +01:00
parent d3b35017f8
commit f630868bc9
2 changed files with 58 additions and 35 deletions

View file

@ -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