*** tpb has joined #yosys | 00:00 | |
FL4SHK | It just... appears that they're not with the version I got from GitHub | 00:01 |
---|---|---|
FL4SHK | I get a lot of | 00:02 |
FL4SHK | Warning: Identifier `\MyInterfaceInstance.mysig_out' is implicitly declared. | 00:02 |
FL4SHK | things like this ^ | 00:02 |
FL4SHK | and then it treats them as 1-bit things. | 00:03 |
FL4SHK | oooh | 00:10 |
FL4SHK | maybe I'm not running the right commands | 00:10 |
FL4SHK | "failed to detect width for identifier" | 00:16 |
FL4SHK | ooooh | 00:17 |
*** litghost has quit IRC | 00:26 | |
FL4SHK | it appears that I've found a bug | 00:33 |
FL4SHK | https://paste.ee/p/GiSFB | 00:34 |
*** futarisIRCcloud has quit IRC | 00:50 | |
*** litghost has joined #yosys | 00:54 | |
*** PyroPeter has quit IRC | 02:45 | |
*** PyroPeter has joined #yosys | 02:59 | |
*** futarisIRCcloud has joined #yosys | 03:12 | |
*** gsi__ has joined #yosys | 03:18 | |
*** gsi_ has quit IRC | 03:21 | |
*** rohitksingh_work has joined #yosys | 04:26 | |
*** s_frit has quit IRC | 04:54 | |
*** gsi__ is now known as gsi_ | 05:07 | |
*** emeb_mac has quit IRC | 07:07 | |
*** Thorn has joined #yosys | 07:38 | |
*** ktemkin has quit IRC | 07:52 | |
*** ovf has quit IRC | 07:52 | |
*** ktemkin has joined #yosys | 07:52 | |
*** mithro has quit IRC | 07:53 | |
*** ric96 has quit IRC | 07:53 | |
*** ric96 has joined #yosys | 07:55 | |
*** mithro has joined #yosys | 07:55 | |
*** ovf has joined #yosys | 07:56 | |
*** maikmerten has joined #yosys | 11:13 | |
*** GuzTech has joined #yosys | 12:07 | |
*** proteusguy has quit IRC | 12:24 | |
*** proteusguy has joined #yosys | 12:27 | |
*** maikmerten has quit IRC | 12:28 | |
*** show1 has quit IRC | 12:41 | |
*** show has joined #yosys | 12:46 | |
tnt | https://pastebin.com/iiVXGjtj | 12:55 |
tpb | Title: [VeriLog] module top(BTN1, BTN2, BTN3, LED1, LED2); input BTN1, BTN2, BTN3; output L - Pastebin.com (at pastebin.com) | 12:55 |
tnt | At line 6, is that valid in verilog ?!? | 12:55 |
corecode | the initializer | 12:55 |
corecode | ? | 12:55 |
tnt | LED are the outputs | 12:56 |
corecode | oh | 12:56 |
corecode | then i don't understand what this is supposed to do | 12:57 |
tnt | well my guess is the author just assumed it woudl 'connect' Sum[0] with LED1 'bidirectionally'. | 12:57 |
tnt | like a physical wire ... | 12:58 |
corecode | i see | 12:58 |
tnt | but afaik ... it's wrong. | 12:58 |
corecode | yes, that seems wrong | 12:58 |
tnt | and yet yosys seems to accept it. | 12:59 |
corecode | it looks like an initializer | 12:59 |
daveshah | Yosys and LSE both seem to treat the = as bidirectional, Synplify and Verilator seem to treat it as unidirectional | 12:59 |
corecode | oh interesting | 13:00 |
corecode | i mean it doesn't make much sense to use an output as RHS? | 13:00 |
tnt | I usually try to avoid it ... | 13:04 |
tnt | I know in VHDL it's just forbidden. | 13:04 |
corecode | the standard calls this net_decl_assignment | 13:05 |
corecode | and it's in the 6.1 continuous assignment section | 13:06 |
corecode | so that means there are two continuous assignments | 13:07 |
tnt | yeah and the way I read it, it's clearly unidirectional. Value is _driven_ on the LHS whenever the RHS _changes_. | 13:09 |
corecode | yes | 13:09 |
corecode | can an output port be readable? | 13:10 |
tnt | I'm trying to find that in the spec right now. | 13:11 |
corecode | there are examples that imply that you can use output ports as RHS | 13:17 |
corecode | 12.1.2 | 13:17 |
corecode | i think it matters only for the module using the submodule | 13:18 |
tnt | yup, afaict they are just normal wires so you can 'read' their values. | 13:19 |
corecode | yea | 13:20 |
corecode | so in this case, the problem is that there are two conflicting continuous assignments | 13:20 |
corecode | and something bidirectional going on as well? | 13:20 |
*** dys has joined #yosys | 13:23 | |
*** rohitksingh_work has quit IRC | 13:43 | |
*** dys has quit IRC | 14:25 | |
*** rohitksingh has joined #yosys | 14:30 | |
*** citypw has joined #yosys | 14:46 | |
*** rohitksingh has quit IRC | 14:49 | |
*** futarisIRCcloud has quit IRC | 14:52 | |
*** citypw has quit IRC | 14:52 | |
*** proteusguy has quit IRC | 14:57 | |
*** proteusguy has joined #yosys | 15:10 | |
*** emeb has joined #yosys | 15:10 | |
*** proteusguy has quit IRC | 15:36 | |
*** proteusguy has joined #yosys | 15:52 | |
*** proteusguy has quit IRC | 15:57 | |
*** dys has joined #yosys | 16:14 | |
*** proteusguy has joined #yosys | 16:34 | |
FL4SHK | Did anyone happen to see what I mentioned last? | 16:43 |
FL4SHK | I think I found a bug in yosys's SystemVerilog support. | 16:43 |
*** maikmerten has joined #yosys | 16:50 | |
*** indy has quit IRC | 16:56 | |
*** parport0 has quit IRC | 16:56 | |
*** svenn has quit IRC | 16:56 | |
*** anuejn has quit IRC | 16:56 | |
*** svenn has joined #yosys | 17:14 | |
*** parport0 has joined #yosys | 17:14 | |
*** togo has joined #yosys | 17:21 | |
*** indy has joined #yosys | 17:22 | |
FL4SHK | well, I've made a fork. I'll see if I can fix it myself. | 18:08 |
*** voxadam has quit IRC | 18:11 | |
*** voxadam has joined #yosys | 18:11 | |
*** rohitksingh has joined #yosys | 18:16 | |
*** adjtm has quit IRC | 18:24 | |
*** adjtm_ has joined #yosys | 18:24 | |
*** rohitksingh has quit IRC | 18:42 | |
*** rohitksingh has joined #yosys | 19:05 | |
*** rvalles has quit IRC | 19:08 | |
*** rvalles has joined #yosys | 19:10 | |
*** ravenexp has joined #yosys | 19:36 | |
*** adjtm has joined #yosys | 19:39 | |
*** adjtm_ has quit IRC | 19:41 | |
*** maikmerten has quit IRC | 20:38 | |
*** rohitksingh has quit IRC | 20:54 | |
*** gnufan_home has joined #yosys | 22:26 | |
*** GuzTech has quit IRC | 23:04 | |
*** togo has quit IRC | 23:12 | |
*** gnufan_home has quit IRC | 23:34 | |
*** zino has joined #yosys | 23:49 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!