*** tpb has joined #yosys | 00:00 | |
*** emeb_mac has joined #yosys | 00:14 | |
*** futarisIRCcloud has joined #yosys | 00:33 | |
*** emeb has left #yosys | 02:07 | |
*** zino has left #yosys | 02:10 | |
*** dys has quit IRC | 02:27 | |
*** _whitelogger has quit IRC | 02:31 | |
*** _whitelogger has joined #yosys | 02:34 | |
*** PyroPeter has quit IRC | 02:45 | |
*** pointfree has quit IRC | 02:56 | |
*** pointfree has joined #yosys | 02:57 | |
*** PyroPeter has joined #yosys | 02:58 | |
*** tannewt has quit IRC | 03:01 | |
*** tannewt has joined #yosys | 03:02 | |
*** gsi__ has joined #yosys | 03:16 | |
*** gsi_ has quit IRC | 03:19 | |
*** _whitelogger has quit IRC | 03:31 | |
*** _whitelogger has joined #yosys | 03:34 | |
*** _whitelogger has quit IRC | 03:40 | |
*** _whitelogger has joined #yosys | 03:43 | |
*** proteusguy has quit IRC | 04:00 | |
*** _whitelogger has quit IRC | 04:55 | |
*** _whitelogger has joined #yosys | 04:58 | |
*** _whitelogger has quit IRC | 05:55 | |
*** _whitelogger has joined #yosys | 05:58 | |
*** gnufan_home has joined #yosys | 06:17 | |
*** proteusguy has joined #yosys | 06:18 | |
*** emeb_mac has quit IRC | 07:05 | |
*** gsi__ is now known as gsi_ | 07:22 | |
*** proteusguy has quit IRC | 07:48 | |
*** rohitksingh has joined #yosys | 07:58 | |
*** _whitelogger has quit IRC | 08:46 | |
*** _whitelogger has joined #yosys | 08:49 | |
*** MoeIcenowy has quit IRC | 08:55 | |
*** MoeIcenowy has joined #yosys | 08:56 | |
*** rohitksingh has quit IRC | 10:37 | |
*** rohitksingh has joined #yosys | 10:40 | |
*** proteusguy has joined #yosys | 10:41 | |
*** rohitksingh has quit IRC | 10:51 | |
*** rohitksingh has joined #yosys | 10:52 | |
*** maikmerten has joined #yosys | 10:58 | |
*** rohitksingh has quit IRC | 11:14 | |
*** GuzTech has joined #yosys | 12:34 | |
*** rvalles has quit IRC | 13:25 | |
*** maikmerten has quit IRC | 14:04 | |
*** gnufan_home has quit IRC | 14:35 | |
*** gnufan_home has joined #yosys | 14:35 | |
*** emeb has joined #yosys | 14:37 | |
*** adjtm has quit IRC | 15:03 | |
*** adjtm has joined #yosys | 15:09 | |
*** davos has joined #yosys | 15:09 | |
*** futarisIRCcloud has quit IRC | 15:23 | |
FL4SHK | what is the state of VHDL support in Yosys? | 15:45 |
---|---|---|
FL4SHK | "nonexistent" is my guess. | 15:45 |
FL4SHK | looks like it requires verific | 15:49 |
*** davos has quit IRC | 15:52 | |
corecode | FL4SHK: what are you up to? | 15:58 |
FL4SHK | Evaluating my options. | 16:00 |
FL4SHK | I'm pretty happy with VHDL itself... | 16:00 |
FL4SHK | I just hate classical Verilog | 16:00 |
FL4SHK | I really like SystemVerilog and VHDL. | 16:00 |
*** davos has joined #yosys | 16:32 | |
vup2 | FL4SHK: https://github.com/YosysHQ/yosys/wiki/VHDL-frontend-efforts | 16:32 |
tpb | Title: VHDL frontend efforts · YosysHQ/yosys Wiki · GitHub (at github.com) | 16:32 |
*** AlexDaniel has quit IRC | 16:47 | |
cr1901_modern | ghdlsynth isn't feature complete, but has meaningful yosys support. The NVC simulator is feature complete but doesn't have meaningful yosys support; the idea would be to generate yosys RTLIL from NVC. | 16:51 |
*** maikmerten has joined #yosys | 16:59 | |
FL4SHK | oh hey, cr1901_modern, do I know you? | 17:12 |
FL4SHK | looks like you're in at least one other channel I'm in... | 17:12 |
FL4SHK | vup2, cr1901_modern : any way to use the yosys formal verification with that? | 17:13 |
daveshah | I don't think either of those frontends support assert or PSL | 17:19 |
daveshah | So your properties would have to be in SV | 17:19 |
FL4SHK | Okay. Is that a big deal? | 17:19 |
FL4SHK | I'm honestly just trying to figure out my best option going forward at this point. | 17:20 |
FL4SHK | I think I'd prefer to just stick to SystemVerilog. | 17:20 |
FL4SHK | now... I'd like to improve the yosys read_verilog -sv interface support | 17:21 |
FL4SHK | it just... doesn't seem to support passing a parameter into an interface | 17:21 |
FL4SHK | this is such a glaring issue | 17:21 |
FL4SHK | https://paste.ee/p/GiSFB | 17:21 |
FL4SHK | even without the localparam being in package, it doesn't work. | 17:22 |
FL4SHK | it also doesn't seem to think the parameters of an interface are constant? | 17:22 |
FL4SHK | such that, in that "Adder" module, I couldn't access the parameters of the interface that was passed in | 17:23 |
FL4SHK | "couldn't detect width of signal" | 17:28 |
FL4SHK | or, "Failed to detect width for parameter" | 17:32 |
FL4SHK | appears to be a bug in evaluation of parameters inside packages? | 17:34 |
daveshah | Yes, that looks like a bug | 17:43 |
daveshah | also seem to have it some kind of issue in the frontend debugging, -dump_ast2 which usually helps with this kind of stuff is hitting an assert fail | 17:43 |
FL4SHK | I'm gonna try to fix thi | 17:44 |
FL4SHK | s | 17:44 |
daveshah | Cheers! | 17:46 |
daveshah | that would be great | 17:47 |
FL4SHK | ...it's in "type2str" | 17:50 |
FL4SHK | apparently it's an AstNodeType with value 95 | 17:51 |
FL4SHK | which is just... | 17:51 |
FL4SHK | hmmmmm | 17:51 |
FL4SHK | how do I do debug build? | 17:51 |
FL4SHK | I believe I found the thing to do with the makefile. | 17:53 |
FL4SHK | make ENABLE_DEBUG=1 looks like it | 17:53 |
FL4SHK | I was afraid of digging into this yesterday... but now I think I'm going to give it a shot | 17:57 |
FL4SHK | oh, you know what that ast assert bug appears to be? | 18:01 |
FL4SHK | Looks like there was no update of the X macro in type2str | 18:01 |
FL4SHK | ...could stand to have a list of things there tbh | 18:02 |
daveshah | Yes, that makes sense | 18:20 |
*** jwagen has joined #yosys | 18:36 | |
FL4SHK | Okay, I think this is too tough for me | 18:37 |
*** davos has quit IRC | 18:46 | |
*** maikmerten has quit IRC | 18:53 | |
*** davos has joined #yosys | 19:04 | |
*** X-Scale has quit IRC | 19:15 | |
*** davos has left #yosys | 19:30 | |
*** davos has joined #yosys | 20:09 | |
davos | hey all. I'm not able to get yosys to infer an SB_SPI. I have to add a (* keep *) tag to the module instance, for it to be inferred, so something is not quite right. I'm using an iceup5k-sg48. Im not seeing any warnings from yosys, it seems to silently optimize away the block, but I could just not be reading the yosys output correctly. Any recommendations on how to debug the issue further? the sb_spi is being used as a slave, im not | 20:50 |
davos | even connecting a miso line, just SCK, SS, and MOSI, along with the internal SB ports. | 20:50 |
davos | Thanks | 20:51 |
daveshah | davos: it will only be optimised away if none of its outputs (including the system bus outputs) are used | 21:04 |
daveshah | Most likely because other logic is being optimised away | 21:04 |
daveshah | Looking for the names of the wires connected to those ports in the Yosys log output might help to debug this | 21:06 |
davos | ok, thanks, thats a good sanity check. Its probably due to how im crossing the clock domain, from spi to rest of the logic; still new at this. for instance SCKI is 6mghz and SBCLKI is 12 mghz | 21:11 |
davos | actually, the SB_SPI should cross the clock domain for me... i think. i get what your saying, is there a way to have yosys optimize my logic LESS aggressively? | 21:19 |
tnt | davos: post your code somewhere | 21:28 |
davos | im gonna fight with it for another round first haha. Ill be back later with either a KO or a code post. daveshah's comment narrows it down pretty well | 21:35 |
*** AlexDaniel has joined #yosys | 22:03 | |
*** GuzTech has quit IRC | 22:47 | |
*** danieljabailey has joined #yosys | 23:08 | |
*** futarisIRCcloud has joined #yosys | 23:09 | |
*** gnufan_home has quit IRC | 23:21 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!