lekernel changed the topic of #m-labs to: Mixxeo, Migen, MiSoC & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
xiangfu has quit [Remote host closed the connection]
nicksydney_ has quit [Ping timeout: 258 seconds]
nicksydney has joined #m-labs
fengling has joined #m-labs
_whitelogger has joined #m-labs
fengling has quit [Ping timeout: 264 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 272 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 244 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 244 seconds]
fengling has joined #m-labs
nicksydney_ has quit [Remote host closed the connection]
nicksydney has joined #m-labs
fengling has quit [Ping timeout: 245 seconds]
xiangfu has joined #m-labs
<GitHub193> [artiq] sbourdeauducq pushed 1 new commit to master: http://git.io/Tylefw
<GitHub193> artiq/master fba72cc Sebastien Bourdeauducq: transforms/remove_inter_assign: support names and dependencies
fengling has joined #m-labs
fengling has quit [Client Quit]
rjo_ has joined #m-labs
<rjo_> ysionneau, sb0: since the __bool__ exception one of the unittest fails. i assume that part of the test is now invalid.
rjo_ has quit [Quit: leaving]
<sb0> rjo, hmm looking at it, it seems the test was incorrect in the first place. you are doing self.assertEqual(si, self.s[i]) between fhdl.structure._Slices, which returns an _Operator, which you then test as boolean. it used to return True (bool() of a user object is true), now the __bool__ exception catches the error...
<sb0> let me fix it
<GitHub171> [migen] sbourdeauducq pushed 1 new commit to master: http://git.io/0Iv1hQ
<GitHub171> migen/master ccc9a0d Sebastien Bourdeauducq: test/test_size: fix slice comparison
<sb0> pretty much an ad-hoc solution
<sb0> if we add more tests, we should have a generic fhdl comparison function. thanks for reporting the problem!
xiangfu has quit [Ping timeout: 272 seconds]
xiangfu has joined #m-labs
xiangfu has quit [Ping timeout: 256 seconds]
rjo_ has joined #m-labs
<rjo_> sb0: no problem. that travis-ci gadget would have notified you earlier and automatically ;)
xiangfu has joined #m-labs
<GitHub72> [artiq] sbourdeauducq pushed 2 new commits to master: http://git.io/f7a1Xw
<GitHub72> artiq/master a29d7ec Sebastien Bourdeauducq: transforms/remove_inter_assigns: fix handling of try blocks
<GitHub72> artiq/master 171d56a Sebastien Bourdeauducq: transforms/remove_inter_assigns: prevent combinatorial explosion
<GitHub121> [artiq] sbourdeauducq pushed 1 new commit to master: http://git.io/-G00MA
<GitHub121> artiq/master f54a2f9 Sebastien Bourdeauducq: remove kernel_attr (inline transform is now smart enough to autodetect)
<rjo_> sb0: what do you think about a "CSRConstant" that does not use up resources in the csr banks/busses but would still be extracted and exposed like a read-only csr during the csr map generation?
<rjo_> sb0: would also be nice for csr map versioning, like (get_identifier_revision() == get_identifier_csrmap_revision())
xiangfu has quit [Ping timeout: 258 seconds]
FabM has joined #m-labs
_florent_ has joined #m-labs
sb0_ has joined #m-labs
<sb0_> rjo, should this be a fake csr, or equivalent to the current CSRStatus with a constant assign?
<sb0_> rjo, I'm actually thinking of letting modules define arbitrary software-exposed constants, which would be also useful for flags/bitmasks (instead of the current manual coding in hw/flags.h)
rjo_ has quit [Ping timeout: 258 seconds]
<ysionneau> sb0_: once I have an Array() for openrow, in the row_closeall case, can I do something "like" openrow[*][-1].eq(0) ?
mumptai has joined #m-labs
<sb0_> yes
<sb0_> but your current code is ok
<sb0_> (migen would actually lower Array to what you have written)
<ysionneau> ok
<ysionneau> cause I just put something like this instead of iterating through the banks :
<sb0_> also, you need closeall, which will be a bit messy to implement with array. I suggest keep the current code.
<ysionneau> If(row_open == 1,
<ysionneau> openrow[slicer.bank(bus.adr)].eq(Cat(slicer.row(bus.adr), 1)),
<ysionneau> ),
<ysionneau> ok
<ysionneau> fair enough
<sb0_> you need to encapsulate openrow in Array, otherwise this is OK
<sb0_> but you'll still have the problem with closeall
<ysionneau> sure I agree about using Array, I was just trying to transform all the code in code that makes use of the Array style
<ysionneau> but I found it a bit hard to do it for the closeall case
<ysionneau> so ok let's keep this part like this
<ysionneau> (the open_row/close_row/closeall part)
<sb0_> row_open == 1 -> row_open
<ysionneau> ok
<GitHub53> [artiq] sbourdeauducq pushed 1 new commit to master: http://git.io/0V-iIg
<GitHub53> artiq/master e9e12ad Sebastien Bourdeauducq: transforms/inline: object attribute writeback
<ysionneau> sb0_: about dfi address driving, I can use some address_selector Signal() that can take constant values like COLUMN or ROW or A10_ENABLED ?
<ysionneau> with those 3 being just python constant ints in uppercase
<sb0_> yes
<sb0_> lasmicon does that, no?
<ysionneau> something like that phase.address.eq(Array(cmd.a for cmd in commands)[sel]),
<sb0_> Array([col, row, 2**10])[sel]
<sb0_> maybe 2**10 first
xiangfu has joined #m-labs
xiangfu has quit [Ping timeout: 258 seconds]
mrueg has quit [Remote host closed the connection]
mrueg has joined #m-labs
sb0_ has quit [Quit: Leaving]
<GitHub115> [artiq] sbourdeauducq pushed 2 new commits to master: http://git.io/5Jqu1g
<GitHub115> artiq/master 9b93b0c Sebastien Bourdeauducq: unparse: string-based API
<GitHub115> artiq/master b163c9f Sebastien Bourdeauducq: test: add optimization transform stack
xiangfu has joined #m-labs
_whitelogger has joined #m-labs
_florent_ has quit [Ping timeout: 246 seconds]
<ysionneau> sb0 : about row_close being useless, you mean that anyway just after that we will reopen a row so it's useless to set the "active" bit to 0 and then set it to 1 again right after?
<ysionneau> yes ok I see, we never just do a precharge just like that whithout an activate after
<ysionneau> the "active" bit then is just cleared upon prechargeall
xiangfu has quit [Remote host closed the connection]
nengel has quit [Ping timeout: 265 seconds]
<ysionneau> sb0: I just pushed the refactoring to my branch https://github.com/fallen/misoc/tree/simplesdramcon
<ysionneau> off to eat
xiangfu has joined #m-labs
_whitelogger has joined #m-labs
xiangfu has quit [Remote host closed the connection]
nicksydney has quit [Quit: No Ping reply in 180 seconds.]
nicksydney has joined #m-labs
nicksydney has quit [Client Quit]
nicksydney has joined #m-labs
nengel has joined #m-labs
nengel has quit [Ping timeout: 272 seconds]
<ysionneau> sb0: just pushed support for 32 bits to 16 bits (or whatever dq-width) wishbone downconverter into the testbench
nengel has joined #m-labs
<rjo> sb0: a fake csr that is not visible on the bus.
<rjo> sb0: yes. if those module-constants end up as accessible and stably-named as the csr registers, that would be great.
FabM has quit [Quit: ChatZilla 0.9.91 [Iceweasel 31.1.0/20140903072827]]
_whitelogger has joined #m-labs
_whitelogger has joined #m-labs
mrueg has left #m-labs ["http://quassel-irc.org - Chat comfortably. Anywhere."]
sh4rm4 has quit [Remote host closed the connection]
sh4rm4 has joined #m-labs
<ysionneau> it seems I got my first read and write working on the FPGA (sdram controller) :)
<ysionneau> it seems to reduce LUTs by 493 and Flip Flops by 242
<rjo> ysionneau: nice. papilio pro? is that completely orthogonal to lasmi? does it allow multiple clients?