Tuesday, 2020-09-22

*** tpb has joined #yosys00:00
*** emeb has quit IRC00:19
*** Nazara has quit IRC01:11
*** N2TOH has joined #yosys01:14
*** Nazara has joined #yosys01:19
*** Nazara has quit IRC01:35
*** Nazara has joined #yosys01:50
*** N2TOH has quit IRC02:00
*** citypw has joined #yosys02:23
*** citypw has joined #yosys02:27
*** Degi has quit IRC03:03
*** Degi has joined #yosys03:04
*** N2TOH has joined #yosys03:47
*** LJ_cache has quit IRC03:57
*** kristianpaul has quit IRC04:02
*** z0ttel has quit IRC04:07
*** kristianpaul has joined #yosys04:08
*** dxld has quit IRC04:55
*** peepsalot has quit IRC06:19
*** peepsalot has joined #yosys06:20
*** bzztploink has quit IRC06:24
*** emeb_mac has quit IRC06:28
*** bzztploink has joined #yosys06:30
*** z0ttel has joined #yosys07:59
*** Asu has joined #yosys08:20
*** _whitelogger has quit IRC11:33
*** gmc has joined #yosys11:34
*** _whitelogger has joined #yosys11:35
*** attie has quit IRC12:11
*** wiizzard has joined #yosys12:23
*** samekh has joined #yosys12:25
*** attie has joined #yosys12:43
*** N2TOH has quit IRC12:59
*** citypw has quit IRC14:12
*** az0re has quit IRC14:31
*** az0re has joined #yosys15:16
*** emeb has joined #yosys16:35
*** kristianpaul has quit IRC16:45
*** kitten_nb_five has joined #yosys16:47
kitten_nb_fiveHell World! I am just beginning to learn Verilog and FPGA-stuff and i really appreciate the FOSS-toolchain. Thank you!16:48
kitten_nb_fiveI 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_fiveI have a definition of a module and i want to create an instance of this module with a parameter16:50
kitten_nb_fiveThis works/"compiles": mod_div #(.pDivider(25_000_000)) div_slow(.clk(clk_25M), .clk_div(out_slow));16:50
kitten_nb_fiveThis 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
tntno16:50
kitten_nb_fiveok, ty!16:51
kitten_nb_fiveAnother 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
tntno idea16:55
tntbut 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 #yosys16:58
kitten_nb_fivei 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
tntYeah, 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
tntOh my bad, it does.17:06
tnt-e17:07
tntAllows to specify a regulat expression to turn warning into errors. (so you can make a regexp that matches everything ...)17:07
tntit'll stop at the first error though AFAICT.17:08
kitten_nb_fivety, i did not see this one in the manual. i will give it a try17:08
tntI read the source code ... not the manual :p17:09
kitten_nb_five-e works great!17:15
kitten_nb_fiveyosys -p "synth_ecp5 -json out.json" -q blink.v17:15
kitten_nb_fiveWarning: Wire top.\div_slow.clk is used but has no driver.17:15
kitten_nb_fiveyosys -p "synth_ecp5 -json out.json" -q -e ".*" blink.v17:15
kitten_nb_fiveERROR: Wire top.\div_slow.clk is used but has no driver.17:15
kitten_nb_fivety!17:15
kitten_nb_fiveuh, that should better be ".+"17:16
*** samekh has quit IRC17:55
*** dxld has joined #yosys18:18
ZipCPUkitten_nb_five: Consider using verilator -Wall18:47
kitten_nb_fivei don't know this one, i will look at it. ty.18:48
*** bzztploink has quit IRC19:03
*** bzztploink has joined #yosys19:10
*** emeb_mac has joined #yosys20:37
*** Asu has quit IRC21:14
*** esden has quit IRC22:04
*** daveshah has quit IRC22:04
*** ktemkin has quit IRC22:04
*** pointfree has quit IRC22:04
*** futarisIRCcloud has quit IRC22:04
*** daveshah has joined #yosys22:05
*** esden has joined #yosys22:05
*** futarisIRCcloud has joined #yosys22:06
*** ktemkin has joined #yosys22:06
*** pointfree has joined #yosys22:07
*** bzztploink has quit IRC22:18
*** bzztploink has joined #yosys22:25
*** bzztploink has quit IRC22:30
*** bzztploink has joined #yosys22:47
*** N2TOH has joined #yosys23:11
*** N2TOH_ has joined #yosys23:12
*** kitten_nb_five has quit IRC23:14
*** N2TOH has quit IRC23:16
*** kristianpaul has quit IRC23:18
*** kristianpaul has joined #yosys23:18
*** lf_ has quit IRC23:23
*** lf has joined #yosys23:24

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!