Skip to content

Commit

Permalink
Update spade integration
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasKl committed Jul 5, 2024
1 parent 6e3e9d7 commit 8cafe9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wal/spade.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ def __init__(self, pass_dirs, wavefile):
for pass_dir in pass_dirs:
wal.append_walpath(pass_dir)

wal.eval_str('(require spade-definitions)')
wal.eval_str('(eval-file spade-definitions)')
wal.eval_str(f'(define TEST "{self.testname}")')
self.wal = wal
self.config_file = wavefile.with_suffix('')
wal.eval_str(f'(require "{self.config_file}")')
wal.eval_str(f'(eval-file "{self.config_file}")')
wal.load(str(wavefile))
self.top = wal.eval_str('top_name')
self.spade = Spade(self.top, 'build/state.ron')
Expand Down

0 comments on commit 8cafe9f

Please sign in to comment.