*** tpb has joined #yosys | 00:00 | |
*** proteusguy has quit IRC | 01:12 | |
*** m4ssi has quit IRC | 01:40 | |
*** gsi_ has joined #yosys | 01:56 | |
*** gsi__ has quit IRC | 01:59 | |
*** noname_Matt has quit IRC | 02:08 | |
*** proteusguy has joined #yosys | 02:15 | |
*** emeb_mac has joined #yosys | 02:41 | |
*** _whitelogger has quit IRC | 02:52 | |
*** _whitelogger has joined #yosys | 02:54 | |
*** proteusguy has quit IRC | 02:56 | |
*** proteusguy has joined #yosys | 03:36 | |
*** emeb has left #yosys | 04:13 | |
*** m4ssi has joined #yosys | 04:31 | |
*** pie___ has joined #yosys | 05:04 | |
*** pie__ has quit IRC | 05:07 | |
*** proteusguy has quit IRC | 05:33 | |
*** proteusguy has joined #yosys | 05:36 | |
*** m4ssi has quit IRC | 06:20 | |
*** proteusguy has quit IRC | 06:46 | |
*** emeb_mac has quit IRC | 07:04 | |
*** tlwoerner has quit IRC | 07:47 | |
*** xdeller__ has quit IRC | 07:47 | |
*** tlwoerner has joined #yosys | 07:48 | |
*** kuldeep has quit IRC | 08:44 | |
*** kuldeep has joined #yosys | 08:44 | |
*** dys has joined #yosys | 08:46 | |
*** xerpi has joined #yosys | 09:47 | |
*** xerpi_ has joined #yosys | 10:24 | |
*** xerpi has quit IRC | 10:25 | |
*** xerpi_ has quit IRC | 11:03 | |
*** Laksen has joined #yosys | 11:04 | |
*** xerpi_ has joined #yosys | 11:19 | |
*** xerpi__ has joined #yosys | 11:22 | |
*** xerpi_ has quit IRC | 11:25 | |
*** xerpi__ has quit IRC | 11:49 | |
*** xerpi__ has joined #yosys | 11:50 | |
*** xerpi__ has joined #yosys | 11:51 | |
*** xerpi__ has quit IRC | 11:57 | |
*** xerpi__ has joined #yosys | 11:59 | |
*** xerpi__ has quit IRC | 12:07 | |
*** leviathanch has joined #yosys | 13:14 | |
MoeIcenowy | how much current will an iCE40UP5K cost at most? | 13:48 |
---|---|---|
tnt | like 10-20 mA 1.2v core current at the _very_ most. | 13:52 |
tnt | for the IO ... well, that's mostly whatever you connect on those IO. | 13:53 |
*** proteusguy has joined #yosys | 14:13 | |
*** danieljabailey has joined #yosys | 14:41 | |
*** citypw has quit IRC | 14:49 | |
*** citypw has joined #yosys | 15:01 | |
tnt | I have no idea if it's even doable, but I wish there was a way to tell yosys to not create a different control set (i.e. Clk / CE / Set/Reset) for the bits of a same vector create from the same verilog statement. | 15:13 |
*** xerpi has joined #yosys | 15:13 | |
tnt | It's virtually never what I want. | 15:13 |
tnt | "Great you saved 1 LUT4 by using the Set/Reset ... but (1) it's not really saved because the LUT4 is there anyway and has to be used as pass through (2) now the entire PLB is used up by 1 LC because that controlset is not used anywhere else" | 15:15 |
corecode | \o/ the bin works! | 16:15 |
corecode | blinks | 16:15 |
daveshah | \o/ | 16:16 |
corecode | finally i can unrecurse my yak | 16:16 |
corecode | and get on with my cpu design | 16:17 |
daveshah | :D | 16:17 |
corecode | tnt: what would you like to see instead? | 16:17 |
corecode | daveshah: is there anything else i need to do for these PRs, or do we just wait until somebody commits? | 16:33 |
daveshah | I'll get clifford to review the icestorm one, then merge the nextpnr one once that's done | 16:34 |
corecode | cool | 16:34 |
tnt | corecode: well instead of using the 'set' line, it could pack an OR in the LUT4 before the FF. | 16:35 |
corecode | aha | 16:36 |
corecode | if it is a sync set | 16:36 |
tnt | it is. | 16:36 |
*** xerpi has quit IRC | 16:37 | |
tnt | And in another instance, for some reason, it decided to use the CE line instead of a MUX with previous value for a _single_ bit of a 12 bit vector ... (even though it doesn't save anything, the LUT4 before that FF could be used for that with no overhead). | 16:37 |
corecode | isn't that a thing the placer also needs to have a say in? | 16:37 |
tnt | the synth does the LUT packing, so it should know that this fits inside the LUT preceding the FF. | 16:38 |
daveshah | It wouldn't be a big pass to unpack CE/SR if (a) the FF is driven by a LUT with spare inputs or (b) the FF is driven by a non-LUT or LUT with fanout >1 | 16:39 |
daveshah | not that I have time to write it any time soon | 16:39 |
corecode | why fanout>1? | 16:40 |
daveshah | somewhat arbitrarily we separate the FF from the LUT in these cases rather than duplicating the LUT | 16:41 |
daveshah | probably slightly reduces routing congestion, as only one signal to route rather than 1-4 | 16:41 |
corecode | ah, the DFF can only receive input from the LUT out? | 16:41 |
daveshah | yeah | 16:42 |
daveshah | unlike most other FPGA arches | 16:42 |
corecode | i see | 16:42 |
corecode | who inserts the passthrough LUT? | 16:42 |
daveshah | nextpnr | 16:42 |
corecode | but if you wrote a pass to check for LUT out > 1, you might as well do it in yosys? | 16:42 |
daveshah | corecode: icestorm PR is merged | 16:43 |
daveshah | can you update https://github.com/YosysHQ/nextpnr/blob/master/.cirrus/Dockerfile.ubuntu16.04#L30 in your branch so that nextpnr CI should pass? | 16:44 |
tpb | Title: nextpnr/Dockerfile.ubuntu16.04 at master · YosysHQ/nextpnr · GitHub (at github.com) | 16:44 |
tnt | daveshah: thing is, I'd mostly like that decision to be based on the full vector rather than individual bits, to avoid creating different control sets. | 16:44 |
corecode | will do | 16:44 |
corecode | tnt: because of timing? | 16:51 |
tnt | corecode: because I don't want to waste PLBs | 16:52 |
corecode | for a vector you have the advantage of sharing the signals tho | 16:52 |
tnt | corecode: LCs with different control set can't be packed in the same PLB. | 16:52 |
corecode | yes | 16:52 |
MoeIcenowy | daveshah: how to estimate how much power will iCE40 drain? | 16:53 |
daveshah | I think Lattice have a tool somewhere | 16:53 |
MoeIcenowy | I'm considering to make a board with small-size LDO | 16:53 |
daveshah | the answer is not much :) | 16:53 |
MoeIcenowy | daveshah: is there an upper bonud | 16:53 |
MoeIcenowy | bound * | 16:53 |
daveshah | for the up5k? 30mA | 16:53 |
MoeIcenowy | the datasheet says booting peak current | 16:53 |
MoeIcenowy | but no highest operation current | 16:54 |
daveshah | no, that's quite hard to specify | 16:54 |
MoeIcenowy | maybe I should download the design checklist by Lattice? | 16:54 |
tnt | MoeIcenowy: the icebreaker uses sot-23 linear regulators. | 16:55 |
daveshah | fwiw, MARLANN (simple CNN accelerator) using all DSPs, SPRAM and majority of LUTs at 20MHz consumes 14mA Vcore | 16:56 |
daveshah | going above 40MHz for a large design would be very hard, so that would give about 30mA max | 16:56 |
corecode | MoeIcenowy: yea, also understand difference between core and IO current | 16:59 |
MoeIcenowy | tnt: okay ;-) | 16:59 |
MoeIcenowy | seems that 200mA is enough? | 16:59 |
corecode | for what rail | 17:00 |
daveshah | If it draws 200mA Vcore it is probably dead :P | 17:00 |
daveshah | IO pins are 8mA nominal max current, so max for all 36 non-open-drain pins is 288mA, but that's quite a crazy case | 17:00 |
corecode | i use a mic5504-1.2 fwiw | 17:01 |
tnt | daveshah: or like me you soldered it 90deg off :p | 17:01 |
corecode | daveshah: yea but isn't switching current higher? | 17:01 |
daveshah | corecode: maybe a bit, probably not that significant at iCE40 freqs and slew rates though | 17:01 |
corecode | ok | 17:02 |
corecode | well, knowing the application + math = success | 17:02 |
MoeIcenowy | tnt: is your chip still alive? | 17:02 |
MoeIcenowy | or does it rest in peace? | 17:02 |
tnt | MoeIcenowy: it survived just fine :) | 17:03 |
*** develonepi3 has quit IRC | 17:04 | |
*** develonepi3 has joined #yosys | 17:06 | |
corecode | imaginary current | 17:08 |
MoeIcenowy | oh as a Computer Science student I know none about imaginary in circuits | 17:19 |
corecode | it's a joke | 17:20 |
corecode | because the chip was 90 degree offset | 17:20 |
shapr | zing | 17:26 |
*** danieljabailey has quit IRC | 17:40 | |
*** leviathanch has quit IRC | 18:21 | |
*** dys has quit IRC | 20:12 | |
*** dys has joined #yosys | 20:21 | |
corecode | hm, syntax error | 21:16 |
corecode | top.v:39: ERROR: syntax error, unexpected ATTR_END, expecting TOK_ID | 21:17 |
corecode | i can't use catch all signal assignments? | 21:17 |
daveshah | sounds like systemverilog | 21:17 |
daveshah | what does your code look like? | 21:17 |
corecode | module instantiation with , .*); | 21:18 |
corecode | hm i guess everybody else accepted it | 21:18 |
daveshah | yeah, that's valid systemverilog only | 21:18 |
corecode | even with -sv yosys doesn't like it | 21:19 |
corecode | sadface | 21:19 |
daveshah | no, yosys only has limited sv support right now | 21:20 |
corecode | i wonder whether some emacs autoparam magic will do the right thing | 21:20 |
corecode | a: yes. | 21:22 |
*** danieljabailey has joined #yosys | 21:42 | |
corecode | somehow i can't get verilog-mode to align my hand written ports in an instantiation | 21:54 |
*** m4ssi has joined #yosys | 22:00 | |
*** emeb_mac has joined #yosys | 22:10 | |
*** m4ssi has quit IRC | 22:16 | |
*** danieljabailey has quit IRC | 22:31 | |
*** emeb_mac has quit IRC | 22:40 | |
*** Laksen has quit IRC | 23:13 | |
corecode | so what's the suggested way to design a POR | 23:18 |
corecode | nothing? | 23:18 |
ZipCPU | reg por; initial por = 1'b1; always @(posedge i_clk) por <= 1'b0; | 23:21 |
corecode | ah, synchronous | 23:22 |
corecode | yea i had something like that, just more complicated with multiple shifts | 23:22 |
corecode | hm, now only 28MHZ? | 23:30 |
corecode | so how come icecube says clock frequency 47MHz | 23:37 |
corecode | and nextpnr says 28MHz | 23:37 |
corecode | but then, icecube can't place my ram, so... | 23:37 |
*** cr1901_modern has quit IRC | 23:40 | |
corecode | how do i read this slack histogram? | 23:44 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!