kristianpaul has quit [Read error: Connection reset by peer]
z0ttel has quit [Remote host closed the connection]
kristianpaul has joined #yosys
dxld has quit [Quit: Bye]
peepsalot has quit [Remote host closed the connection]
peepsalot has joined #yosys
bzztploink has quit [Ping timeout: 272 seconds]
emeb_mac has quit [Quit: Leaving.]
bzztploink has joined #yosys
z0ttel has joined #yosys
Asu has joined #yosys
_whitelogger has joined #yosys
attie has quit [Ping timeout: 272 seconds]
wiizzard has joined #yosys
samekh has joined #yosys
attie has joined #yosys
N2TOH has quit [Ping timeout: 246 seconds]
citypw has quit [Ping timeout: 240 seconds]
az0re has quit [Remote host closed the connection]
az0re has joined #yosys
emeb has joined #yosys
kristianpaul has quit [Ping timeout: 260 seconds]
kitten_nb_five has joined #yosys
<kitten_nb_five>
Hell World! I am just beginning to learn Verilog and FPGA-stuff and i really appreciate the FOSS-toolchain. Thank you!
<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? [...]
<kitten_nb_five>
I have a definition of a module and i want to create an instance of this module with a parameter
<kitten_nb_five>
This works/"compiles": mod_div #(.pDivider(25_000_000)) div_slow(.clk(clk_25M), .clk_div(out_slow));
<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));
<tnt>
no
<kitten_nb_five>
ok, ty!
<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 ...
<tnt>
no idea
<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.
kristianpaul has joined #yosys
<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)
<tnt>
Yeah, I have the same policy for sw, but AFAIK yosys doesn't have anything like -
<tnt>
-Wno-xxx to disable some warnings ...
<tnt>
Oh my bad, it does.
<tnt>
-e
<tnt>
Allows to specify a regulat expression to turn warning into errors. (so you can make a regexp that matches everything ...)
<tnt>
it'll stop at the first error though AFAICT.
<kitten_nb_five>
ty, i did not see this one in the manual. i will give it a try
<tnt>
I read the source code ... not the manual :p