projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca2f3db
)
autoname: add testcase with $-prefix-ed port
author
Eddie Hung
<eddie@fpgeh.com>
Tue, 14 Jan 2020 18:13:03 +0000
(10:13 -0800)
committer
Eddie Hung
<eddie@fpgeh.com>
Tue, 14 Jan 2020 18:13:03 +0000
(10:13 -0800)
tests/various/autoname.ys
[new file with mode: 0644]
patch
|
blob
diff --git a/tests/various/autoname.ys
b/tests/various/autoname.ys
new file mode 100644
(file)
index 0000000..
830962e
--- /dev/null
+++ b/
tests/various/autoname.ys
@@ -0,0
+1,19
@@
+read_ilang <<EOT
+autoidx 2
+module \top
+ wire output 3 $y
+ wire input 1 \a
+ wire input 2 \b
+ cell $and \b_$and_B
+ parameter \A_SIGNED 0
+ parameter \A_WIDTH 1
+ parameter \B_SIGNED 0
+ parameter \B_WIDTH 1
+ parameter \Y_WIDTH 1
+ connect \A \a
+ connect \B \b
+ connect \Y $y
+ end
+end
+EOT
+autoname