File tree Expand file tree Collapse file tree
bittide-instances/src/Bittide/Instances/Hitl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,23 +79,9 @@ bootPeConfig =
7979 , includeIlaWb = False
8080 }
8181
82- {- | Reset logic:
82+ {- | See 'Bittide.Instances.Hitl.SwitchDemo.BringUp.bringUp'
8383
84- HW:
85-
86- 1. Wait for SPI
87- 2. Wait for transceivers handshakes (=> all domains are up after this)
88- 3. Send local counter for one cycle, connect to switch after (=> in parallel
89- with steps 4 and onwards, just wait until the transceiver says it's sampling from the
90- transmit data input (@txDatas@))
91- 4a. Deassert CC CPU reset
92- 4b. Deassert Bittide domain reset (=> MU CPU, PE)
93- 5. Wait for stable buffers
94- 6. Wait for elastic buffer initialization (=> signal we're ready to receive data)
95-
96- SW (MU):
97-
98- 1. Wait for all UGNs to be captured
84+ TODO: Deduplicate
9985-}
10086bringUp ::
10187 " REFCLK" ::: Clock Basic125 ->
Original file line number Diff line number Diff line change @@ -79,23 +79,10 @@ bootPeConfig =
7979 , includeIlaWb = False
8080 }
8181
82- {- | Reset logic:
82+ {- | See https://github.com/bittide/bittide-hardware/issues/1106#issue-3693588346
83+ for information on reset logic.
8384
84- HW:
85-
86- 1. Wait for SPI
87- 2. Wait for transceivers handshakes (=> all domains are up after this)
88- 3. Send local counter for one cycle, connect to switch after (=> in parallel
89- with steps 4 and onwards, just wait until the transceiver says it's sampling from the
90- transmit data input (@txDatas@))
91- 4a. Deassert CC CPU reset
92- 4b. Deassert Bittide domain reset (=> MU CPU, PE)
93- 5. Wait for stable buffers
94- 6. Wait for elastic buffer initialization (=> signal we're ready to receive data)
95-
96- SW (MU):
97-
98- 1. Wait for all UGNs to be captured
85+ TODO: Describe all this in mdbook
9986-}
10087bringUp ::
10188 " REFCLK" ::: Clock Basic125 ->
Original file line number Diff line number Diff line change @@ -79,23 +79,9 @@ bootPeConfig =
7979 , includeIlaWb = False
8080 }
8181
82- {- | Reset logic:
82+ {- | See 'Bittide.Instances.Hitl.SwitchDemo.BringUp.bringUp'
8383
84- HW:
85-
86- 1. Wait for SPI
87- 2. Wait for transceivers handshakes (=> all domains are up after this)
88- 3. Send local counter for one cycle, connect to switch after (=> in parallel
89- with steps 4 and onwards, just wait until the transceiver says it's sampling from the
90- transmit data input (@txDatas@))
91- 4a. Deassert CC CPU reset
92- 4b. Deassert Bittide domain reset (=> MU CPU, PE)
93- 5. Wait for stable buffers
94- 6. Wait for elastic buffer initialization (=> signal we're ready to receive data)
95-
96- SW (MU):
97-
98- 1. Wait for all UGNs to be captured
84+ TODO: Deduplicate
9985-}
10086bringUp ::
10187 " REFCLK" ::: Clock Basic125 ->
You can’t perform that action at this time.
0 commit comments