sb0 changed the topic of #m-labs to: https://m-labs.hk :: Mattermost https://chat.m-labs.hk :: Logs http://irclog.whitequark.org/m-labs
harryho has joined #m-labs
rohitksingh has joined #m-labs
rohitksingh has quit [Ping timeout: 264 seconds]
rohitksingh has joined #m-labs
harryho has quit [Remote host closed the connection]
electronic_eel has quit [Ping timeout: 246 seconds]
electronic_eel has joined #m-labs
rohitksingh has quit [Ping timeout: 276 seconds]
rohitksingh has joined #m-labs
<Dar1us> is it possible to get migen to just generate a verilog file for manual integration? If so, does someone have a cookbook for it? Thanks
electronic_eel has quit [Ping timeout: 240 seconds]
electronic_eel has joined #m-labs
jaeckel has quit [Ping timeout: 276 seconds]
jaeckel has joined #m-labs
_whitelogger has joined #m-labs
_whitelogger has joined #m-labs
mtrbot-ml has quit [Remote host closed the connection]
mtrbot-ml has joined #m-labs
mumptai has joined #m-labs
<rjo> cr1901_modern: same as matlab/numpy. the indices vary c-contiguously (last fastest) and the product of all dimensions is the shape (needs to match). ravel() is a special case of reshape(), transpose() is a special case of swapaxes().
<rjo> Dar1us: migen.fhdl.verilog.convert() ?
<rjo> s/is the shape/is the size/
<Dar1us> rjo: yeah.. I am struggling to work out the goo around it to make it produce something sensible
<rjo> cr1901_modern: but i don't expect to see much use of swapaces() and reshape() for more than 2 dimensions.
rohitksingh has quit [Ping timeout: 264 seconds]
rohitksingh has joined #m-labs
harryho has joined #m-labs
rohitksingh has quit [Ping timeout: 245 seconds]
harryho has quit [Remote host closed the connection]
sb0cn has joined #m-labs
mumptai has quit [Remote host closed the connection]
<sb0cn> the "goo" as you call it is (I suppose) for handling memory initialization files ($readmemh)
cr1901_modern has quit [Ping timeout: 240 seconds]
cr1901_modern has joined #m-labs
<cr1901_modern> rjo: Ack. Hopefully I memorize the semantics at some point. It's not like I got reshape right without looking it up in Matlab either :P.
sb0cn has quit [Quit: Leaving]
<Dar1us> ah well they left, but that is good goo
* Dar1us ponders writing some docs for these
cr1901_modern has quit [Quit: Leaving.]
<tpw_rules> rjo: matlab and numpy are very much not the same!! matlab is fortran-contiguous so the first index varies fastest
cr1901_modern has joined #m-labs
<rjo> tpw_rules: yes. i meant that once the layout is defined, then the definition is of reshape() is.
linzhi-sonia has quit [Quit: leaving]
cr1901_modern has quit [Quit: Leaving.]
lkcl has quit [Ping timeout: 265 seconds]
<ZirconiumX> wq: Is there a way of measuring "code coverage" by simulator tests?
<whitequark> ZirconiumX: unfortunately not
<whitequark> if you come up with a metric i could probably implement it fairly easily in 0.2
<ZirconiumX> I think edge coverage would probably be my choice here
<ZirconiumX> For example, if you have an m.If, it'd be nice to measure "this 'branch' has been both taken and not taken"
<ZirconiumX> (I'm well aware they're not actually branches, thus the scare quotes)
<whitequark> mhmm
<whitequark> that's very easy to do.
<whitequark> so you basically want SC/CC>
<whitequark> *?
<ZirconiumX> Can you expand the acronyms? I'm not too smart at these things
<ZirconiumX> CC = cyclomatic complexity?
<ZirconiumX> My theory behind picking something like that, is that if you have, say, an enum of input types, then edge coverage would require you to specify each one for example
<whitequark> statement coverage/condition coverage
<ZirconiumX> Sure
mumptai has joined #m-labs
cr1901_modern has joined #m-labs
rohitksingh has joined #m-labs
rohitksingh has quit [Ping timeout: 240 seconds]
rohitksingh has joined #m-labs
rohitksingh has quit [Ping timeout: 265 seconds]
rohitksingh has joined #m-labs
rohitksingh has quit [Ping timeout: 240 seconds]
rohitksingh has joined #m-labs
rohitksingh has quit [Ping timeout: 240 seconds]
rohitksingh has joined #m-labs
lkcl has joined #m-labs
rohitksingh has quit [Ping timeout: 276 seconds]