diff options
Diffstat (limited to 'test/errors/high-form/InvalidLOC.fir')
| -rw-r--r-- | test/errors/high-form/InvalidLOC.fir | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/errors/high-form/InvalidLOC.fir b/test/errors/high-form/InvalidLOC.fir new file mode 100644 index 00000000..5270577b --- /dev/null +++ b/test/errors/high-form/InvalidLOC.fir @@ -0,0 +1,18 @@ +; RUN: firrtl -i %s -o %s.flo -x X -p c | tee %s.out | FileCheck %s +; CHECK: Invalid connect to an expression that is not a reference or a WritePort. +; CHECK: Invalid connect to an expression that is not a reference or a WritePort. +; CHECK: Invalid connect to an expression that is not a reference or a WritePort. +; CHECK: Invalid connect to an expression that is not a reference or a WritePort. +; CHECK: Invalid connect to an expression that is not a reference or a WritePort. +; CHECK: Invalid connect to an expression that is not a reference or a WritePort. + +circuit Top : + module Top : + wire x : UInt + add(x,x) := UInt(1) + Pad(x,?) := UInt(1) + Register(x,x) := UInt(1) + ReadPort(x,x,x) := UInt(1) + UInt(1) := UInt(1) + SInt(1) := UInt(1) + |
