diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-01-18 12:57:36 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-01-18 12:57:36 +0100 |
commit | f630868bc992d0c26b38a7e48933545b461249f1 (patch) | |
tree | eca5e4ec320f3d814a9a76086b1d85c6c6ca1765 /tests/simple | |
parent | d3b35017f8acc862aeab7e7b67bfb1063e6bcd2a (diff) | |
download | yosys-f630868bc992d0c26b38a7e48933545b461249f1.tar.gz yosys-f630868bc992d0c26b38a7e48933545b461249f1.tar.bz2 yosys-f630868bc992d0c26b38a7e48933545b461249f1.zip |
Improvements in opt_muxtree
Diffstat (limited to 'tests/simple')
-rw-r--r-- | tests/simple/muxtree.v | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/simple/muxtree.v b/tests/simple/muxtree.v index c5060eae9..46c78d4cf 100644 --- a/tests/simple/muxtree.v +++ b/tests/simple/muxtree.v @@ -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 + |