Wednesday, 2022-01-26

*** tpb <[email protected]> has joined #yosys00:00
*** nelgau_ <[email protected]> has joined #yosys00:54
*** nelgau_ <[email protected]> has quit IRC (Ping timeout: 256 seconds)01:01
*** AdamHorden <[email protected]> has quit IRC (Ping timeout: 250 seconds)01:35
*** AdamHorden <[email protected]> has joined #yosys01:41
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys02:01
*** citypw <citypw!~citypw@gateway/tor-sasl/citypw> has joined #yosys02:12
*** bl0x_ <bl0x_!~bastii@p200300d7a715fe0096030232ca9fe074.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds)02:15
*** bl0x_ <bl0x_!~bastii@p200300d7a70f0d00a1664e82e90d61a6.dip0.t-ipconnect.de> has joined #yosys02:17
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 276 seconds)02:24
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys02:27
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 276 seconds)03:08
*** nelgau_ <[email protected]> has joined #yosys03:49
*** nelgau_ <[email protected]> has quit IRC (Ping timeout: 240 seconds)03:54
*** oldtopman <[email protected]> has quit IRC (Ping timeout: 268 seconds)06:12
*** oldtopman <[email protected]> has joined #yosys06:26
*** vidbina <[email protected]> has joined #yosys07:14
*** vidbina <[email protected]> has quit IRC (Ping timeout: 268 seconds)07:26
*** FabM <[email protected]> has joined #yosys07:37
*** nelgau_ <[email protected]> has joined #yosys07:52
*** nelgau_ <[email protected]> has quit IRC (Ping timeout: 256 seconds)07:59
*** Lord_Nightmare <Lord_Nightmare!Lord_Night@user/lord-nightmare/x-3657113> has quit IRC (Quit: ZNC - http://znc.in)08:33
*** vidbina <[email protected]> has joined #yosys08:35
*** Lord_Nightmare <Lord_Nightmare!Lord_Night@user/lord-nightmare/x-3657113> has joined #yosys08:38
*** vidbina <[email protected]> has quit IRC (Ping timeout: 256 seconds)10:11
*** vidbina <[email protected]> has joined #yosys10:58
*** sagar_acharya <sagar_acharya!~sagar_ach@2405:201:f:1db9:4a96:8154:92bb:7691> has joined #yosys11:42
*** AdamHorden <[email protected]> has quit IRC (Quit: Adam Horden)11:46
*** sagar_acharya <sagar_acharya!~sagar_ach@2405:201:f:1db9:4a96:8154:92bb:7691> has quit IRC (Quit: Leaving)12:31
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys12:31
*** AdamHorden <[email protected]> has joined #yosys12:33
*** citypw <citypw!~citypw@gateway/tor-sasl/citypw> has quit IRC (Ping timeout: 276 seconds)13:26
*** nelgau_ <[email protected]> has joined #yosys14:00
*** nelgau_ <[email protected]> has quit IRC (Ping timeout: 240 seconds)14:06
*** cr1901_ <cr1901_!~cr1901@2601:8d:8600:911:cf1:8507:720a:c17> has joined #yosys15:39
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:c11c:2a92:dcdc:271a> has quit IRC (Ping timeout: 240 seconds)15:42
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Quit: Leaving)15:54
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 276 seconds)16:34
*** vidbina <[email protected]> has quit IRC (Ping timeout: 240 seconds)16:50
*** gsmecher <[email protected]> has joined #yosys16:51
*** cr1901_ is now known as cr190117:01
*** lambda <lambda!~weechat@2a01:4f8:c010:8b24::1> has quit IRC (Quit: WeeChat 3.4)17:03
*** lambda <[email protected]> has joined #yosys17:04
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys17:24
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 276 seconds)17:39
*** nelgau_ <[email protected]> has joined #yosys18:04
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys18:07
*** nelgau_ <[email protected]> has quit IRC (Ping timeout: 268 seconds)18:08
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 276 seconds)18:38
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys19:06
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 276 seconds)19:16
*** AdamHorden <[email protected]> has quit IRC (Ping timeout: 250 seconds)19:20
*** AdamHorden <[email protected]> has joined #yosys19:32
*** Guest30 <[email protected]> has joined #yosys20:11
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys20:22
Guest30Hi everyone! Not sure if this is the right place for such questions, but anyway. I'm trying to figure out whether iCE40 is the right FPGA for my hobby project that involves ADC with 70-80 MHz serial bus, so obviously I need to do some nanosecond timing math... Does yosys/nextpnr-ice40 have some timing info for IO buffers? So far I only see that20:30
Guest30nextpnr reports e.g. output pin critical path latencies between e.g. "posedge clk" and "...$sb_io.D_OUT_0 / D_OUT_1". Is there any (approximate) info on the delay between D_OUT_x and the actual hardware pin? Also would be curious to know the same for input side of things (delay, or ideally setup/hold requirements for a pin that registers input with20:30
Guest30a DFF and puts it onto D_IN_x). Wasn't able to find this info in the datasheet. Most probably iCEcube2 could've helped there, but a.t.m I have neither the tool nor the license for it..20:30
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 276 seconds)20:31
tntThere is no IO timing info in the open toolchain at all.20:31
tntWhich iCE40 device are you considering ?20:32
Guest30HX4K in TQFP144 package20:32
tntHX will have 2.6~2.8 ns clock to out  (from the internal clock edge to the moment it hits the externa IO).20:33
tntIt has 1.0~1.4 ns setup time on IOFF input (relative to the internal clock edge)20:35
Guest30Hm.. Thanks for the numbers :-)  Where did you get that data, iCEcube2?20:35
tntAnd ~ -500 ns hold time (negative hold time) again, against the internal clock edge.20:36
tntyes, from icecube 2, made some test veriog, wrote down the numbers.20:36
mwkumm... units?20:36
tntoh sorry, -0.5 ns ...20:37
tnt(I wrote it down in ps ...)20:37
mwkyeah, microsecond-order IO timings would be obviously wrong20:38
mwk~unless you're dealing with insane FPGA such as UltraScale~20:38
mwk~hrm20:38
tntGuest30: It's long winder and I ramble a lot but I got through an example there https://www.youtube.com/watch?v=mitAhMOt3zI for flash timing (fast SPI)20:39
tntyou can probably skip the first 30 min or so.20:40
Guest30tnt ok, thanks, will check20:44
Guest30BTW, I could've searched first through the git before asking... there seems to be a timing DB in icestorm: https://github.com/YosysHQ/icestorm/blob/master/icefuzz/timings_hx8k.txt . Next to it is timings.py script which can convert it to HTML format. And it lists e.g. IO, PRE_IO cells with PACKAGEPIN wires, so I guess I can look into there if I20:47
Guest30need more info :-)20:47
Guest30But I guess nextpnr just does not use / show all the data from it.20:47
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys20:53
*** nelgau_ <[email protected]> has joined #yosys21:06
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 276 seconds)21:10
Guest30Wow. The difference between registered and unregistered output latency is impressive. Registered output will have 309ps for glbclk->OUTCLK + 140ps for OUTCLK->PADOUT (output ff) + 2353ps for PADOUT->PACKAGEPIN (output buffer), 2802ps in total from clk to pin (matches quite well with 2.6~2.8ns number above, I took worst-case numbers from the21:23
Guest30timings). OTOH, unregistered output will have 2237ps for DOUT0->PADOUT + 2353ps for PADOUT->PACKAGEPIN, 4590 ps in total, and this not including all the routing needed to get the signal on DOUT0.21:23
Guest30This confirms my occasional thought that if you want to output internal FPGA _clock_ onto the pin, and you want minimal skew, it's better use registered DDR output instead of casually routing clock through the fabric to DOUT0/1 and then running it straight to the pin without FFs.21:23
mwkthat's pretty much the standard procedure for doing this21:24
mwkfor source-synchronous applications21:24
Guest30ok, didn't know that :-) (I'm just beginning with FPGAs)21:25
*** vidbina <[email protected]> has joined #yosys21:27
tntyeah, it's not even a choice unless you work at trivially slow speeds.21:42
*** nelgau_ <[email protected]> has quit IRC (Remote host closed the connection)22:06
*** nelgau_ <[email protected]> has joined #yosys22:06
*** nelgau_ <[email protected]> has quit IRC (Ping timeout: 250 seconds)22:10
*** uis <[email protected]> has quit IRC (Ping timeout: 240 seconds)22:27
*** uis <[email protected]> has joined #yosys22:29
*** vidbina <[email protected]> has quit IRC (Quit: vidbina)22:43
*** uis <[email protected]> has quit IRC (Quit: ZNC 1.7.5 - https://znc.in)22:50
*** uis <[email protected]> has joined #yosys22:50
*** nelgau_ <[email protected]> has joined #yosys23:51

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!