Skip to content

Commit eecc117

Browse files
Remove outdated documentation in demos (#1111)
1 parent a7238c7 commit eecc117

3 files changed

Lines changed: 7 additions & 48 deletions

File tree

bittide-instances/src/Bittide/Instances/Hitl/SoftUgnDemo/BringUp.hs

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff 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
-}
10086
bringUp ::
10187
"REFCLK" ::: Clock Basic125 ->

bittide-instances/src/Bittide/Instances/Hitl/SwitchDemo/BringUp.hs

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff 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
-}
10087
bringUp ::
10188
"REFCLK" ::: Clock Basic125 ->

bittide-instances/src/Bittide/Instances/Hitl/SwitchDemoGppe/BringUp.hs

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff 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
-}
10086
bringUp ::
10187
"REFCLK" ::: Clock Basic125 ->

0 commit comments

Comments
 (0)