Friday, 2018-03-09

*** tpb has joined #yosys00:00
*** AlexDaniel has quit IRC00:19
*** cemerick has joined #yosys00:31
*** Exaeta-mobile has joined #yosys00:51
*** Exaeta-mobile has quit IRC00:53
*** Exaeta-mobile2 has quit IRC00:54
*** seldridge has quit IRC00:54
*** Exaeta-mobile has joined #yosys00:54
*** Exaeta-mobile2 has joined #yosys00:55
*** Exaeta-mobile2 has quit IRC00:56
*** Exaeta-mobile has quit IRC00:58
*** Exaeta-mobile has joined #yosys01:00
*** Exaeta-mobile has joined #yosys01:02
*** Exaeta-mobile has quit IRC01:15
*** maartenBE has quit IRC01:21
*** maartenBE has joined #yosys01:21
*** pie___ has joined #yosys02:04
*** pie__ has quit IRC02:06
*** cemerick has quit IRC02:11
*** promach has quit IRC02:24
*** promach has joined #yosys02:27
*** emeb_mac has joined #yosys03:00
*** seldridge has joined #yosys03:33
*** digshadow has quit IRC03:44
ZipCPUHey, this is cool!  Building an RGMII network interface.  Last time I did this, I had to iterate over many painful rounds with the simulator.  This time, I think I got it right with less than one bug found in the network code.04:12
ZipCPU(Other bugs were found in the bus addressing, etc.)04:13
ZipCPUThe difference?  This time I formally proved all of th network sub-components: add a CRC, add a hardware MAC, add a preamble, insure a minimum packet length, and then the inverse on the receive.04:13
*** rqou_ has joined #yosys04:24
*** rqou has quit IRC04:24
*** rqou_ is now known as rqou04:25
awygleZipCPU: nice!04:29
ZipCPU;)  The last time it was an RMII interface, but still ... I had to rebuild the whole thing to operate on 8-bits at a time instead of 4.04:29
awyglemy actual job has been throttled to 11, i look forward to getting back to personal projects...04:31
awyglei think i've come up with a way to prove the fifo that i find aesthetically superior to breaking out the internal pointers04:32
ZipCPUYeah, I understand comppletely about the job.04:33
ZipCPUAs for the FIFO, I'd love to see it ... but I'll be glad to wait until you either get it working or get stuck.04:33
awyglei'll be sure to show you when i get there :)04:33
awygleit may be somewhat ridiculous to stress out over these kinds of things, but i'm much more interested in developing an approach than a formally verified fifo in particular04:34
awyglecan you share anything about the project which has you developing an RGMII core?04:38
ZipCPUSure!  Most of the code is on line at https://github.com/ZipCPU/videozip although I haven't yet checked in all of the ethernet components.04:40
tpbTitle: GitHub - ZipCPU/videozip: A ZipCPU SoC for the Nexys Video board supporting video functionality (at github.com)04:41
ZipCPUThe ethernet components themselves are coming from my OpenArty project, at https://github.com/ZipCPU/openarty04:41
tpbTitle: GitHub - ZipCPU/openarty: An Open Source configuration of the Arty platform (at github.com)04:41
ZipCPUOnly thing is .... they need to be modified from RMII to RGMII, and  I took the opportunity to add formal proofs along the way.04:42
ZipCPU(To be posted ...)04:42
awyglevery interesting! thanks04:44
awygle(this bot is kind of weird thoughj)04:44
ZipCPUYeah .... not sure I like it.04:44
*** digshadow has joined #yosys04:52
*** maartenBE has quit IRC05:24
*** maartenBE has joined #yosys05:35
*** seldridge has quit IRC06:31
*** vinnyp has quit IRC06:48
*** emeb_mac has quit IRC07:24
*** sklv has quit IRC07:46
*** dys has quit IRC07:48
*** dys has joined #yosys07:54
*** dys has joined #yosys07:56
*** dys has quit IRC08:11
*** proteus-guy has quit IRC08:15
*** fsasm has joined #yosys08:15
mattvenn_I got my i2c master workiong with the new sensor08:57
mattvenn_I made 3 changes: repeated starts, more setup/hold time consideration and learnt something new that was really important08:58
mattvenn_master shoudl nack the slave on the last data packet when reading08:58
mattvenn_it's in the spec but it hadn't mattered on previous sensors. This one actually followed the spec and kept the sda line down without the final nack from the master08:59
*** proteusguy has quit IRC09:26
*** proteusguy has joined #yosys09:27
*** promach has quit IRC09:41
mattvenn_this is a useful guide to the spec: https://www.nxp.com/docs/en/user-guide/UM10204.pdf09:44
mattvenn_and this one has very clear pictures to show who should control SDA when: http://www.ti.com/lit/an/slva704/slva704.pdf09:44
*** promach has joined #yosys10:38
*** cemerick has joined #yosys11:35
*** promach has quit IRC12:27
ZipCPUmattvenn_: I2C master for an iCE40?  How many LUT4's?12:31
mattvenn_29512:32
*** xrexeon has joined #yosys12:33
*** promach has joined #yosys12:37
ZipCPUAhh, ok, got it ... my I2C master must need some serious work then.12:54
*** AlexDaniel has joined #yosys12:58
mattvenn_mine still doesn't handle nacks from slaves or clock stretching13:02
ZipCPUOh, well ... that is a difference.  Mine handles both.  How does yours handle losing a bus arbitration battle?13:15
mattvenn_single master only13:16
mattvenn_to this day I've still never used a multimaster i2c bus13:16
ZipCPUWell, .. there's another difference then.  You consider that you *own* the bus.  Must make things nice.  ;)13:16
mattvenn_yep!13:20
*** seldridge has joined #yosys15:24
*** GuzTech_ has joined #yosys15:27
*** xrexeon has quit IRC15:39
*** heath has quit IRC16:01
*** cemerick_ has joined #yosys16:05
*** cemerick has quit IRC16:09
*** proteus-guy has joined #yosys16:12
awygleI recommend avoiding multi master I2C if at all possible16:12
ZipCPUawygle: Yeah, sure, but ... it's the protocol.16:13
awygleSure, and sometimes you can't avoid it. But it's a bad protocol, and sometimes you can :-P16:21
*** eduardo_ has joined #yosys16:21
*** eduardo__ has quit IRC16:25
mattvenn_take a look at page 8 of https://www.nxp.com/docs/en/user-guide/UM10204.pdf16:36
mattvenn_useful table for what is required for fulfilling different parts of the spec16:36
mattvenn_my module supports all mandatory requirements of single master16:37
*** jhol has quit IRC17:00
*** jhol has joined #yosys17:01
*** m_w has joined #yosys17:04
*** m_w has quit IRC17:05
*** m_w has joined #yosys17:09
*** dys has joined #yosys17:46
*** GuzTech_ has quit IRC18:23
*** fsasm has quit IRC18:32
*** cemerick_ is now known as cemerick18:52
*** danieljabailey has quit IRC19:13
*** leviathan has joined #yosys19:15
*** digshadow has quit IRC19:34
*** dys has quit IRC19:50
*** dys has joined #yosys20:19
*** seldridge has quit IRC20:42
*** cr1901_modern1 has quit IRC20:49
*** cr1901_modern has joined #yosys20:50
*** leviathan has quit IRC21:14
*** seldridge has joined #yosys21:29
*** cemerick has quit IRC21:52
*** digshadow has joined #yosys22:08
*** X-Scale has quit IRC23:05
*** X-Scale has joined #yosys23:20
*** GuzTech has quit IRC23:23
*** seldridge has quit IRC23:24
*** seldridge has joined #yosys23:59

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