Wednesday, 2019-11-20

*** tpb has joined #yosys00:00
*** dys has quit IRC00:03
*** X-Scale has quit IRC00:17
*** X-Scale has joined #yosys00:27
*** kraiskil has quit IRC00:38
*** X-Scale` has joined #yosys01:03
*** X-Scale has quit IRC01:03
*** X-Scale` is now known as X-Scale01:03
*** dnotq has quit IRC02:11
*** rohitksingh has joined #yosys02:16
*** nrossi has joined #yosys03:19
*** voxadam has quit IRC04:45
*** voxadam has joined #yosys04:51
*** citypw has joined #yosys05:07
*** dys has joined #yosys05:56
*** flaviusb has joined #yosys07:19
*** lukego has joined #yosys07:56
lukegoIs there any Emacs mode that vaguely suits rtlil?07:57
ZirconiumXOh, hey lukego08:08
lukegoG'day ZirconiumX  :)08:08
ZirconiumXRTLIL is not really intended for human editing08:08
lukegoI'm mostly intending to read at the moment. I think a little syntax colouring would help to make the \src attributes less distracting for example.08:09
ZirconiumXI mean, you can always write one :P08:10
lukegoSure just curious first what other people are doing e.g. maybe some generic commands can do the job too. Just now I'm using 'grep -v' but that's clunky :)08:12
*** kraiskil has joined #yosys08:12
lukegoSeems like the yosys package for nixpkgs doesn't pull in the runtime dependencies needed for 'yosys show'. I wonder if it should.08:14
ZirconiumXcc emily, maybe?08:16
lukegoGood entry point for me into Yosys, checking for how it finds those commands.08:18
lukegovia PATH by the look of it. So I guess the nix package would need a wrapper script.08:19
*** ZipCPU has quit IRC08:40
*** kraiskil has quit IRC08:43
*** ZipCPU has joined #yosys08:44
*** rohitksingh has quit IRC09:48
*** kraiskil has joined #yosys09:48
*** rohitksingh has joined #yosys09:50
*** dys has quit IRC12:03
*** jakobwenzel has quit IRC12:06
*** jakobwenzel has joined #yosys12:06
*** kraiskil has quit IRC14:17
*** kraiskil has joined #yosys14:31
*** rohitksingh has quit IRC14:35
*** kraiskil has quit IRC15:17
*** emeb has joined #yosys15:41
whitequarkdaveshah: btw, have you ever considered porting some ecp5-only features of nextpnr back to ice40?16:44
daveshahI think it's only out-of-context that is ecp5 specific16:44
daveshahI will when I get round to it16:44
daveshah(and I wanted to deal with a few other related things first)16:45
whitequarkoh alright, I somehow misremembered that there's more16:45
whitequarkrelated: what about making HeAP the default on iCE40?16:45
daveshahAlso on the TODO list (need to fix an edge case of a design with no regular IO, just oscillator and RGB primitives, causing a singular matrix)16:46
whitequarkgotcha, thanks!16:46
daveshahI better get the iCE40 stuff into shape before the rumoured iCE28 or whatever is announced next month...16:47
whitequarkthe what16:58
whitequarki thought lattice gave up on that series16:58
daveshahOh it is only the spiritual successor16:59
daveshahI don't think it will actually be called iCE2816:59
daveshahBut it will be a similar low power/feature set to the UltraPlus16:59
ZirconiumXI just hope their product naming scheme is better than their primitive naming scheme17:03
daveshahPrimitive naming will doubtless be similar to ECP517:04
whitequarkwhat about the CLBs?17:05
daveshahAt a guess roughly ECP5-like, although I've heard some possible further experimentation has gone on17:06
daveshahThe only thing they've officially said is still LUT4 based17:06
whitequarkah hm17:06
whitequarkso they basically put the ice40 logic into trash?17:06
daveshahYeah definitely17:07
*** dh73 has joined #yosys17:07
daveshahBy the UltraPlus you could tell they were really hacking at the designs with no real understanding of them17:07
daveshahAll the SiliconBlue people left soon after the merger, afaik17:07
daveshahIndeed Radiant tries to make the iCE40 logic look more like ECP5, presumably to fit the Lattice CAD architecture (e.g. rotating the chip through 90degrees)17:08
ZirconiumXSo we're expecting this to be essentially a low-power ECP5-like?17:08
daveshahYes17:08
daveshahI believe with iCE40UP-style large RAM blocks too (not sure if still single-ported)17:08
*** citypw has quit IRC17:09
daveshahsee around p52 of http://ir.latticesemi.com/static-files/ae25405a-2497-471e-bee4-69b0c58b546e17:09
ZirconiumXThat's...actually interesting to look at17:11
ZirconiumX"100% Focus on FPGA"17:11
ZirconiumXBut isn't MachXO3 a CPLD?17:11
daveshahNo, it's an FPGA17:11
daveshahAnything with LUTs is an FPGA, imo17:12
ZirconiumXRight, okay17:14
whitequarkoh, so you would call LUT-based arches "FPGA" and SOP-based "CPLD"? that's one way to do it17:16
whitequarkre SB people leaving: interesting. was their HDL/layout so impenetrable that the Lattice people couldn't figure it out?17:16
whitequarkor is it just hard?17:17
daveshahMy guess is that something like an FPGA is always going to be pretty nasty, because a lot is manually laid out rather than HDL17:30
daveshahIt was also doubtless rushed given the constraints on SiliconBlue17:31
daveshahIn fact I think SB would have gone bankrupt were it not for Lattice17:31
daveshahTo get you an idea of the bodgniness - the DSPs are interconnected through a hacked logic tile17:32
whitequarkI recall some of that I think17:32
daveshahSaid logic tile still has all the logic intact - but the tools always setting the LUT as a route through from cascade in to out17:32
daveshahThe DSP then taps of the LUT inputs and feeds its output into the logic tile cascade path17:33
daveshahWhere the LUT then feeds it back to fabric17:33
daveshahIf they knew what they were doing then they definitely wouldn't have left the redundant LUT in place adding delay but just kept the interconnect part of the tile17:34
whitequarkwait what17:35
whitequarkthe ... LUTs are there17:35
whitequarklmao17:35
daveshahYes17:35
whitequarkwhat the fuck17:35
whitequarkthat's amazing17:35
daveshahI think the FFs might be there too but I've never tested17:35
whitequarkthis is webdev-level quality17:37
daveshahThe lm4k goes a different approach and connects its hard IP via complete IO tiles17:38
daveshahAlmost as if they laid two chips out next to each other and added some wires between the two17:38
whitequarkum17:38
mwkthey what17:39
daveshahIf they weren't in wafer level packaging I'd be putting them in an xray17:39
daveshahBut it must be one die, just laid out as two17:39
whitequarkcan someone send me some so i can take die shots17:39
mwkcan... can you actually usefully program the LUT in any way?17:40
whitequarkat least they didn't use the logic tile FF as DSP output register17:40
daveshahI think you could use the LUT just as a LUT if you were running low17:41
daveshahJust without the cascade function17:41
whitequarkwould be fun to make nextpnr do that17:41
daveshahYeah, I might have a play with that17:41
whitequarkhm, can't buy lm4k locally :/17:43
ZirconiumX(could somebody expand lm4k for me?)17:44
mwkZirconiumX: one of the ice40 parts17:44
daveshahlm1k and lm2k are the same dice btw17:44
daveshahas lm4k17:44
whitequarklp4k is a different device right17:45
ZirconiumXAh, I see17:45
daveshahlp4k is rebranded lp8k17:45
daveshahOne of the classic parts17:45
whitequarkum17:45
whitequarkice5lp4k?17:45
daveshahOh that's the iCE40 ultra17:45
whitequarkNOT CONFUSING AT ALL17:46
daveshahidek where the 5 comes from17:46
daveshahI don't think it's 5nm17:46
daveshahAnd then they went back to 40 for ultralite and ultraplus17:46
whitequarkultralite is um. lm4k?17:46
daveshahNo, ice40ul1k17:47
whitequarkwhat the hell17:47
whitequarkhow many of these models do they -have-17:48
daveshahlm4k is a really weird somewhat abandoned series between the lp/hx and the various ultra parts17:48
daveshahIt is not surprising its hard to get hold of17:48
daveshahThe official dev board is also ridiculously expensive for some reason17:49
whitequarkwhen did they rebrand UP as "low power AI"17:50
daveshahIt's their whole new strategy17:50
daveshah"edge AI"17:50
daveshahThey've got some model compiler tool now too, sensAI17:51
whitequarkalso what's up with having both diamond and radiant17:52
daveshahRadiant is an attempt at a fresh start17:52
whitequarkah, without neocad stuff17:52
whitequarkbut... it can only do UP?17:53
daveshahOh no still neocad inside17:53
daveshahAt least to some extent17:53
whitequarkoh.17:53
daveshahJust a new GUI and some supposed pnr improvements17:53
daveshahAlso some kind of IP integrator that doesn't quite work yet17:53
daveshahRadiant will be the CAD tool for new archs going forward17:53
daveshahThe up5k is really just a proof of concept for it17:54
whitequarkoic17:54
ZirconiumXIs Radiant a front-end to the old Diamond toolchain, or from-scratch?17:59
daveshahHalf and half18:02
daveshahThey've supposedly improved things a bit and changed the design database format18:03
daveshahBut there's still plenty of NeoCAD in thete18:03
daveshahUnlike Vivado which was a near total from scratch job afaik18:03
whitequark"1000 person years"18:04
dh73I know two folks that worked at Xilinx when they started to develop Vivado. They said that, a lot of departments got really crazy deadlines, and lots of engineering burnout18:09
*** dnotq has joined #yosys18:15
*** kraiskil has joined #yosys18:56
*** dys has joined #yosys19:25
daveshahOh another funny Radiant thing is that it is at least trying to replace some Tcl with Python (in particular the core generators) - but in true EDA style, Python 2.719:31
daveshahYay for building using a dependency that will be obsolete by the time your tool is actually properly launched19:31
whitequarklol19:40
whitequarkI'm actually not sure if I dislike Tcl that much19:41
whitequarkin particular, it's very lightweight, unlike Python19:41
whitequarkI would gladly use Tcl in nextpnr, because right now I assume I can't rely on any scripting capability at all19:41
daveshahYeah, Python makes things for stuff like describing FPGAs or more complex prototyping19:43
daveshahIt's a shame linking it is such a nuisance19:43
whitequarkdo you think there's any chance nextpnr could gain tcl bindings?19:45
whitequarkI might volunteer to provide the implementation there19:45
whitequarkafter some in-depth Vivado work I grew to appreciate its Tcl capabilities19:45
daveshahI'd really rather not have to maintain two sets of bindings19:46
daveshahAnother possibility is micropython19:46
dnotqDid you actually like Tcl though, or is the appreciation because it allowed you to do something you otherwise could not?19:46
daveshahAlthough it wouldn't work out of the box with Boost because it doesn't implement the CPython API19:47
dnotqWas Lua considered?  It is designed to be embedded, is fast and lightweight.  At work I have to maintain a code-base that binds Python and it is a PITA.19:48
ZirconiumXThe Lua C API is mildly terrifying20:21
ZirconiumXsetjmp/longjmp error handling20:24
*** nrossi has quit IRC21:32
*** rektide_ has quit IRC21:33
*** rektide has joined #yosys21:34
*** dnotq has quit IRC21:42
*** dnotq has joined #yosys21:49
*** rohitksingh has joined #yosys22:17
*** cr1901_modern has quit IRC22:23
*** rohitksingh has quit IRC22:33
*** rohitksingh has joined #yosys22:36
*** cr1901_modern has joined #yosys22:58
*** kraiskil has quit IRC23:38
*** kraiskil has joined #yosys23:45

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!