From 1efc4217bf13a5e4864ad7f9b281feb9c0739678 Mon Sep 17 00:00:00 2001 From: Leon Schoorl Date: Thu, 12 Dec 2024 14:09:14 +0100 Subject: [PATCH] More debug signals --- .../src/Bittide/Instances/Hitl/Transceivers.hs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bittide-instances/src/Bittide/Instances/Hitl/Transceivers.hs b/bittide-instances/src/Bittide/Instances/Hitl/Transceivers.hs index 51dcb2527..399549637 100644 --- a/bittide-instances/src/Bittide/Instances/Hitl/Transceivers.hs +++ b/bittide-instances/src/Bittide/Instances/Hitl/Transceivers.hs @@ -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 @@ -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