tpb has quit [Remote host closed the connection]
tpb has joined #symbiflow
sparshgupta has quit [Remote host closed the connection]
sparshgupta has joined #symbiflow
sparshgupta has left #symbiflow [#symbiflow]
acomodi has quit [Quit: Connection closed for inactivity]
Degi_ has joined #symbiflow
Degi has quit [Ping timeout: 256 seconds]
Degi_ is now known as Degi
Vonter has quit [Ping timeout: 260 seconds]
Vonter has joined #symbiflow
wavedrom1 has joined #symbiflow
Degi has quit [Ping timeout: 265 seconds]
wavedrom has quit [Quit: The Lounge - https://thelounge.chat]
wavedrom has joined #symbiflow
Degi has joined #symbiflow
citypw has joined #symbiflow
az0re has quit [Remote host closed the connection]
az0re has joined #symbiflow
Bertl_oO is now known as Bertl_zZ
wavedrom has quit [Quit: The Lounge - https://thelounge.chat]
nonlinear has quit [Ping timeout: 256 seconds]
_whitelogger has joined #symbiflow
_whitelogger has joined #symbiflow
wavedrom has joined #symbiflow
nonlinear has joined #symbiflow
wavedrom has quit [Ping timeout: 264 seconds]
wavedrom has joined #symbiflow
<daniellimws> mithro: Am I right to say everything inside https://github.com/SymbiFlow/symbiflow-arch-defs/tree/master/vpr are meant to be test cases for VPR?
<tpb> Title: symbiflow-arch-defs/vpr at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)
wavedrom has quit [Ping timeout: 265 seconds]
OmniMancer has joined #symbiflow
OmniMancer1 has quit [Ping timeout: 265 seconds]
<mithro> daniellimws: Common building blocks for creating VPR architectures
<tpb> Title: symbiflow-arch-defs/xc/xc7/tests/soc/litex at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)
<tpb> Title: symbiflow-arch-defs/xc/xc7/tests/soc/litex/mini_ddr at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)
<mithro> Bed time for me
tcal has quit [Ping timeout: 260 seconds]
tcal has joined #symbiflow
kraiskil has joined #symbiflow
<_whitenotifier-3> [symbiflow-arch-defs] acomodi opened issue #1400: Diff tests fail for BRAM test 36 - https://git.io/JvA4x
Vonter has quit [Ping timeout: 256 seconds]
Vonter has joined #symbiflow
Bertl_zZ is now known as Bertl
adjtm_ has quit [Quit: Leaving]
adjtm has joined #symbiflow
adjtm has quit [Remote host closed the connection]
adjtm has joined #symbiflow
kraiskil has quit [Ping timeout: 256 seconds]
rvalles has quit [Ping timeout: 260 seconds]
rvalles has joined #symbiflow
rvalles has quit [Ping timeout: 265 seconds]
rvalles has joined #symbiflow
<daniellimws> mithro: Adding to my question earlier, are the makefiles under vpr/muxes https://github.com/SymbiFlow/symbiflow-arch-defs/tree/master/vpr/muxes/logic meant to generate the pbxml files from the verilog sources, hence the purpose of the test cases? Asking because I was not able to generate the xml files, and not exactly sure what the verilog sources are for
<tpb> Title: symbiflow-arch-defs/vpr/muxes/logic at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)
kraiskil has joined #symbiflow
<mithro> daniellimws: The code to convert verilog to pbxml has moved to https://github.com/SymbiFlow/python-symbiflow-v2x
<tpb> Title: GitHub - SymbiFlow/python-symbiflow-v2x: Tool for converting specialized annotated Verilog models into XML needed for Verilog to Routing flow. (at github.com)
<mithro> daniellimws: Test cases for that conversion tool at under https://github.com/SymbiFlow/python-symbiflow-v2x/tree/master/tests
<tpb> Title: python-symbiflow-v2x/tests at master · SymbiFlow/python-symbiflow-v2x · GitHub (at github.com)
<daniellimws> mithro: So should I still implement test cases under vpr/ in symbiflow-arch-defs?
<mithro> daniellimws: Depends on what you are trying to do?
<mithro> Apologize if you have told me previously, I have a pretty bad memory
<daniellimws> Hmm, now just finding somewhere I can contribute to while learning more about FPGA primitives
<daniellimws> I suppose this isn't the best place?
<mithro> daniellimws: Expanding out the examples in v2x could be a good place to look into (which would be under https://github.com/SymbiFlow/python-symbiflow-v2x/tree/master/tests)
<tpb> Title: python-symbiflow-v2x/tests at master · SymbiFlow/python-symbiflow-v2x · GitHub (at github.com)
<mithro> daniellimws: If you are looking at potentially writing cocotb tests, I would suggest looking at the xc7 primitives for LUTRAM / BRAM
<daniellimws> mithro: I'm wondering if cocotb tests are needed for vpr design sources? I don't see any in that repo. Or are they good to have but no one has added them yet?
<mithro> daniellimws: However a bunch of the v2x functionality is broken for xc7 primitives
<mithro> daniellimws: cocotb tests are probably not needed for the stuff under the vpr directory -- that would be more feeling out how the cocotb tests should be integrated
<daniellimws> mithro: Could you suggest any primitives that I can add? And how would I verify that they are correct?
citypw has quit [Ping timeout: 240 seconds]
OmniMancer has quit [Quit: Leaving.]
Bertl is now known as Bertl_oO
bunnie[m] has left #symbiflow ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
<mithro> daniellimws: I think it is mostly verifying primitives at the moment rather than adding them
<mithro> acomodi: ping?
<tpb> Title: symbiflow-arch-defs/xc/common/primitives/ramb18e1 at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)
nrossi has left #symbiflow ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
<tpb> Title: symbiflow-arch-defs/xc/common/primitives/bram at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)
<tpb> Title: symbiflow-arch-defs/xc/common/primitives/slicem at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)
<sf-slack> <acomodi> @mithro: I believe those are not used anymore? They have been moved to https://github.com/SymbiFlow/symbiflow-arch-defs/tree/master/xc/common/primitives/bram
<tpb> Title: symbiflow-arch-defs/xc/common/primitives/bram at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)
<_whitenotifier-3> [symbiflow-arch-defs] mithro opened issue #1401: Empty directories with just CMakefiles? - https://git.io/JvAM6
<sf-slack> <acomodi> probably a leftover during the refactoring of the xc7 tree
<sf-slack> <acomodi> Uncaught by CI as the ramb18e1 and rambfifo36 subdirectories were not included in the CMakeLists.txt
<_whitenotifier-3> [symbiflow-arch-defs] mithro opened issue #1402: Broken documentation for dram - https://git.io/JvAM9
<mithro> acomodi: We should add something in the CI which detects CMakeLists.txt files which are not included.
<_whitenotifier-3> [symbiflow-arch-defs] mithro opened issue #1403: Add CI to detect CMakeLists.txt files which are not used / dead - https://git.io/JvAM5
kraiskil has quit [Ping timeout: 256 seconds]
kraiskil has joined #symbiflow
<daniellimws> mithro: Are you suggesting that I add the bram and slicem primitives to https://github.com/SymbiFlow/python-symbiflow-v2x/tree/master/tests ?
<tpb> Title: python-symbiflow-v2x/tests at master · SymbiFlow/python-symbiflow-v2x · GitHub (at github.com)
<mithro> daniellimws: We should figure out why v2x isn't being used for those primitives, fix the v2x and add them as tests to prevent regression
kraiskil has quit [Ping timeout: 256 seconds]
kraiskil has joined #symbiflow
proteus-guy has quit [Ping timeout: 250 seconds]
wavedrom has joined #symbiflow
<daniellimws> mithro: The xml files inside https://github.com/SymbiFlow/symbiflow-arch-defs/tree/master/xc/common/primitives/bram and etc are generated by vendor tools, right? And we want to add tests that generate xml from verilog using v2x, then compare the ones generated by vendor tools with the ones by v2x. Am I getting the right idea?
<tpb> Title: symbiflow-arch-defs/xc/common/primitives/bram at master · SymbiFlow/symbiflow-arch-defs · GitHub (at github.com)
adjtm_ has joined #symbiflow
adjtm has quit [Ping timeout: 250 seconds]
ZipCPU has quit [Quit: ZNC 1.6.4 - http://znc.in]
wavedrom has quit [Quit: The Lounge - https://thelounge.chat]
wavedrom has joined #symbiflow
ZipCPU has joined #symbiflow
<_whitenotifier-3> [symbiflow-arch-defs] kgugala opened issue #1405: Add an cmake option to disable a200t installtion - https://git.io/JvA9f
proteus-guy has joined #symbiflow
kraiskil has quit [Ping timeout: 265 seconds]
kraiskil has joined #symbiflow
<lambda> I'm trying to use nextpnr for an xc7a35tfgg484-1 - I see that package is already in the database for the xc7a50t, how much effort would it be to adapt that for the 35?
<ZirconiumX> daveshah: ^
<daveshah> This is a prjxray issue, not a nextpnr one
<daveshah> It shouldn't be a big patch at all, copy all the files and just change the idcode though
<daveshah> After all they are the same silicon
<lambda> wait, which ones, all the 35t's or the 35tfgg484 and the 50tfgg484?
<daveshah> All of the above afaik
<daveshah> I don't think there are any genuinely 35t parts
<lambda> huh, didn't know that
<daveshah> The number is made up anyway, it's a LUT4 equivalence so 0.625 LUT6s per notional unit or thereabouts
<ZirconiumX> It's funny to compare across vendors. Altera/Intel use 0.4 ALM LUT6s per LUT4, because of the input overprovisioning
<ZirconiumX> It's still a made-up number, but the architectural difference is fun
Bertl_oO is now known as Bertl
kraiskil has quit [Ping timeout: 264 seconds]
<litghost> lambda: We have a short cut for adding 35T/50T parts because of the same underlying silicon, see here: https://github.com/SymbiFlow/prjxray/blob/759b4c700d1db7cb096c9c6bcf62c55aecfa07f3/Makefile#L182-L185
<tpb> Title: prjxray/Makefile at 759b4c700d1db7cb096c9c6bcf62c55aecfa07f3 · SymbiFlow/prjxray · GitHub (at github.com)
<litghost> lambda: But what daveshah said is basically what is happening
<litghost> lambda: Feel free to submit a PR adding packages you are interested in
<lambda> litghost: sorry, I can't figure out where the extra parts are actually coming from (granted I don't really know much about the xray infrastructure at all). the only mentions of e.g. "csg324" I can find are in minitests/, which from my understanding is just used for testing, not the actual database.
<litghost> I linked where the extra parts are coming from
<litghost> Each line that calls into "make -C fuzzer roi_only" is for a new part using a piece of silicon already documented
<litghost> So we have tilegrid address for the A50T (35T as well) and A200T silicon, but only a subset of the packages for each
<lambda> litghost: so the xc7a35tcsg324-1 part is created using some Arty minitests?
<litghost> Sort of. The arty minitests define XRAY_PART as xc7a35tcsg324-1, XRAY_EQUIV_PART as c7a50tfgg484-1 (e.g. which tilegrid/tileconn to use) plus some example IO's for use with the fuzzer
<tpb> Title: prjxray/arty-common.sh at master · SymbiFlow/prjxray · GitHub (at github.com)
<litghost> XRAY_PIN_00 should a CCIO pin
<lambda> litghost: oh, I see now, roi_only does all the real magic
<litghost> lambda: Ya. That target name is poorly named, but yes
<lambda> litghost: so mashing together settings/artix7.sh for the fgg484 pins and minitests/roi_harness/arty-common.sh for the EQUIV_PART stuff should do?
<litghost> Ya
<tpb> Title: prjxray/Makefile at 759b4c700d1db7cb096c9c6bcf62c55aecfa07f3 · SymbiFlow/prjxray · GitHub (at github.com)
<litghost> Which is what I linked you earlier
<lambda> right, just didn't really know what was going on there without the background info - thanks, I'll have a go at that then :)
<litghost> If you make a PR, maybe a nice comment would be good :)
futarisIRCcloud has joined #symbiflow
<lambda> sure
OmniMancer has joined #symbiflow
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
<tcal> litghost: with https://github.com/SymbiFlow/symbiflow-arch-defs/tree/master/xc/xc7/tests/soc/litex/base, does the Linux image need to either be flashed or be transferred over tftp? Or can it be transferred over the serial connection (i.e. using lxterm)?
<litghost> tcal: Not sure. We should update the readme with specific instructions
<tcal> Oh, I think I need to dig deeper into https://github.com/timvideos/litex-buildenv/wiki/Linux
<tpb> Title: Linux · timvideos/litex-buildenv Wiki · GitHub (at github.com)
<tcal> The other demo I ran was using buildroot/ to build the Linux images. I think this is a different method.