Skip to content

Commit

Permalink
Fix Vivado mock-up after last changes on the Vivado template
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomelo9 committed Jun 30, 2024
1 parent b26ac58 commit 063c5bb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/mocks/vivado
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,21 @@ tool = parser.prog
tcl = f'''
proc unknown args {{ }}
proc get_runs {{run_name}} {{
return $run_name
}}
proc get_property {{property run}} {{
if {{ $property eq "STATUS" }} {{
if {{ $run eq "synth_1" }} {{
return "synth_design Complete!"
}} elseif {{ $run eq "impl_1" }} {{
return "route_design Complete!"
}}
}}
return ""
}}
source {args.source}
'''

Expand Down

0 comments on commit 063c5bb

Please sign in to comment.