lekernel changed the topic of #m-labs to: Mixxeo, Migen, MiSoC & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
bvernoux has quit [Quit: Leaving]
nicksydney has quit [Remote host closed the connection]
nicksydney has joined #m-labs
xiangfu has joined #m-labs
Alain has joined #m-labs
Alain has quit [Ping timeout: 255 seconds]
Alain has joined #m-labs
Alain__ has joined #m-labs
Alain_____ has joined #m-labs
Alain has quit [Ping timeout: 255 seconds]
Alain_____ is now known as Alain
Alain__ has quit [Ping timeout: 255 seconds]
Alain has quit [Remote host closed the connection]
wpwrak_ has joined #m-labs
wpwrak has quit [Read error: Connection reset by peer]
wpwrak_ is now known as wpwrak
xiangfu has quit [Remote host closed the connection]
mumptai has joined #m-labs
<sb0>
rjo, to avoid duplicating most of TestBench.__init__ in SyncFIFORelaxedCase how about making the tested FIFO class a class attribute of a generic test case
<sb0>
and then derive that generic test case twice with different values for the class attribute?
<sb0>
also, can't the level be fixed with a counter that increments on writable&we and decrements on readable&re?
<sb0>
but that FWFT FIFO design has one more cycle of latency
<sb0>
maybe genlib/fifo can contain those designs instead:
<sb0>
1) reduced-latency FWFT FIFO (the current one)
<sb0>
2) classic non-FWFT FIFO
<sb0>
3) FWFT FIFO with the same design as the link above
<sb0>
imo it would be pretty clear from the use case which one to use - and you rarely want both low-latency and high-capacity at the same time
<sb0>
for example:
<sb0>
for buffering SDRAM requests you'd use #1, as you want them to reach the bank controllers as soon as possible to avoid delaying the bus master. but there are few of those requests, so an asynchronous read is acceptable.
<sb0>
for buffering a burst of data from e.g. a ADC that is later processed at a slower speed, #2 or #3 are good
<sb0>
what do you think?
<sb0>
what's your use case for the block-RAM FIFO by the way?
<sb0>
I'm a bit worried about the combinatorial paths in SyncFIFORelaxed