aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-14 11:40:54 -0800
committerGitHub <noreply@github.com>2020-01-14 11:40:54 -0800
commit61ffd2d1996befd8c27c4f36f07567824bd7605e (patch)
treee1e2a1372e3feb25fa1b7472b020116acc8382dd /tests
parent9fa0e03cc90548d0817346d0fcd72473b7d489ae (diff)
parentde969adcd8214592dfa32be5b61903fe7893d29b (diff)
downloadyosys-61ffd2d1996befd8c27c4f36f07567824bd7605e.tar.gz
yosys-61ffd2d1996befd8c27c4f36f07567824bd7605e.tar.bz2
yosys-61ffd2d1996befd8c27c4f36f07567824bd7605e.zip
Merge pull request #1633 from YosysHQ/eddie/fix_autoname
autoname: do not rename ports
Diffstat (limited to 'tests')
-rw-r--r--tests/various/autoname.ys19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/various/autoname.ys b/tests/various/autoname.ys
new file mode 100644
index 000000000..830962e81
--- /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