Skip to content

Commit

Permalink
fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
hunhoffe committed Nov 23, 2024
1 parent 379f7b8 commit bbdd9e4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions python/iron/program.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,10 @@ def device_body():
# Resolve tiles
for t in all_tiles:
self._device.resolve_tile(t)
self._print_verify(ctx)

# Generate fifos
for f in all_fifos:
f.resolve()
self._print_verify(ctx)

# generate functions - this may call resolve() more than once on the same fifo, but that's ok
for w in workers:
Expand All @@ -64,17 +62,15 @@ def device_body():
arg.emit()
else:
arg.resolve()
self._print_verify(ctx)

# Generate core programs
for w in workers:
w.resolve()
self._print_verify(ctx)

# In/Out Sequence
self._rt.resolve()
self._print_verify(ctx)

self._print_verify(ctx)
print(ctx.module)

def _print_verify(self, ctx):
Expand Down

0 comments on commit bbdd9e4

Please sign in to comment.