<pepijndevos>
Suppose I want to add Gowin support to LiteX...
<pepijndevos>
Looking around a bit at the Latice stuff...
<pepijndevos>
Can a platform for example synth with yosys and use vendor PnR? Seems that with Lattice it's either Diamond or Trellis not a mix, right?
leons has joined #litex
nrossi1 has joined #litex
DerFetzer[m] has joined #litex
<zyp>
I don't see why not as long as it's added as a supported combination
<pepijndevos>
I guess
<pepijndevos>
I'm kinda unsure how the constraint stuff works, but the rest seems... doable
<_florent_>
pepijndevos: on Lattice FPGA we are indeed not mixing between Vendor/Open source toolchains. You choose either Diamond or Yosys/IceStorm/Trellis, but on Xilinx FPGAs it's possible to do the synthesis with Yosys and P&R with Vivado.
<_florent_>
pepijndevos: which Gowin board are you planning to support first? I could order one if that can help
guan has quit [Read error: Connection reset by peer]
<pepijndevos>
Time to copy stuff from Xilinx then I guess
<pepijndevos>
I hope I can use some of the code in Apicula to drive the vendor tools...
<pepijndevos>
Do you actually have a CI machine with a dozen FPGA boards connected? Would be funny...
<pepijndevos>
Do I actually need to implement all these special overrides, or just add them later as needed?
<pepijndevos>
Hm, it seems in the case of Xilinx there is still one toolchain, but vivado can use yosys.
<pepijndevos>
Is the toolchain parameter to the platform an implicit contract, or can I make my platform take a synth and a pnr toolchain seperately?
<pepijndevos>
What should I put in the copyright parts? Just me, just _florent_ , me and _florent_ ?
<pepijndevos>
What is build supposed to return?
kgugala_ has joined #litex
kgugala_ has quit [Read error: Connection reset by peer]
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 260 seconds]
<pepijndevos>
What's an easy way to test my platform without building a huge SoC?
<_florent_>
pepijndevos: thanks, i'll order the trenz board. I ordered some parts recently to build a CI machine with several boards connected to it but haven't had time yet to build it.
<_florent_>
that's basically a SoC with CPU + ROM + SRAM + UART that should work on all devices
<pepijndevos>
I think I'm getting there... but Gowin keeps changing their TCL API so everything is different with the newest version
<_florent_>
this just requires a clock input + UART pins
<_florent_>
and should not require the special overrides
<pepijndevos>
I now took the first example for the tutorial which is even more basic hehe, but yea once I have anything working *at all* that one will be next.
<pepijndevos>
But yea, basically they completely change their api on patch version. Between 1.9.3 and 1.9.6 it just completely broke all my existing code, so can't promise anything I'm writing now will work in 1.9.7 :(((
<_florent_>
for the copyrights, feel free to only add your name, most of the work here is not really what is reused from other toolchain support but more figuring out how to use/drive the toolchain, so the work you are currently doing.
<pepijndevos>
alright
kgugala_ has quit [Read error: Connection reset by peer]
kgugala has joined #litex
_whitelogger has joined #litex
lf has quit [Quit: No Ping reply in 180 seconds.]
lf has joined #litex
_whitelogger has joined #litex
FFY00 has quit [Remote host closed the connection]