projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0221f3e
)
Add test
author
Eddie Hung
<eddie@fpgeh.com>
Thu, 20 Jun 2019 17:10:43 +0000
(10:10 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Thu, 20 Jun 2019 17:13:52 +0000
(10:13 -0700)
tests/various/signext.ys
[new file with mode: 0644]
patch
|
blob
diff --git a/tests/various/signext.ys
b/tests/various/signext.ys
new file mode 100644
(file)
index 0000000..
26dab13
--- /dev/null
+++ b/
tests/various/signext.ys
@@ -0,0
+1,24
@@
+
+read_verilog -formal <<EOT
+module gate(input clk, output [1:0] o);
+assign o = 1'bx;
+endmodule
+EOT
+
+
+## Example usage for "pmuxtree" and "muxcover"
+
+proc
+
+## Equivalence checking
+
+read_verilog -formal <<EOT
+module gold(input clk, output [1:0] o);
+assign o = 2'bxx;
+endmodule
+EOT
+
+proc
+
+miter -equiv -flatten -make_assert -make_outputs gold gate miter
+sat -verify -prove-asserts -show-ports -enable_undef miter