pepijndevos changed the topic of #apicula to: Project Apicula: bitstream documentation and tooling for Gowin FPGAs https://github.com/YosysHQ/apicula -- logs https://freenode.irclog.whitequark.org/apicula
_whitelogger has joined #apicula
FabM has joined #apicula
_whitelogger has joined #apicula
_whitelogger has joined #apicula
<pepijndevos> hmmm dilema...
<pepijndevos> The GW1N-1 has 6 clock pins, but there are 8 clock spines to fuzz
<pepijndevos> {'A6': 'SPINER0', 'B6': 'SPINER1', 'C6': 'SPINER2', 'D6': 'SPINER3', 'A7': 'SPINER4', 'B7': 'SPINER5'} {'A4': 'SPINEL0', 'B4': 'SPINEL1', 'C4': 'SPINEL2', 'D4': 'SPINEL3', 'A5': 'SPINEL4', 'B5': 'SPINEL5'}
<pepijndevos> Spot the pattern...
<pepijndevos> I'm tempted to just hardcode that part and complete the pattern for the last two bits.
<pepijndevos> I already have the fuzzer, but as of now that would only get you the 6 spines the vendor likes to use for the 6 clock pins I have
<pepijndevos> {'W830': 'IOB10A', 'CLK1': 'IOL5A', 'CLK2': 'IOL7A', 'LSR0': 'IOR5A', 'CLK0': 'IOB11A', 'LSR1': 'IOR7A'}
<pepijndevos> The sources are a lot more erratic though...
_whitelogger has joined #apicula
<omnitechnomancer> can the clock spines be used to route global resets or clock enables as well?
<pepijndevos> I think so... lemme see
<pepijndevos> In [15]: [dest for dest, srcs in db.grid[2][2].pips.items() if "GB00" in srcs]
<pepijndevos> Out[15]: ['CLK0', 'CLK1', 'CLK2', 'EW10', 'EW20']
<pepijndevos> huh....
<pepijndevos> There is a lot to learn... I should try what the vendor tools do when you route a global net to a reset or enable
<pepijndevos> So EW10 are weird things that go in two directions.
<pepijndevos> (east and west)
<pepijndevos> And the CE0 does take LB01 as an input, and I have no idea what that is.
<omnitechnomancer> weird
<pepijndevos> My guess is Global Branch and Local Branch, but what a local branch is remains to be determined
<pepijndevos> I have yet to find anything that *drives* a LB
<pepijndevos> What if.... EW10 silently drive them...
<pepijndevos> waaaaaa
<pepijndevos> I tried to apply my fuzzer to GW1NR-9 and it's... different
<pepijndevos> GW1N-1 has 2 center tiles for left and right... GW1NR-9 has THREE!!! HUH???
FabM has quit [Quit: Leaving]
omnitechnomancer has quit [Ping timeout: 244 seconds]
omnitechnomancer has joined #apicula
_whitelogger has joined #apicula