Skip to content

Commit 5e82549

Browse files
committed
Fix the R2 adapter and the INST/FILT breakout boxes too
1 parent 9125e4c commit 5e82549

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

r3/comp/inst_breakout.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ local function build_inst_filt(do_inst, params, params_name, derived_params)
216216
local target_1 = part({ type = pt.ARAY, x = target_reset.x, y = target_reset.y + 1 })
217217
cray(x_read + 5, 0, target_0.x, target_0.y, pt.DTEC, 2, pt.PSCN)
218218
cray(x_read + 5, 0, target_0.x, target_0.y, pt.DTEC, 2, pt.PSCN)
219+
cray(x_read + 5, 0, target_0.x, target_0.y, pt.DTEC, 2, pt.PSCN)
220+
cray(x_read + 5, 0, target_0.x, target_0.y, pt.DTEC, 2, pt.PSCN)
219221
part({ type = pt.FILT, x = x_read , y = 0 })
220222
part({ type = pt.STOR, x = x_read + 1, y = 0 })
221223
part({ type = pt.FILT, x = x_read + 2, y = 0, tmp = 7, ctype = bitx.bor(0x10080000, params.base_address) })

r3/comp/r2_adapter.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ local function build(params, params_name)
9090
local target_1 = part({ type = pt.ARAY, x = target_reset.x, y = target_reset.y + 1 })
9191
cray(x_recv + 5, 0, target_0.x, target_0.y, pt.DTEC, 2, pt.PSCN)
9292
cray(x_recv + 5, 0, target_0.x, target_0.y, pt.DTEC, 2, pt.PSCN)
93+
cray(x_recv + 5, 0, target_0.x, target_0.y, pt.DTEC, 2, pt.PSCN)
94+
cray(x_recv + 5, 0, target_0.x, target_0.y, pt.DTEC, 2, pt.PSCN)
9395
part({ type = pt.ARAY, x = x_recv + 5, y = 8 })
9496
dray(x_recv + 5, 9, target_0.x, target_0.y, 1, pt.PSCN)
9597
dray(x_recv + 5, 9, target_1.x, target_1.y, 1, pt.PSCN)
@@ -111,6 +113,8 @@ local function build(params, params_name)
111113
local target_1 = part({ type = pt.ARAY, x = target_reset.x, y = target_reset.y + 1 })
112114
cray(x_wait + 5, 0, target_0.x, target_0.y, pt.DTEC, 2, pt.PSCN)
113115
cray(x_wait + 5, 0, target_0.x, target_0.y, pt.DTEC, 2, pt.PSCN)
116+
cray(x_wait + 5, 0, target_0.x, target_0.y, pt.DTEC, 2, pt.PSCN)
117+
cray(x_wait + 5, 0, target_0.x, target_0.y, pt.DTEC, 2, pt.PSCN)
114118
bump_check = part({ type = pt.FILT, x = x_wait + 1, y = 0, tmp = 2, ctype = 0x20000000 })
115119
part({ type = pt.FILT, x = x_wait + 2, y = 0, tmp = 7, ctype = bitx.bor(0x30090000, params.bump_address) })
116120
part({ type = pt.FILT, x = x_wait + 3, y = 0, ctype = 0x10000004 })
@@ -332,6 +336,8 @@ local function build(params, params_name)
332336
local target_1 = part({ type = pt.ARAY, x = target_reset.x, y = target_reset.y + 1 })
333337
cray(x_wait + 4, 0, target_0.x, target_0.y, pt.DTEC, 2, pt.PSCN)
334338
cray(x_wait + 4, 0, target_0.x, target_0.y, pt.DTEC, 2, pt.PSCN)
339+
cray(x_wait + 4, 0, target_0.x, target_0.y, pt.DTEC, 2, pt.PSCN)
340+
cray(x_wait + 4, 0, target_0.x, target_0.y, pt.DTEC, 2, pt.PSCN)
335341
part({ type = pt.ARAY, x = x_wait + 4, y = 8 })
336342
dray(x_wait + 4, 9, target_0.x, target_0.y, 1, pt.PSCN)
337343
dray(x_wait + 4, 9, target_1.x, target_1.y, 1, pt.PSCN)

0 commit comments

Comments
 (0)