*** tpb has joined #yosys | 00:00 | |
*** emeb_mac has joined #yosys | 00:09 | |
*** tlwoerner has quit IRC | 01:22 | |
*** Degi has quit IRC | 01:30 | |
*** Degi has joined #yosys | 01:32 | |
*** peepsalot has quit IRC | 02:10 | |
*** peepsalot has joined #yosys | 02:17 | |
*** N2TOH_ has joined #yosys | 02:29 | |
*** N2TOH has quit IRC | 02:32 | |
*** craigo has quit IRC | 03:03 | |
*** emeb has left #yosys | 04:00 | |
*** Forty-3 has quit IRC | 04:56 | |
*** Nazara has quit IRC | 06:05 | |
*** tannewt has quit IRC | 06:06 | |
*** Nazara has joined #yosys | 06:06 | |
*** tannewt has joined #yosys | 06:06 | |
*** carlomaragno has quit IRC | 06:07 | |
*** carlomaragno has joined #yosys | 06:07 | |
*** _whitelogger has quit IRC | 06:12 | |
*** _whitelogger has joined #yosys | 06:14 | |
*** emeb_mac has quit IRC | 06:54 | |
*** Asu has joined #yosys | 07:21 | |
*** Asu has left #yosys | 07:28 | |
*** citypw has quit IRC | 08:09 | |
*** gregdavill_ has joined #yosys | 08:12 | |
*** _whitelogger has quit IRC | 08:24 | |
*** _whitelogger has joined #yosys | 08:26 | |
*** craigo has joined #yosys | 09:24 | |
*** ayazar has joined #yosys | 09:27 | |
*** maartenBE has quit IRC | 09:53 | |
*** maartenBE has joined #yosys | 10:01 | |
*** ayazar has quit IRC | 10:42 | |
*** Forty-Bot has joined #yosys | 11:01 | |
*** Ekho has quit IRC | 11:17 | |
*** Ekho has joined #yosys | 11:37 | |
*** dys has joined #yosys | 12:22 | |
*** gregdavill_ has quit IRC | 13:46 | |
*** emeb has joined #yosys | 14:00 | |
*** kraiskil has joined #yosys | 16:08 | |
*** gmc has quit IRC | 16:53 | |
pepijndevos | oh nooo, I'm doing something silly | 16:59 |
---|---|---|
pepijndevos | Traceback (most recent call last): | 16:59 |
pepijndevos | File "/home/pepijn/code/nextpnr/ecp5/trellis_import.py", line 22, in <module> | 16:59 |
pepijndevos | import database | 16:59 |
pepijndevos | ModuleNotFoundError: No module named 'database' | 16:59 |
pepijndevos | why is it trying to use prjtrellis from my home dir? | 16:59 |
daveshah | It isn't, that's the path to the file in nextpnr | 17:09 |
daveshah | make sure TRELLIS_INSTALL_PREFIX is being passed to cmake | 17:10 |
pepijndevos | yay | 17:20 |
*** X-Scale` has joined #yosys | 18:05 | |
*** X-Scale has quit IRC | 18:06 | |
*** X-Scale` is now known as X-Scale | 18:06 | |
thardin | is it possible to do preprocessor-y things with yosys? | 18:16 |
thardin | like -DFEATURE_X=1 | 18:16 |
thardin | I have a design that works slightly different on artix-7 and ice40. would be nice to be able to build the same code for both | 18:16 |
Lofty | thardin: add a space between the -D and the define | 18:24 |
Lofty | But yeah, `read_verilog -D FOO=1` works | 18:24 |
Lofty | And you can also pass it with `yosys -D FOO=1` | 18:25 |
thardin | that's not what the manpage for -D says | 18:26 |
thardin | -D <header_id>[:<filename>] dump the design when printing the specified log header to a file. yosys_dump_<header_id>.il is used as filename if none is specified. Use 'ALL' as <header_id> to dump at every header. | 18:26 |
thardin | but now I see "help read_verilog" shows what you say. thanks, I should have thought of checking there too | 18:27 |
Lofty | -D <macro>[=<value>] | 18:27 |
Lofty | set the specified Verilog define (via "read -define") | 18:27 |
Lofty | (for `yosys -D`) | 18:27 |
Lofty | -Dname[=definition] | 18:27 |
Lofty | define the preprocessor symbol 'name' and set its optional value | 18:27 |
Lofty | 'definition' | 18:27 |
Lofty | (for `read_verilog -D`) | 18:27 |
thardin | strange | 18:28 |
thardin | this is with Yosys 0.9+1706 (git sha1 a0cc795e, gcc 6.3.1 -fPIC -Os) | 18:28 |
Lofty | `yosys -h` | 18:28 |
Lofty | It's near the bottom | 18:28 |
thardin | uhhh | 18:29 |
thardin | so | 18:29 |
thardin | the manpage and --help don't agree | 18:29 |
Lofty | Yosys does not have a manpage | 18:29 |
thardin | I can "man yosys" just fine | 18:29 |
Lofty | I can't | 18:29 |
Lofty | There is no manual page in the Yosys source that I can find | 18:30 |
daveshah | Yeah I don't seem to have one either | 18:31 |
daveshah | must be some distro-provided thing or something | 18:31 |
thardin | I was just about to say | 18:32 |
thardin | I installed debian's version but then compiled my own | 18:32 |
*** Forty-Bot has quit IRC | 20:00 | |
*** emeb_mac has joined #yosys | 20:41 | |
*** Asu has joined #yosys | 20:54 | |
*** Asu has quit IRC | 20:56 | |
*** kraiskil has quit IRC | 21:06 | |
Lofty | Does anybody know of a hack to obtain a unique identifier - or even just the cell name - in techmap? | 21:09 |
Lofty | For context: Quartus wants a "logical RAM name" in the memory cells | 21:09 |
Lofty | I initially set this to be a constant string and assumed Quartus would be smart enough | 21:10 |
Lofty | But no, it wants a unique identifier | 21:11 |
Lofty | And the only alternative I can think of is manually fiddling with RTLIL for this | 21:12 |
*** gregdavill_ has joined #yosys | 21:31 | |
*** SpaceCoaster has joined #yosys | 23:15 | |
*** _whitelogger has quit IRC | 23:39 | |
*** _whitelogger has joined #yosys | 23:41 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!