*** tpb has joined #yosys | 00:00 | |
*** emeb has quit IRC | 00:19 | |
*** Nazara has quit IRC | 01:11 | |
*** N2TOH has joined #yosys | 01:14 | |
*** Nazara has joined #yosys | 01:19 | |
*** Nazara has quit IRC | 01:35 | |
*** Nazara has joined #yosys | 01:50 | |
*** N2TOH has quit IRC | 02:00 | |
*** citypw has joined #yosys | 02:23 | |
*** citypw has joined #yosys | 02:27 | |
*** Degi has quit IRC | 03:03 | |
*** Degi has joined #yosys | 03:04 | |
*** N2TOH has joined #yosys | 03:47 | |
*** LJ_cache has quit IRC | 03:57 | |
*** kristianpaul has quit IRC | 04:02 | |
*** z0ttel has quit IRC | 04:07 | |
*** kristianpaul has joined #yosys | 04:08 | |
*** dxld has quit IRC | 04:55 | |
*** peepsalot has quit IRC | 06:19 | |
*** peepsalot has joined #yosys | 06:20 | |
*** bzztploink has quit IRC | 06:24 | |
*** emeb_mac has quit IRC | 06:28 | |
*** bzztploink has joined #yosys | 06:30 | |
*** z0ttel has joined #yosys | 07:59 | |
*** Asu has joined #yosys | 08:20 | |
*** _whitelogger has quit IRC | 11:33 | |
*** gmc has joined #yosys | 11:34 | |
*** _whitelogger has joined #yosys | 11:35 | |
*** attie has quit IRC | 12:11 | |
*** wiizzard has joined #yosys | 12:23 | |
*** samekh has joined #yosys | 12:25 | |
*** attie has joined #yosys | 12:43 | |
*** N2TOH has quit IRC | 12:59 | |
*** citypw has quit IRC | 14:12 | |
*** az0re has quit IRC | 14:31 | |
*** az0re has joined #yosys | 15:16 | |
*** emeb has joined #yosys | 16:35 | |
*** kristianpaul has quit IRC | 16:45 | |
*** kitten_nb_five has joined #yosys | 16:47 | |
kitten_nb_five | Hell World! I am just beginning to learn Verilog and FPGA-stuff and i really appreciate the FOSS-toolchain. Thank you! | 16:48 |
---|---|---|
kitten_nb_five | I have a problem but i am not sure if this is wrong syntax or sth with yosys. Maybe somebody can tell me? [...] | 16:49 |
kitten_nb_five | I have a definition of a module and i want to create an instance of this module with a parameter | 16:50 |
kitten_nb_five | This works/"compiles": mod_div #(.pDivider(25_000_000)) div_slow(.clk(clk_25M), .clk_div(out_slow)); | 16:50 |
kitten_nb_five | This gives me an error, so is this valid Verilog or not? mod_div #(parameter pDivider=25_000_000) div_slow(.clk(clk_25M), .clk_div(out_slow)); | 16:50 |
tnt | no | 16:50 |
kitten_nb_five | ok, ty! | 16:51 |
kitten_nb_five | Another question if you allow: Is there a way to make yosys return a non-zero exitcode in case of any warnings, like -Werror for the GCC? This would be useful for chaining commands (Linux): yosys ... && nextpnr ... | 16:55 |
tnt | no idea | 16:55 |
tnt | but given some yosys warning are both harmless and hard to get rid of, I'm not sure how useful it'd be in practice. | 16:56 |
*** kristianpaul has joined #yosys | 16:58 | |
kitten_nb_five | i am really just beginning to use yosys and only had "good"=meaningfull warnings. When writing software i always try to make it compile with -Werror, so i thought this might be a good idea for doing FPGA-stuff to (especially for a total beginner) | 17:00 |
tnt | Yeah, I have the same policy for sw, but AFAIK yosys doesn't have anything like - | 17:01 |
tnt | -Wno-xxx to disable some warnings ... | 17:01 |
tnt | Oh my bad, it does. | 17:06 |
tnt | -e | 17:07 |
tnt | Allows to specify a regulat expression to turn warning into errors. (so you can make a regexp that matches everything ...) | 17:07 |
tnt | it'll stop at the first error though AFAICT. | 17:08 |
kitten_nb_five | ty, i did not see this one in the manual. i will give it a try | 17:08 |
tnt | I read the source code ... not the manual :p | 17:09 |
kitten_nb_five | -e works great! | 17:15 |
kitten_nb_five | yosys -p "synth_ecp5 -json out.json" -q blink.v | 17:15 |
kitten_nb_five | Warning: Wire top.\div_slow.clk is used but has no driver. | 17:15 |
kitten_nb_five | yosys -p "synth_ecp5 -json out.json" -q -e ".*" blink.v | 17:15 |
kitten_nb_five | ERROR: Wire top.\div_slow.clk is used but has no driver. | 17:15 |
kitten_nb_five | ty! | 17:15 |
kitten_nb_five | uh, that should better be ".+" | 17:16 |
*** samekh has quit IRC | 17:55 | |
*** dxld has joined #yosys | 18:18 | |
ZipCPU | kitten_nb_five: Consider using verilator -Wall | 18:47 |
kitten_nb_five | i don't know this one, i will look at it. ty. | 18:48 |
*** bzztploink has quit IRC | 19:03 | |
*** bzztploink has joined #yosys | 19:10 | |
*** emeb_mac has joined #yosys | 20:37 | |
*** Asu has quit IRC | 21:14 | |
*** esden has quit IRC | 22:04 | |
*** daveshah has quit IRC | 22:04 | |
*** ktemkin has quit IRC | 22:04 | |
*** pointfree has quit IRC | 22:04 | |
*** futarisIRCcloud has quit IRC | 22:04 | |
*** daveshah has joined #yosys | 22:05 | |
*** esden has joined #yosys | 22:05 | |
*** futarisIRCcloud has joined #yosys | 22:06 | |
*** ktemkin has joined #yosys | 22:06 | |
*** pointfree has joined #yosys | 22:07 | |
*** bzztploink has quit IRC | 22:18 | |
*** bzztploink has joined #yosys | 22:25 | |
*** bzztploink has quit IRC | 22:30 | |
*** bzztploink has joined #yosys | 22:47 | |
*** N2TOH has joined #yosys | 23:11 | |
*** N2TOH_ has joined #yosys | 23:12 | |
*** kitten_nb_five has quit IRC | 23:14 | |
*** N2TOH has quit IRC | 23:16 | |
*** kristianpaul has quit IRC | 23:18 | |
*** kristianpaul has joined #yosys | 23:18 | |
*** lf_ has quit IRC | 23:23 | |
*** lf has joined #yosys | 23:24 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!