Skip to content

Commit

Permalink
Back to 50% trigger pos
Browse files Browse the repository at this point in the history
  • Loading branch information
leonschoorl committed Jan 29, 2025
1 parent a229d4c commit b46a74e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bittide-shake/src/Clash/Shake/Vivado.hs
Original file line number Diff line number Diff line change
Expand Up @@ -865,8 +865,8 @@ runHitlTestCase v testCase@HitlTestCase{name, parameters} driverFunc probesFileP

-- Set the trigger position at the start
-- execCmd_ v "set_property" ["control.trigger_position", "0", "[current_hw_ila]"]
-- Set the trigger position at 90% of the buffer
execCmd_ v "set_property" ["control.trigger_position", "[expr int(0.9 * ([get_property static.max_data_depth [current_hw_ila]]-1))]", "[current_hw_ila]"]
-- Set the trigger position at 50% of the buffer
execCmd_ v "set_property" ["control.trigger_position", "[expr int(0.5 * ([get_property static.max_data_depth [current_hw_ila]]-1))]", "[current_hw_ila]"]

run_hw_ila v ["[current_hw_ila]"]

Expand Down

0 comments on commit b46a74e

Please sign in to comment.