|
38 | 38 | // CHECK-NEXT: xls.chan @fetch_arg0 : i32 |
39 | 39 | // CHECK-NEXT: xls.chan @fetch_arg1 : i32 |
40 | 40 | // CHECK-NEXT: xls.instantiate_eproc @fetch (@fetch_arg0 as @req, @fetch_arg1 as @resp) |
41 | | -// CHECK-NEXT: xls.chan @boundary1 {send_supported = false} : i32 |
| 41 | +// CHECK-NEXT: xls.chan @boundary1 {fifo_config = #xls.fifo_config<fifo_depth = 1, bypass = true, register_push_outputs = true, register_pop_outputs = false>, input_flop_kind = #xls<flop_kind skid>, send_supported = false} : i32 |
42 | 42 | // CHECK-NEXT: xls.chan @boundary2 {recv_supported = false} : i32 |
43 | 43 | // CHECK-NEXT: xls.instantiate_eproc @rom (@rom_arg0 as @boundary1, @rom_arg1 as @boundary2) |
44 | 44 |
|
@@ -77,7 +77,10 @@ xls.sproc @proxy(%req: !xls.schan<i32, in>, %resp: !xls.schan<i32, out>) attribu |
77 | 77 | } |
78 | 78 | } |
79 | 79 |
|
80 | | -xls.sproc @rom(%req: !xls.schan<i32, in>, %resp: !xls.schan<i32, out>) top attributes {boundary_channel_names = ["boundary1", "boundary2"]} { |
| 80 | +xls.sproc @rom(%req: !xls.schan<i32, in>, %resp: !xls.schan<i32, out>) top attributes {boundary_channels = [ |
| 81 | + #xls.boundary_channel<name = "boundary1", fifo_config = #xls.fifo_config<fifo_depth = 1, bypass = true, register_push_outputs = true, register_pop_outputs = false>, input_flop_kind = #xls<flop_kind skid>>, |
| 82 | + #xls.boundary_channel<name = "boundary2"> |
| 83 | +]} { |
81 | 84 | spawns { |
82 | 85 | xls.yield %req, %resp : !xls.schan<i32, in>, !xls.schan<i32, out> |
83 | 86 | } |
@@ -144,7 +147,9 @@ module { |
144 | 147 | xls.yield %0 : index |
145 | 148 | } |
146 | 149 | } |
147 | | - xls.sproc @some_wrapped_machine(%arg0: !xls.schan<tensor<i32>, in>, %arg1: !xls.schan<tensor<i32>, out>, %arg2: !xls.schan<tensor<i32>, out>) top attributes {boundary_channel_names = ["x['y']", "x['y']1", "x['y']2"]} { |
| 150 | + xls.sproc @some_wrapped_machine(%arg0: !xls.schan<tensor<i32>, in>, %arg1: !xls.schan<tensor<i32>, out>, %arg2: !xls.schan<tensor<i32>, out>) top attributes { |
| 151 | + boundary_channels = [#xls.boundary_channel<name = "x['y']">, #xls.boundary_channel<name = "x['y']1">, #xls.boundary_channel<name = "x['y']2">] |
| 152 | + } { |
148 | 153 | spawns { |
149 | 154 | %out, %in = xls.schan<tensor<i32>>("x['y']") |
150 | 155 | %out_0, %in_1 = xls.schan<tensor<i32>>("x['y']") |
|
0 commit comments