clifford changed the topic of #yosys to: Yosys Open SYnthesis Suite: http://www.clifford.at/yosys/ -- Channel Logs: https://irclog.whitequark.org/yosys
AlexDaniel has quit [Ping timeout: 265 seconds]
cemerick has joined #yosys
Exaeta-mobile has joined #yosys
Exaeta-mobile has quit [Read error: Connection reset by peer]
Exaeta-mobile2 has quit [Ping timeout: 245 seconds]
seldridge has quit [Ping timeout: 260 seconds]
Exaeta-mobile has joined #yosys
Exaeta-mobile2 has joined #yosys
Exaeta-mobile2 has quit [Read error: Connection reset by peer]
Exaeta-mobile has quit [Ping timeout: 252 seconds]
Exaeta-mobile has joined #yosys
Exaeta-mobile has quit [Read error: Connection reset by peer]
Exaeta-mobile has joined #yosys
Exaeta-mobile has quit [Remote host closed the connection]
maartenBE has quit [Excess Flood]
maartenBE has joined #yosys
pie___ has joined #yosys
pie__ has quit [Ping timeout: 240 seconds]
cemerick has quit [Ping timeout: 256 seconds]
promach has quit [Quit: WeeChat 2.1-dev]
promach has joined #yosys
emeb_mac has joined #yosys
seldridge has joined #yosys
digshadow has quit [Ping timeout: 260 seconds]
<ZipCPU> Hey, 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.
<ZipCPU> (Other bugs were found in the bus addressing, etc.)
<ZipCPU> The 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.
rqou_ has joined #yosys
rqou has quit [Ping timeout: 240 seconds]
rqou_ is now known as rqou
<awygle> ZipCPU: nice!
<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.
<awygle> my actual job has been throttled to 11, i look forward to getting back to personal projects...
<awygle> i think i've come up with a way to prove the fifo that i find aesthetically superior to breaking out the internal pointers
<ZipCPU> Yeah, I understand comppletely about the job.
<ZipCPU> As 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.
<awygle> i'll be sure to show you when i get there :)
<awygle> it 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 particular
<awygle> can you share anything about the project which has you developing an RGMII core?
<ZipCPU> Sure! 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.
<tpb> Title: GitHub - ZipCPU/videozip: A ZipCPU SoC for the Nexys Video board supporting video functionality (at github.com)
<ZipCPU> The ethernet components themselves are coming from my OpenArty project, at https://github.com/ZipCPU/openarty
<tpb> Title: GitHub - ZipCPU/openarty: An Open Source configuration of the Arty platform (at github.com)
<ZipCPU> Only thing is .... they need to be modified from RMII to RGMII, and I took the opportunity to add formal proofs along the way.
<ZipCPU> (To be posted ...)
<awygle> very interesting! thanks
<awygle> (this bot is kind of weird thoughj)
<ZipCPU> Yeah .... not sure I like it.
digshadow has joined #yosys
maartenBE has quit [Ping timeout: 240 seconds]
maartenBE has joined #yosys
seldridge has quit [Quit: WeeChat 1.4]
vinnyp has quit [Quit: Page closed]
emeb_mac has quit [Quit: emeb_mac]
sklv has quit [Quit: quit]
dys has quit [Ping timeout: 260 seconds]
dys has joined #yosys
dys has quit [Remote host closed the connection]
dys has joined #yosys
dys has quit [Remote host closed the connection]
proteus-guy has quit [Remote host closed the connection]
fsasm has joined #yosys
<mattvenn_> I got my i2c master workiong with the new sensor
<mattvenn_> I made 3 changes: repeated starts, more setup/hold time consideration and learnt something new that was really important
<mattvenn_> master shoudl nack the slave on the last data packet when reading
<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 master
proteusguy has quit [Read error: Connection reset by peer]
proteusguy has joined #yosys
promach has quit [Quit: WeeChat 2.1-dev]
<mattvenn_> this is a useful guide to the spec: https://www.nxp.com/docs/en/user-guide/UM10204.pdf
<mattvenn_> and this one has very clear pictures to show who should control SDA when: http://www.ti.com/lit/an/slva704/slva704.pdf
promach has joined #yosys
cemerick has joined #yosys
promach has quit [Quit: WeeChat 2.1-dev]
<ZipCPU> mattvenn_: I2C master for an iCE40? How many LUT4's?
<mattvenn_> 295
xrexeon has joined #yosys
promach has joined #yosys
<ZipCPU> Ahh, ok, got it ... my I2C master must need some serious work then.
AlexDaniel has joined #yosys
<mattvenn_> mine still doesn't handle nacks from slaves or clock stretching
<ZipCPU> Oh, well ... that is a difference. Mine handles both. How does yours handle losing a bus arbitration battle?
<mattvenn_> single master only
<mattvenn_> to this day I've still never used a multimaster i2c bus
<ZipCPU> Well, .. there's another difference then. You consider that you *own* the bus. Must make things nice. ;)
<mattvenn_> yep!
seldridge has joined #yosys
GuzTech_ has joined #yosys
xrexeon has quit [Ping timeout: 252 seconds]
heath has quit [Remote host closed the connection]
cemerick_ has joined #yosys
cemerick has quit [Ping timeout: 256 seconds]
proteus-guy has joined #yosys
<awygle> I recommend avoiding multi master I2C if at all possible
<ZipCPU> awygle: Yeah, sure, but ... it's the protocol.
<awygle> Sure, and sometimes you can't avoid it. But it's a bad protocol, and sometimes you can :-P
eduardo_ has joined #yosys
eduardo__ has quit [Ping timeout: 260 seconds]
<mattvenn_> take a look at page 8 of https://www.nxp.com/docs/en/user-guide/UM10204.pdf
<mattvenn_> useful table for what is required for fulfilling different parts of the spec
<mattvenn_> my module supports all mandatory requirements of single master
jhol has quit [Quit: Coyote finally caught me]
jhol has joined #yosys
m_w has joined #yosys
m_w has quit [Read error: Connection reset by peer]
m_w has joined #yosys
m_w has quit [Read error: Connection reset by peer]
dys has joined #yosys
GuzTech_ has quit [Quit: Leaving]
fsasm has quit [Ping timeout: 256 seconds]
cemerick_ is now known as cemerick
danieljabailey has quit [Ping timeout: 240 seconds]
leviathan has joined #yosys
digshadow has quit [Ping timeout: 256 seconds]
dys has quit [Ping timeout: 265 seconds]
dys has joined #yosys
seldridge has quit [Ping timeout: 252 seconds]
cr1901_modern1 has quit [Quit: Leaving.]
cr1901_modern has joined #yosys
leviathan has quit [Read error: Connection reset by peer]
seldridge has joined #yosys
cemerick has quit [Ping timeout: 260 seconds]
digshadow has joined #yosys
X-Scale has quit [Quit: I love my HydraIRC -> http://www.hydrairc.com <-]
X-Scale has joined #yosys
GuzTech has quit [Ping timeout: 248 seconds]
seldridge has quit [Ping timeout: 268 seconds]
seldridge has joined #yosys
tpb has quit [Remote host closed the connection]
tpb has joined #yosys