<bubble_buster>
I tried platform.request("GPIO:6"), request("GPIO", 6), those didn't work. seems connectors are treated differently than io so they can't be accessed with request()?
_whitelogger has joined #litex
<bubble_buster>
ah, seems I need to define a new group of signals (which can leverage the naming provided by the connectors array) and pass that to add_extension()
<davidcorrigan714>
daveshah Happen to be around? Had a Lattice licensing question I figured you might have some insight on
<daveshah>
Yeah sure
<davidcorrigan714>
So I'm trying to get the PLL on the crosslink-nx working with LiteX. One hard part is that the IP generator in Radiant calculates some analog values to tune the PLL for the given frequency set. Can't find any documentation on the parameters, but lo and behold they're all calculated with a Python script in the IP generator data installed with
<davidcorrigan714>
Radiant. Not entirely sure how to legally leverage that to include the calculations in an OSS project. The file says
<davidcorrigan714>
# Lattice SG Pte. Ltd. grants permission to use this code# pursuant to the terms of the Lattice Reference Design License Agreement.
<daveshah>
ianal, etc, but the maths in such a file should be a fact and not copyrightable
<daveshah>
The code is, and it is not compatible with any OSS license due to this clause
<daveshah>
personal, non-exclusive, non-transferable right to use and modify the Reference Design selected for download in source code form for the sole purposes of creating and implementing design to program Lattice programmable logic devices
<davidcorrigan714>
Sounds right. Just have to figure out a way to separate the two. Suppose I can write out all the math then reimplement it in code, it's just a lot of math to sift through.
<CarlFK>
or approach them with some offer about "change the license on this code so we can promote your hardware"
<CarlFK>
mithro: ^^ I suspect you have things to say about this
lkcl_ is now known as lkcl_away
CarlFK has quit [Quit: Leaving.]
indy has quit [Ping timeout: 240 seconds]
indy has joined #litex
lf has quit [Ping timeout: 260 seconds]
lf_ has joined #litex
<davidcorrigan714>
In the case of the PLL it's a pretty critical chunk of code and I really don't know how you'd leverage it for anything other than building designs for their hardware. Even if they'd release some documentation on the math it'd be a bit easier than trying to decipher the python.
<lkcl_away>
daveshah: oleee! POWER9 cmp instruction fixed - Memtest works