*** tpb <[email protected]> has joined #yosys | 00:00 | |
*** nelgau_ <[email protected]> has joined #yosys | 00: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 #yosys | 01:41 | |
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys | 02:01 | |
*** citypw <citypw!~citypw@gateway/tor-sasl/citypw> has joined #yosys | 02: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 #yosys | 02: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 #yosys | 02:27 | |
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 276 seconds) | 03:08 | |
*** nelgau_ <[email protected]> has joined #yosys | 03: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 #yosys | 06:26 | |
*** vidbina <[email protected]> has joined #yosys | 07:14 | |
*** vidbina <[email protected]> has quit IRC (Ping timeout: 268 seconds) | 07:26 | |
*** FabM <[email protected]> has joined #yosys | 07:37 | |
*** nelgau_ <[email protected]> has joined #yosys | 07: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 #yosys | 08:35 | |
*** Lord_Nightmare <Lord_Nightmare!Lord_Night@user/lord-nightmare/x-3657113> has joined #yosys | 08:38 | |
*** vidbina <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 10:11 | |
*** vidbina <[email protected]> has joined #yosys | 10:58 | |
*** sagar_acharya <sagar_acharya!~sagar_ach@2405:201:f:1db9:4a96:8154:92bb:7691> has joined #yosys | 11: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 #yosys | 12:31 | |
*** AdamHorden <[email protected]> has joined #yosys | 12:33 | |
*** citypw <citypw!~citypw@gateway/tor-sasl/citypw> has quit IRC (Ping timeout: 276 seconds) | 13:26 | |
*** nelgau_ <[email protected]> has joined #yosys | 14: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 #yosys | 15: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 #yosys | 16:51 | |
*** cr1901_ is now known as cr1901 | 17:01 | |
*** lambda <lambda!~weechat@2a01:4f8:c010:8b24::1> has quit IRC (Quit: WeeChat 3.4) | 17:03 | |
*** lambda <[email protected]> has joined #yosys | 17:04 | |
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys | 17:24 | |
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 276 seconds) | 17:39 | |
*** nelgau_ <[email protected]> has joined #yosys | 18:04 | |
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys | 18: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 #yosys | 19: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 #yosys | 19:32 | |
*** Guest30 <[email protected]> has joined #yosys | 20:11 | |
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys | 20:22 | |
Guest30 | Hi 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 that | 20:30 |
---|---|---|
Guest30 | nextpnr 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 with | 20:30 |
Guest30 | a 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 | |
tnt | There is no IO timing info in the open toolchain at all. | 20:31 |
tnt | Which iCE40 device are you considering ? | 20:32 |
Guest30 | HX4K in TQFP144 package | 20:32 |
tnt | HX 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 |
tnt | It has 1.0~1.4 ns setup time on IOFF input (relative to the internal clock edge) | 20:35 |
Guest30 | Hm.. Thanks for the numbers :-) Where did you get that data, iCEcube2? | 20:35 |
tnt | And ~ -500 ns hold time (negative hold time) again, against the internal clock edge. | 20:36 |
tnt | yes, from icecube 2, made some test veriog, wrote down the numbers. | 20:36 |
mwk | umm... units? | 20:36 |
tnt | oh sorry, -0.5 ns ... | 20:37 |
tnt | (I wrote it down in ps ...) | 20:37 |
mwk | yeah, microsecond-order IO timings would be obviously wrong | 20:38 |
mwk | ~unless you're dealing with insane FPGA such as UltraScale~ | 20:38 |
mwk | ~hrm | 20:38 |
tnt | Guest30: 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 |
tnt | you can probably skip the first 30 min or so. | 20:40 |
Guest30 | tnt ok, thanks, will check | 20:44 |
Guest30 | BTW, 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 I | 20:47 |
Guest30 | need more info :-) | 20:47 |
Guest30 | But I guess nextpnr just does not use / show all the data from it. | 20:47 |
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys | 20:53 | |
*** nelgau_ <[email protected]> has joined #yosys | 21:06 | |
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 276 seconds) | 21:10 | |
Guest30 | Wow. 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 the | 21:23 |
Guest30 | timings). 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 |
Guest30 | This 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 |
mwk | that's pretty much the standard procedure for doing this | 21:24 |
mwk | for source-synchronous applications | 21:24 |
Guest30 | ok, didn't know that :-) (I'm just beginning with FPGAs) | 21:25 |
*** vidbina <[email protected]> has joined #yosys | 21:27 | |
tnt | yeah, 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 #yosys | 22: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 #yosys | 22: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 #yosys | 22:50 | |
*** nelgau_ <[email protected]> has joined #yosys | 23:51 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!