Skip to content

Commit

Permalink
fix pre-commit issue
Browse files Browse the repository at this point in the history
  • Loading branch information
David Burnette committed Apr 18, 2024
1 parent f207eeb commit c2ed5fb
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions scripts/hls4ml
Original file line number Diff line number Diff line change
Expand Up @@ -328,16 +328,14 @@ def _build_catapult(args, extra_args):
print('Catapult HLS installation not found. Make sure "catapult" is on PATH.')
sys.exit(1)

ccs_args = '"reset={reset} csim={csim} synth={synth} cosim={cosim} validation={validation} export={export} vsynth={vsynth} fifo_opt={fifo_opt} bitfile={bitfile}"'.format(
reset=reset,
csim=csim,
synth=synth,
cosim=cosim,
validation=validation,
export=export,
vsynth=vsynth,
fifo_opt=fifo_opt,
bitfile=bitfile,
ccs_args = '"reset={re} csim={cs} synth={sy} cosim={co} validation={va} export={ex} vsynth={vs}"'.format(
re=reset,
cs=csim,
sy=synth,
co=cosim,
va=validation,
ex=export,
vs=vsynth,
)
ccs_invoke = catapult_exe + ' -shell -f build_prj.tcl -eval \'set ::argv ' + ccs_args + '\''
print(ccs_invoke)
Expand Down

0 comments on commit c2ed5fb

Please sign in to comment.