<emeb_mac>
Earlier today I got some help on multiple clock domains. I think I've got a simple example working but wanted to check if it makes sense to the experts. Comments / critique appreciated: https://pastebin.com/BhqKq1Av
electronic_eel has quit [Ping timeout: 260 seconds]
electronic_eel_ has joined #nmigen
PyroPeter_ has joined #nmigen
PyroPeter has quit [Ping timeout: 265 seconds]
PyroPeter_ is now known as PyroPeter
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #nmigen
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #nmigen
jeanthom has joined #nmigen
hitomi2507 has joined #nmigen
emeb_mac has quit [Quit: Leaving.]
<lkcl_>
emeb: as i said, you're missing the reset signal.
<lkcl_>
when you convert to ilang (or verilog) you will find a disconnected signal named "sync_two_rst"
<lkcl_>
you need sync2.rst.eq(ResetSignal())
lkcl_ has quit [Ping timeout: 256 seconds]
jeanthom has quit [Ping timeout: 265 seconds]
Asu has joined #nmigen
jeanthom has joined #nmigen
chipmuenk has joined #nmigen
<jeanthom>
hi there!
_whitelogger has joined #nmigen
FFY00 has quit [Remote host closed the connection]
chipmuenk has quit [Quit: chipmuenk]
emeb has joined #nmigen
<emeb>
lkcl_: yep - good point.
<whitequark>
you can also use a reset-less domain if that fits you better
<whitequark>
it depends on the use case, on FPGAs often global reset is unnecessary
<whitequark>
since you have a nice power-on reset right there
<_whitenotifier-b>
[nmigen/nmigen-boards] whitequark pushed 1 commit to master [+0/-0/±1] https://git.io/JJXYC
<_whitenotifier-b>
[nmigen/nmigen-boards] jeanthom f26a729 - versa_ecp5: Fix DDR3 IO types, using the types from Lattice's DDR3 demo lpf
Asuu has joined #nmigen
Asu has quit [Ping timeout: 240 seconds]
<d1b2>
<emeb> Part of the "learn nmigen" excercise has been translating some old verilog over. I'm synthesizing both designs and comparing the results. For some reason the nmigen output runs about 40% faster but is also about 25% larger. It'll be interesting to dig in to the output and figure out why.
Asuu has quit [Quit: Konversation terminated!]
chipmuenk has joined #nmigen
jeanthom has quit [Ping timeout: 244 seconds]
emeb_mac has joined #nmigen
electronic_eel_ is now known as electronic_eel
chipmuenk has quit [Quit: chipmuenk]
emeb has quit [Ping timeout: 246 seconds]
emeb_mac has quit [Ping timeout: 240 seconds]
jeanthom has joined #nmigen
emeb_mac has joined #nmigen
emeb has joined #nmigen
cr1901_modern has quit [Ping timeout: 256 seconds]