mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 13:18:56 +00:00
Added SAT generator and simple sat_solve command
This commit is contained in:
parent
3371563f2f
commit
46fbe9d262
7 changed files with 400 additions and 3 deletions
12
passes/sat/example.v
Normal file
12
passes/sat/example.v
Normal file
|
@ -0,0 +1,12 @@
|
|||
|
||||
module example(a, y);
|
||||
|
||||
input [15:0] a;
|
||||
output y;
|
||||
|
||||
wire gt = a > 12345;
|
||||
wire lt = a < 12345;
|
||||
assign y = !gt && !lt;
|
||||
|
||||
endmodule
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue