aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorazidar2016-01-25 15:59:59 -0800
committerazidar2016-01-25 15:59:59 -0800
commiteeb565de1005927bcfd7bde15bd1d4e09394cb78 (patch)
tree832225a9cb8fbdb3f9a5483a90c5eb581508e780 /test
parent25131f76567f92f18a46c41156f3a88b319591de (diff)
Added verilog rename pass
Diffstat (limited to 'test')
-rw-r--r--test/features/VerilogRename.fir18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/features/VerilogRename.fir b/test/features/VerilogRename.fir
new file mode 100644
index 00000000..f8fceaa9
--- /dev/null
+++ b/test/features/VerilogRename.fir
@@ -0,0 +1,18 @@
+; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s
+circuit Top :
+ module Top :
+ input with : Clock
+ output unsigned : Clock
+ wire trireg : Clock
+ unsigned <= with
+ trireg <= with
+
+;CHECK: Verilog Rename
+
+;CHECK: input with$ : Clock
+;CHECK: output unsigned$ : Clock
+;CHECK: wire trireg$ : Clock
+;CHECK: trireg$ <= with$
+;CHECK: unsigned$ <= with$
+
+;CHECK: Done!