blob: 85911c06b1dd90b91f8a45ce0c1d197bf73899b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s
; CHECK: Done!
circuit Top :
module Top :
wire x : UInt<1>
x <= UInt(1)
wire x~y : UInt<2>
x~y <= UInt(1)
wire x!y : UInt<2>
x!y <= UInt(1)
wire x@y : UInt<2>
x@y <= UInt(1)
wire x#y : UInt<2>
x#y <= UInt(1)
wire x%y : UInt<2>
x%y <= UInt(1)
wire x^y : UInt<2>
x^y <= UInt(1)
wire x*y : UInt<2>
x*y <= UInt(1)
wire x-y : UInt<2>
x-y <= UInt(1)
wire x_y : UInt<2>
x_y <= UInt(1)
wire x+y : UInt<2>
x+y <= UInt(1)
wire x=y : UInt<2>
x=y <= UInt(1)
wire x?y : UInt<2>
x?y <= UInt(1)
wire x/y : UInt<2>
x/y <= UInt(1)
|