Skip to content

Commit

Permalink
More debug signals
Browse files Browse the repository at this point in the history
  • Loading branch information
leonschoorl committed Dec 12, 2024
1 parent 2aec356 commit 1efc421
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bittide-instances/src/Bittide/Instances/Hitl/Transceivers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@ transceiversUpTest refClkDiff sysClkDiff syncIn rxns rxps miso =
:> "probe_failAfterUpSticky"
:> "probe_anyErrors"
:> "probe_expectCounterError"
:> "probe_sysRst"
:> "probe_startTest"
:> "probe_syncInRst"
:> Nil
)
{ depth = D16384
Expand All @@ -268,8 +271,11 @@ transceiversUpTest refClkDiff sysClkDiff syncIn rxns rxps miso =
failAfterUpSticky
anyErrors
expectCounterErrorSys
(unsafeToActiveHigh sysRst)
startTest
(unsafeToActiveHigh syncInRst)

capture = anyChange sysClk sysRst $ bundle (linkUps, allUp, failAfterUp, failAfterUpSticky, anyErrors)
capture = anyChange sysClk sysRst $ bundle (linkUps, allUp, failAfterUp, failAfterUpSticky, anyErrors, expectCounterErrorSys,unsafeToActiveHigh sysRst,startTest,unsafeToActiveHigh syncInRst)
timeSucc = countSucc @(Unsigned 16, Index (PeriodToCycles Basic125 (Milliseconds 1)))
timer = register sysClk sysRst enableGen (0, 0) (timeSucc <$> timer)
milliseconds1 = fst <$> timer
Expand Down

0 comments on commit 1efc421

Please sign in to comment.