mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-15 15:25:28 +00:00
Improvements in assertpmux
This commit is contained in:
parent
e2570ffb87
commit
cb7dbf4070
6 changed files with 202 additions and 23 deletions
14
examples/smtbmc/demo6.v
Normal file
14
examples/smtbmc/demo6.v
Normal file
|
@ -0,0 +1,14 @@
|
|||
// Demo for assertpmux
|
||||
|
||||
module demo6 (input A, B, C, D, E, output reg Y);
|
||||
always @* begin
|
||||
Y = 0;
|
||||
if (A != B) begin
|
||||
(* parallel_case *)
|
||||
case (C)
|
||||
A: Y = D;
|
||||
B: Y = E;
|
||||
endcase
|
||||
end
|
||||
end
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue