*** tpb has joined #symbiflow | 00:00 | |
mithro | litghost: The python module for talking to the Make jobserver I was working on is here -> https://github.com/mithro/python-make-jobserver | 00:16 |
---|---|---|
tpb | Title: GitHub - mithro/python-make-jobserver: Library for integrating Python applications with Makes jobserver. (at github.com) | 00:16 |
Bertl_oO | 'make env' fails with: | 00:26 |
Bertl_oO | Command "/fast/FPGA/PRJXRAY/prjxray.git/env/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-57v4z0_7/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-j0vyaa6v-record/install-record.txt --single-version-externally-managed --compile --install-headers /fast/FPGA/PRJXRAY/prjxray.git/env/include/site/python3.5/scipy" failed with error code | 00:26 |
Bertl_oO | any suggestions how to make that work? | 00:27 |
litghost | I would start by pasting the error properly formatted into a pastebin or equiv | 00:28 |
Bertl_oO | https://pastebin.com/raw/amrYy3Vf | 00:29 |
litghost | Bertl_oO: https://github.com/numpy/numpy/issues/8697 , Google is your friend | 00:34 |
tpb | Title: import numpy error: undefined symbol: zgelsd_ · Issue #8697 · numpy/numpy · GitHub (at github.com) | 00:34 |
Bertl_oO | not sure what that should tell me though | 00:36 |
Bertl_oO | this is an error on the build in the virtenv, no? | 00:37 |
Bertl_oO | do I need to install special version of numpy? if so, which one? | 00:43 |
mithro | Bertl_oO: "The catch is that both atlas and lapack provide liblapack.so.3. I assume from the naming that lapack is the canonical one and the one in atlas is intended to be an optimized one or something. The two are incompatible at the moment which is where the problem arises." | 00:45 |
Bertl_oO | so get rid of atlas should help? | 00:47 |
Bertl_oO | *getting | 00:47 |
mithro | Bertl_oO: Dunno - but it seems like it is something to do with your system and atlas / lapack | 00:48 |
Bertl_oO | how do I rerun the 'make env' so that it tries again? | 00:48 |
Bertl_oO | i.e. how do I undo 'make env'? | 00:49 |
mithro | Bertl_oO: "rm -rf env" ? | 00:49 |
elms | Bertl_oO: are you on step 5 and taking option 1 I assume? | 00:49 |
elms | `make env -B` should work too | 00:49 |
mithro | Bertl_oO: https://github.com/SymbiFlow/prjxray/blob/acf7aafce16a7f37e248e1403d8ef01b250116d0/Makefile#L3-L20 | 00:49 |
tpb | Title: prjxray/Makefile at acf7aafce16a7f37e248e1403d8ef01b250116d0 · SymbiFlow/prjxray · GitHub (at github.com) | 00:50 |
Bertl_oO | elms: yep, step 5, option 1 | 00:50 |
*** proteusguy has joined #symbiflow | 01:00 | |
Bertl_oO | for the record, removing atlas seems to have done the trick | 01:03 |
Bertl_oO | still a bunch of 'Errors' on the way but it seems to have finished now | 01:04 |
Bertl_oO | moving on to step 7, option 2 | 01:04 |
*** proteusguy has quit IRC | 02:04 | |
mithro | https://github.com/verilog-to-routing/vtr-verilog-to-routing/issues/475 | 02:24 |
tpb | Title: Support for shorthand to specify all pins on one edge · Issue #475 · verilog-to-routing/vtr-verilog-to-routing · GitHub (at github.com) | 02:24 |
*** citypw has joined #symbiflow | 03:26 | |
*** proteusguy has joined #symbiflow | 03:27 | |
*** kprasadvnsi has joined #symbiflow | 03:53 | |
*** kprasadvnsi has left #symbiflow | 03:59 | |
*** proteusguy has quit IRC | 04:33 | |
*** Bertl_oO is now known as Bertl_zZ | 04:54 | |
*** ritikchanna has joined #symbiflow | 05:02 | |
*** proteusguy has joined #symbiflow | 05:03 | |
*** OmniMancer has joined #symbiflow | 05:43 | |
*** OmniMancer has quit IRC | 05:59 | |
*** OmniMancer has joined #symbiflow | 06:01 | |
*** proteusguy has quit IRC | 06:08 | |
*** OmniMancer has quit IRC | 07:14 | |
*** OmniMancer has joined #symbiflow | 07:16 | |
*** proteusguy has joined #symbiflow | 07:16 | |
*** OmniMancer has quit IRC | 07:49 | |
*** OmniMancer has joined #symbiflow | 08:55 | |
*** citypw has quit IRC | 10:13 | |
*** duck2 has quit IRC | 10:29 | |
*** _whitelogger has quit IRC | 11:01 | |
*** _whitelogger has joined #symbiflow | 11:04 | |
*** proteusguy has quit IRC | 12:38 | |
*** proteusguy has joined #symbiflow | 12:46 | |
*** proteusguy has quit IRC | 12:49 | |
*** Bertl_zZ is now known as Bertl | 13:02 | |
*** OmniMancer has quit IRC | 13:32 | |
Bertl | hmm ... the xc7z020clg400 database build is still ongoing ... but I'm curious, how can I use the database (once it finishes) to figure out the frame address/location/mask from a given tile? | 13:53 |
Bertl | s/from/for/ | 13:54 |
sf-slack | <kgugala> hi Bertl | 13:55 |
sf-slack | <kgugala> you can check the tilegrid.json file within the db | 13:56 |
Bertl | yeah, I'm looking at that right now | 13:56 |
Bertl | but it only contains grid coordinates? | 13:56 |
Bertl | (looking at the xc7z010clg400-1 for now) | 13:57 |
sf-slack | <kgugala> you can find there baseaddreses | 13:57 |
sf-slack | <kgugala> in bits sections | 13:57 |
sf-slack | <kgugala> (not every tile has it filled) | 13:57 |
Bertl | ah, I see, didn't scroll down far enough | 13:58 |
sf-slack | <kgugala> :slightly_smiling_face: | 13:58 |
Bertl | so, for example, CLBLL_L_X16Y93 has an entry in the bits section | 13:59 |
Bertl | it says CLB_IO_CLK (what does that mean?) | 14:00 |
Bertl | and it reports two SLICEL sites (which looks like what I'm looking for) | 14:00 |
*** duck2 has joined #symbiflow | 14:03 | |
Bertl | what does the 'frames: 36' mean? | 14:03 |
kgugala | how many frames there are in the bitstream for this type of column | 14:04 |
kgugala | you may want to check fuzzer 005-tilegrid | 14:05 |
kgugala | the json is generated by this fuzzer | 14:05 |
Bertl | hmm, so what does 'offset: 40' in a context of 36 frames mean? | 14:09 |
Bertl | the offset in a frame or the offset to the given baseaddress? | 14:09 |
sf-slack | <kgugala> check this https://prjxray.readthedocs.io/en/latest/format/tile.html#tilegrid-json | 14:11 |
tpb | Title: Introduction Project X-Ray documentation (at prjxray.readthedocs.io) | 14:11 |
Bertl | I guess the documentation is not up-to-date, but thanks for the link | 14:13 |
sf-slack | <kgugala> yeah, it needs an update | 14:13 |
Bertl | so most likely the 'offset' is the inter-frame offset originally in the same tuple as the baseaddr | 14:13 |
sf-slack | <kgugala> but the json format descritption should be OK | 14:13 |
Bertl | so this is what I see in the database: https://pastebin.com/raw/ry8RdQV6 | 14:14 |
Bertl | I presume the '99' from the docs corresponds to the 38 in the paste | 14:15 |
sf-slack | <kgugala> yep | 14:16 |
Bertl | so I would find the SLICE_X40Y19 and SLICE_X41Y19 config data at frame 0x00401A00, offset 38 and 39 | 14:18 |
Bertl | now how do the 36 frames factor into this? | 14:19 |
Bertl | ah, the database build for the xc7z020clg400-1 just failed :( | 14:21 |
sf-slack | <kgugala> on what? | 14:21 |
sf-slack | <kgugala> on which fuzzer? | 14:22 |
sf-slack | <kgugala> can you paste the log? | 14:22 |
Bertl | https://pastebin.com/raw/EYD2b0ds | 14:22 |
Bertl | is there a complete log generated somewhere? | 14:22 |
kgugala | yes | 14:24 |
kgugala | each fuzzer should have `log` folder | 14:24 |
kgugala | inside you can find the full log | 14:24 |
Bertl | there are quite a number of files there, how to narrow it down to the relevant one(s)? | 14:25 |
kgugala | grep for erorrs? | 14:26 |
kgugala | *errors | 14:26 |
kgugala | in stdout files you have all the output | 14:27 |
Bertl | http://vserver.13thfloor.at/Stuff/PRJXRAY/logs/ | 14:35 |
tpb | Title: Index of /Stuff/PRJXRAY/logs/ (at vserver.13thfloor.at) | 14:35 |
Bertl | any idea what the problem could be? | 14:41 |
sf-slack | <acomodi> What version of vivado are you using? | 14:42 |
*** refpga has joined #symbiflow | 14:42 | |
Bertl | the suggested 2017.2 | 14:42 |
sf-slack | <acomodi> Ok, could you zip all the logs? | 14:52 |
Bertl | of this particular fuzzer or of all fuzzers? | 14:52 |
sf-slack | <acomodi> For now the 005 will be fine | 14:53 |
Bertl | http://vserver.13thfloor.at/Stuff/PRJXRAY/005-tilegrid-logs.zip | 14:58 |
sf-slack | <acomodi> https://pastebin.com/mvEM2aP6 | 15:04 |
tpb | Title: 0_sponge_log.xml:3820:OSError: [Errno 28] No space left on device 0_sponge_log. - Pastebin.com (at pastebin.com) | 15:04 |
sf-slack | <acomodi> found this, could it be that your system run out of space? | 15:04 |
Bertl | that was yesterday | 15:04 |
Bertl | made more space on the partition and ran make again | 15:05 |
sf-slack | <kgugala> so Bertl, can you provide the recent logs? | 15:05 |
Bertl | the zip contains all logs in the folder (as does the link) | 15:05 |
Bertl | http://vserver.13thfloor.at/Stuff/PRJXRAY/ | 15:05 |
tpb | Title: Index of /Stuff/PRJXRAY/ (at vserver.13thfloor.at) | 15:05 |
Bertl | # zip 005-tilegrid-logs.zip 005-tilegrid/logs | 15:06 |
sf-slack | <kgugala> can you filter them to contain only the most recent ones? | 15:06 |
sf-slack | <kgugala> the out of space error was in the logs | 15:06 |
Bertl | click on 'Last Modified' and they will be sorted according to the date | 15:06 |
sf-slack | <kgugala> you have a bunch of critical warnings in the logs | 15:24 |
sf-slack | <kgugala> I see you run it for 7020 | 15:24 |
Bertl | yup | 15:25 |
sf-slack | <kgugala> as @litghost said yestarday - the soft was not tested on this chip | 15:25 |
*** citypw has joined #symbiflow | 15:25 | |
sf-slack | <kgugala> there is a bunch of critical warnings like: | 15:25 |
sf-slack | <kgugala> Cannot loc instance 'idelay_IDELAY_X0Y2' at site IDELAY_X0Y2, Site IOB_X0Y2 is not bonded. Place terminal di[15] and connected instances in a site with a PAD | 15:25 |
Bertl | so how to get the database for 7020? what needs to be modified? | 15:26 |
sf-slack | <kgugala> also in `stdout.2019-03-05T12:38:38.534252.log` at line 8833 Vivado fails | 15:26 |
sf-slack | <kgugala> to get the database you have to set the part as you did and run fuzzers | 15:26 |
Bertl | note: I'm only interested in the frame addresses for tiles, specifically slices | 15:27 |
sf-slack | <kgugala> since they were not tested on 7020 they may fail | 15:27 |
sf-slack | <kgugala> as they did | 15:27 |
Bertl | how to fix them? | 15:27 |
sf-slack | <kgugala> you'd need to dive a little into the fuzzer code and check what exactly is happening there | 15:28 |
sf-slack | <kgugala> I assume that tailoring the settings in settings.sh file for Zynq will be required to get the 7020 to work | 15:28 |
Bertl | so it's a problem with the XRAY_ROI_* settings? | 15:30 |
*** citypw has quit IRC | 15:30 | |
litghost | Bertl: Tile grid ignored ROI to map all the base addresses. If you only care about slices, you can disable the IOB and IOB_INT tile fuzzers and file an issue. | 15:31 |
litghost | Bertl: IDELAY's are only used by tilegrid when trying get addresses for IOB tiles and IOB INT tiles | 15:32 |
Bertl | how do I do that? | 15:32 |
litghost | Bertl: Comment it out from the 005 makefile depedencies | 15:32 |
litghost | Bertl: Comment line 4 and 5 https://github.com/SymbiFlow/prjxray/blob/master/fuzzers/005-tilegrid/Makefile#L4 | 15:33 |
tpb | Title: prjxray/Makefile at master · SymbiFlow/prjxray · GitHub (at github.com) | 15:33 |
Bertl | okay, then just run make again? | 15:33 |
litghost | Bertl: Just run make in the 005 directory | 15:33 |
litghost | Otherwise it will restart the fuzzer, which will take significantly longer | 15:34 |
litghost | For info on how the tilegrid and segbits are related, https://github.com/SymbiFlow/prjxray/blob/master/prjxray/tile_segbits.py | 15:34 |
tpb | Title: prjxray/tile_segbits.py at master · SymbiFlow/prjxray · GitHub (at github.com) | 15:34 |
litghost | Bertl: What are you interested in doing? | 15:35 |
Bertl | I'm interested in mapping specific (marked) slices to frame addresses so that they can be modified at runtime | 15:35 |
litghost | Bertl: Sure, then tilegrid and the CLB segbits are what you want | 15:36 |
litghost | Bertl: You will also likely want INT segbits, but the CLB and INT segbits appear to be common across all 7-series parts | 15:37 |
litghost | Bertl: Only tilegrid.json and tileconn.json are expected to be part specific | 15:38 |
sf-slack | <kgugala> @Bertl you may also want to take a look on the xc7patch tool (in the tools folder) | 15:38 |
Bertl | litghost: okay, tx | 15:38 |
Bertl | kgugala: what does it do? | 15:38 |
sf-slack | <kgugala> it can patch the bitstream in the selected region with a data from another bitstream | 15:39 |
Bertl | ah, got it, tx | 15:39 |
litghost | The circle flow is bit2fasm.py, fasm2frames.py and then xc7patch | 15:39 |
sf-slack | <kgugala> you, after some modifications it can be helpful in your case | 15:39 |
sf-slack | <kgugala> s/you/so | 15:40 |
Bertl | yeah, might come handy for testing ... | 15:43 |
Bertl | litghost: make failed with https://pastebin.com/raw/rM00W5mt | 15:48 |
sf-slack | <kgugala> this is easy to fix | 15:48 |
sf-slack | <kgugala> just change the assert condition | 15:49 |
sf-slack | <kgugala> if you look at the code it will alway if the part is not 7010 | 15:49 |
Bertl | assert os.getenv('XRAY_PART') in ("xc7z010clg400-1", "xc7z020clg400-1") ? | 15:50 |
litghost | Yes, that's good | 15:50 |
Bertl | I read in the docs that BRAM frame to memory is not currently understood ... is that still correct? | 16:09 |
litghost | bertl: Incorrect. We believe to have all BRAM bits understood | 16:10 |
litghost | bertl: If you are interested in creating a BRAM patching tool, we have an outstanding issue to do just that! | 16:10 |
Bertl | okay, because the assignment didn't seem that unusual/unexpected last time I checked | 16:11 |
litghost | https://github.com/SymbiFlow/prjxray/issues/181 | 16:11 |
tpb | Title: Create tool to patch blockram (BRAM) contents in bitstream · Issue #181 · SymbiFlow/prjxray · GitHub (at github.com) | 16:11 |
litghost | assignment? | 16:11 |
litghost | Sorry, I don't parse that | 16:11 |
Bertl | frame address to memory locations | 16:11 |
Bertl | the correlation I mean | 16:11 |
litghost | 005 will output BRAM base addresses for BRAM configuration and BRAM data. We have used the both to create designs that use BRAM's outside of vivado, so I have pretty good confidence that it is work | 16:12 |
Bertl | excellent, any documentation available on this? | 16:13 |
Bertl | most recent error: https://pastebin.com/raw/BzXyWEnK | 16:14 |
litghost | The most straight forward way to deal with BRAM data is via FASM directives and fasm2frames.py | 16:14 |
litghost | That error is very weird | 16:15 |
Bertl | well, there is no INT_L_X0Y50 in build/basicdb/tilegrid.json | 16:16 |
litghost | Ya, but then how did dsp_int output that!!! dsp_int uses basicdb as well | 16:16 |
litghost | Run "make clean" in the dsp_int folder and try again | 16:16 |
litghost | Any chance you ran 005 with another part at some point | 16:17 |
Bertl | not that I can remember | 16:17 |
litghost | odd | 16:17 |
Bertl | rerunning now (after clean) | 16:17 |
litghost | k | 16:18 |
Bertl | so, back to the BRAM ... the idea is to generate FASM input and then use fasm2frames.py and xc7patch to make the changes? | 16:26 |
litghost | Ya. | 16:26 |
litghost | Most of the work is actually mapping pre-synthesis addresses to tiles, which is an open question. | 16:27 |
litghost | So if the BRAM is simple, e.g. one tile, then it is easy | 16:27 |
Bertl | is there some FASM documentation available? | 16:27 |
litghost | https://github.com/SymbiFlow/fasm/blob/master/docs/specification.rst | 16:27 |
tpb | Title: fasm/specification.rst at master · SymbiFlow/fasm · GitHub (at github.com) | 16:27 |
Bertl | tx | 16:28 |
litghost | FASM itself is a language for writing out features | 16:28 |
Bertl | so for a BRAM tile, there would be a single line specifying the tile and the assigned data, yes? | 16:29 |
Bertl | (a rather long line probably :) | 16:29 |
litghost | In the BRAM case, something like: | 16:30 |
litghost | BRAM_L_X6Y125.RAMB18_Y1.INIT_2E[255:0]=256'b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | 16:30 |
litghost | You can split it up as needed | 16:30 |
Bertl | ah, so have a bunch of 'sub' ranges | 16:31 |
litghost | so [63:0], [127:64], etc etc | 16:31 |
Bertl | yeah, got it | 16:31 |
litghost | Even that line is a 256 subrange | 16:31 |
litghost | We are currently using the INIT_xx syntax from the RAMB18E1 | 16:31 |
Bertl | okay, does the data need to be binary? | 16:31 |
litghost | bertl: Not sure I understand your question. FASM supports an verilog integer constant | 16:32 |
Bertl | ah, no, I see, 'h should be fine as well | 16:32 |
litghost | any* | 16:32 |
Bertl | so and the data generated by fasm2frames.py is what format? | 16:33 |
litghost | fasm2frames.py is a frame words CSV, first column is frame address, followed by 101 32-bit words | 16:34 |
litghost | xc7patch can read frame words CSV | 16:34 |
Bertl | okay, makes sense | 16:35 |
Bertl | well, clean and make did result in the very same error | 16:41 |
Bertl | KeyError: 'INT_L_X0Y50 | 16:41 |
Bertl | Makefile:108: recipe for target 'build/tilegrid_tdb.json' failed | 16:41 |
Bertl | anything I should upload? | 16:43 |
litghost | File an issue with replication instructions. | 16:53 |
mithro | kgugala: The image on https://symbiflow.github.io/ for GSoC is broken | 17:22 |
tpb | Title: SymbiFlow - the GCC of FPGAs (at symbiflow.github.io) | 17:22 |
Bertl | litghost: hmm, I started from scratch and just focused on the 005-tilegrid | 17:30 |
Bertl | for some reason, vivado seems to be using the xc7a50t-fgg484 as part despite of the source settings/artix7.sh | 17:31 |
litghost | ah, that would totally cause a problem | 17:31 |
Bertl | ah, sorry, I might have messed up | 17:31 |
Bertl | let me recheck | 17:31 |
*** ritikchanna has joined #symbiflow | 17:49 | |
*** ritikchanna has quit IRC | 18:00 | |
Bertl | okay, I messed up before but now the process is like this: | 18:11 |
Bertl | https://pastebin.com/raw/1eznFLnU | 18:11 |
Bertl | it seems that the xc7z020clg400-1.yaml is missing, how do I generate that without running all the 8+ hours of fuzzer builds? | 18:12 |
litghost | run 001 | 18:21 |
Bertl | k, tx | 18:21 |
*** refpga` has joined #symbiflow | 18:23 | |
*** refpga has quit IRC | 18:26 | |
Bertl | hmm, didn't really help as it seems ... 005 still complains after running make in 001 | 18:27 |
Bertl | maybe make pushdb ? | 18:27 |
litghost | ya | 18:27 |
litghost | When running a fuzzer, you can do "make -j<N> run" and it will do the pushdb for you | 18:28 |
Bertl | ah, okay | 18:28 |
*** refpga` has quit IRC | 18:28 | |
litghost | word of warning, "make run" does perform a "make clean", so partial results will be removed | 18:28 |
litghost | which may or may not be what you want | 18:28 |
Bertl | yeah, just saw it in the makefile | 18:29 |
sf-slack | <mgielda> @mithro we know, we are in the process of fixing it | 18:43 |
*** anuejn has joined #symbiflow | 19:21 | |
sf-slack | <kgugala> @mithro https://github.com/SymbiFlow/symbiflow-website/pull/25 | 19:56 |
tpb | Title: Add missing GSoC logo by kgugala · Pull Request #25 · SymbiFlow/symbiflow-website · GitHub (at github.com) | 19:56 |
Bertl | https://github.com/SymbiFlow/prjxray/issues/697 | 20:03 |
tpb | Title: 005-tilegrid fails for Zynq 7020 · Issue #697 · SymbiFlow/prjxray · GitHub (at github.com) | 20:03 |
Bertl | btw, it seems the INT_L_X0Y50 is related to the fake ps7 entry | 20:17 |
litghost | Ya | 20:17 |
litghost | You could try removing the ps7_int fuzzer too | 20:17 |
Bertl | could it be that just the location changed between 7010 and 7020? | 20:18 |
litghost | Comment out the dependency, same as iob | 20:18 |
litghost | Likely | 20:18 |
Bertl | because otherwise I think the ps7 is identical between 7010 and 7020 | 20:18 |
litghost | the ps7_int fuzzer likely needs to use the basicdb grid rather than hard coding a tile | 20:18 |
litghost | Anyways, if you don't need INT base addresses near the PS7 block, you don't need to fix this | 20:19 |
Bertl | okay, so sed -i '/TILEGRID.*ps7/ s/^/#/' Makefile | 20:20 |
Bertl | but I do not think that changes much | 20:21 |
Bertl | I'll just remove the entry from ../005-tilegrid/ps7_int/build/segbits_tilegrid.tdb for now | 20:29 |
Bertl | which brings me to the next error: | 20:30 |
Bertl | AssertionError: BRKH_INT_PSS | 20:30 |
litghost | That isn't enough information | 20:39 |
Bertl | https://pastebin.com/raw/3P2cyeWU | 20:41 |
litghost | You can likely add BRKH_INT_PSS to the assertion list. That assertion is sanity checking the structure of the INT columns | 20:46 |
litghost | If you want to be sure, open up Vivado and see that there are no INT tiles "beyond" BRKH_INT_PSS | 20:47 |
litghost | https://github.com/SymbiFlow/prjxray/blob/master/fuzzers/005-tilegrid/generate_full.py#L175 | 20:47 |
tpb | Title: prjxray/generate_full.py at master · SymbiFlow/prjxray · GitHub (at github.com) | 20:47 |
Bertl | well, adding BRKH_INT_PSS to the assertion list results in a new KeyError | 20:49 |
Bertl | https://pastebin.com/raw/31dfHzdu | 20:50 |
litghost | That's a side affect of removing the IOB fuzzer | 20:57 |
Bertl | any suggestion how to work around that? | 20:58 |
litghost | Remove the call to propagate_IOB_SING | 20:58 |
Bertl | great! that worked | 21:00 |
Bertl | thanks for the help so far! | 21:01 |
Bertl | so I have the tilegrid database now ... do I just take the segbit stuff from 7010? | 21:06 |
litghost | You can, it should work. As far as we can tell, all the 7-series segbits are the same | 21:18 |
Bertl | okay, anything else I need to build for the tools? | 21:19 |
Bertl | (i.e. fasm2frames.py and xc7patch) | 21:19 |
litghost | xc7patch is build via CMake | 21:20 |
litghost | fasm2frames.py just needs a database and the prjxray python lib | 21:20 |
litghost | bit2fasm.py needs a database and the tools built | 21:20 |
Bertl | looks like I'm getting there :) | 21:22 |
Bertl | what is the syntax of the segbits_* files? | 21:23 |
litghost | https://github.com/SymbiFlow/prjxray/blob/master/prjxray/tile_segbits.py | 21:25 |
tpb | Title: prjxray/tile_segbits.py at master · SymbiFlow/prjxray · GitHub (at github.com) | 21:25 |
Bertl | hmm, okay ... so what does 30_00 !30_01 30_02 !30_03 mean? | 21:31 |
elms | Bertl: That's the bits to set and clear. So set bit 30_00 and 30_02 and clear 30_01 and 30_03 The tuple is a coordinate of a specific bit for that tile. | 21:43 |
Bertl | okay, how does that map to the frame location? | 21:44 |
Bertl | let's say I have SLICE_X28Y68 in tile CLBLL_L_X20Y68 | 21:46 |
Bertl | I know the base address is 0x00400A00 and the offset is 36 | 21:46 |
Bertl | the slice(s) cover two words there (accroding to the database) | 21:47 |
Bertl | now the segbits_clbll_l.db tells me that | 21:47 |
Bertl | CLBLL_L.SLICEL_X0.AFFMUX.AX !30_00 30_01 !30_02 !30_03 | 21:47 |
Bertl | or let's make it simpler, for INIT[00] it tells me: | 21:48 |
Bertl | CLBLL_L.SLICEL_X0.ALUT.INIT[00] 32_15 | 21:48 |
Bertl | which means the 'bit' at coordinate (32,15)? | 21:48 |
elms | That's my understanding, but I'm not familiar with the details of mapping with address and offset. | 22:07 |
Bertl | okay, tx | 22:10 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!