sb0_ changed the topic of #m-labs to: https://m-labs.hk :: Logs http://irclog.whitequark.org/m-labs
<sb0> whitequark: what yosys version is needed for nmigen? I'm still getting broken signal names with a fairly recent one
<sb0> whitequark: does this fork (master branch) have all the patches? https://github.com/whitequark/yosys
balrog has quit [Quit: Bye]
balrog has joined #m-labs
<_whitenotifier-1> [nmigen] programmerjake opened issue #49: Delay has wrong scale factor in __repr__ - https://git.io/fjJFs
proteusguy has quit [Remote host closed the connection]
rohitksingh_work has joined #m-labs
<sb0> whitequark: what is the plan for initializing block RAMs in nMigen?
<sb0> in Migen we use $readmemh with an external RAM initialization file, which works fine with xilinx and altera
<sb0> does nMigen support generating such a file?
proteusguy has joined #m-labs
rohitksingh_work has quit [Ping timeout: 255 seconds]
m4ssi has joined #m-labs
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
<sb0> rjo: I received new AD9912 DDS cards from TS - they don't have the bug
<sb0> I'll return the buggy ones
rohitksingh_work has joined #m-labs
<rjo> ok. can you post photos of the good and bad ones and what was on the stickers?
<whitequark> sb0: what do you mean by "broken signal names" exactly?
<whitequark> sb0: re: block RAMs: only the .init attribute on the Memory is supported
<_whitenotifier-1> [nmigen] whitequark commented on issue #48: seperator of signal names in records causes ambiguity - https://git.io/fjJpU
proteusguy has quit [Ping timeout: 250 seconds]
<_whitenotifier-1> [m-labs/nmigen] whitequark pushed 1 commit to master [+0/-0/±1] https://git.io/fjJpH
<_whitenotifier-1> [m-labs/nmigen] whitequark 81ee2db - hdl.ast: fix typo.
<_whitenotifier-1> [nmigen] whitequark closed issue #49: Delay has wrong scale factor in __repr__ - https://git.io/fjJFs
<_whitenotifier-1> [nmigen] Success. The Travis CI build passed - https://travis-ci.org/m-labs/nmigen/builds/510903085?utm_source=github_status&utm_medium=notification
<_whitenotifier-1> [nmigen] Success. 85.5% remains the same compared to d69a4e2 - https://codecov.io/gh/m-labs/nmigen/commit/81ee2db1636a504d2e60fc4649db4afde8b27e4c
<_whitenotifier-1> [nmigen] Failure. 0% of diff hit (target 85.5%) - https://codecov.io/gh/m-labs/nmigen/commit/81ee2db1636a504d2e60fc4649db4afde8b27e4c
<_whitenotifier-1> [nmigen] anuejn commented on issue #48: seperator of signal names in records causes ambiguity - https://git.io/fjJjH
<_whitenotifier-1> [nmigen] whitequark commented on issue #48: seperator of signal names in records causes ambiguity - https://git.io/fjJj7
<_whitenotifier-1> [nmigen] anuejn commented on issue #48: seperator of signal names in records causes ambiguity - https://git.io/fjJjN
<_whitenotifier-1> [nmigen] whitequark commented on issue #48: seperator of signal names in records causes ambiguity - https://git.io/fjJjx
rohitksingh_work has quit [Read error: Connection reset by peer]
<_whitenotifier-1> [nmigen] anuejn opened pull request #50: Change name seperator for siganls in records to double underscore - https://git.io/fjUv7
<_whitenotifier-1> [nmigen] Success. The Travis CI build passed - https://travis-ci.org/m-labs/nmigen/builds/510976581?utm_source=github_status&utm_medium=notification
<_whitenotifier-1> [nmigen] codecov[bot] commented on pull request #50: Change name seperator for siganls in records to double underscore - https://git.io/fjUft
<_whitenotifier-1> [nmigen] whitequark closed issue #48: seperator of signal names in records causes ambiguity - https://git.io/fjJ77
<_whitenotifier-1> [nmigen] whitequark closed pull request #50: Change name seperator for siganls in records to double underscore - https://git.io/fjUv7
<_whitenotifier-1> [m-labs/nmigen] whitequark pushed 1 commit to master [+0/-0/±2] https://git.io/fjUfE
<_whitenotifier-1> [m-labs/nmigen] anuejn 3c95299 - hdl.rec: separate record and signal name with __, not _.
<_whitenotifier-1> [nmigen] Success. The Travis CI build passed - https://travis-ci.org/m-labs/nmigen/builds/510992488?utm_source=github_status&utm_medium=notification
<_whitenotifier-1> [nmigen] Success. 85.5% (+0%) compared to 81ee2db - https://codecov.io/gh/m-labs/nmigen/commit/3c95299c4e3b77c15c5407e54b9c03e5e8e5c2dc
<_whitenotifier-1> [nmigen] Success. 100% of diff hit (target 85.5%) - https://codecov.io/gh/m-labs/nmigen/commit/3c95299c4e3b77c15c5407e54b9c03e5e8e5c2dc
rohitksingh has joined #m-labs
dlrobertson has joined #m-labs
<sb0> whitequark: but migen generates a file that is read by $readmemh for that init attribute
<sb0> _florent_ changed it to be that way, iirc there was a good reason for that (but I don't remember what it was)
<whitequark> sb0: I know. that's not really doable if directly emitting RTLIL, maybe with a yosys patch
<whitequark> though I'm not sure how to write that patch
<whitequark> $readmemh is interpreted by the Yosys verilog frontend so RTLIL doesn't have any way to represent an operation like that
<_florent_> sb0: IIRC i needed that when doing a project with Diamond/Lattice, the way we were doing memory initialization was probably not supported by the tools.
<whitequark> sb0: nevermind, I figured out how to write such a patch
<whitequark> it would be an addition to Yosys' write_verilog
<whitequark> a fairly straightforward one
<whitequark> so if we need that eventually I know how to add it.
<daveshah> Yeah, I know at least one of the Lattice tools tend to dislike (and silently ignore) initials that aren't either readmemh or readmemb...
<daveshah> Think that was icecube, not sure about Diamond
<sb0> whitequark: that's yosys master + the #726 patch
msgctl is now known as loonquawl
<whitequark> sb0: ah, those aren't broken, they aren't inlined
<whitequark> even with the #726 patch some signal names aren't going to be inlined because inlining is conservatively suppressed around some Verilog edge cases
<whitequark> sb0: example of Verilog shit semantics not inlining avoids: https://github.com/YosysHQ/yosys/pull/726#issuecomment-454395807
<whitequark> I'm going to fix that specific one, but there's a lot of them in general
jryans has joined #m-labs
rohitksingh has quit [Ping timeout: 246 seconds]
rohitksingh has joined #m-labs
m4ssi has quit [Remote host closed the connection]
mumptai has joined #m-labs
cr1901_modern1 has joined #m-labs
cr1901_modern has quit [Ping timeout: 245 seconds]
rohitksingh has quit [Remote host closed the connection]
zng has quit [Quit: ZNC 1.7.2 - https://znc.in]
zng has joined #m-labs
cr1901_modern1 has quit [Quit: Leaving.]
cr1901_modern has joined #m-labs
mumptai has quit [Quit: Verlassend]