aboutsummaryrefslogtreecommitdiff
path: root/test/errors/high-form/InvalidLOC.fir
blob: a0a3cea96e9de1122e10473163e15301e2a48070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | 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.

circuit Top :
  module Top :
    wire x : UInt
    add(x,x) := UInt(1)
    UInt(1) := UInt(1)
    SInt(1) := UInt(1)