ohama has quit [Remote host closed the connection]
<_florent_>
about removing obj parameter in request method, what was the motivation?
<lekernel>
platform info structures
<_florent_>
(I don't find it very practial in fact...)
<lekernel>
eg when you have differential signals and some are inverted to make PCB layout easier, you can add information in the resource about which signals were inverted
<_florent_>
since we are now doing distinction between modules that have IOs and others that don't have IOs
<lekernel>
also you don't need to duplicate information such as the number of NOR flash address bit - the norflash core gets that from the object it gets from mibuild
<lekernel>
btw the number of lines of code of both mibuild and milkymist-ng has decreased since this change ...
<lekernel>
maybe I can put the DRAM timing info into the platform description too, will have to think of that
<_florent_>
but about simulation
<_florent_>
suppose I want to simulate the new uart with pads parameters
<_florent_>
I will have to provide a objects with all the rx, tx signals
<_florent_>
the uart is maybe not a good example
<_florent_>
since it only has 2 ios...
<lekernel>
well yes of course, you need to provide a model for the device you are connecting to the core under test :)
<lekernel>
and that model can easily provide such signals
<lekernel>
you could even pass the model object as 'pads' parameter
xiangfu_ has quit [Ping timeout: 252 seconds]
<_florent_>
yes of course
xiangfu has joined #milkymist
<_florent_>
but if you get the uart core alone without it's environment and you want to simulate it you will have to look in the code where pads is used
<lekernel>
that can be solved with a comment
<lekernel>
the main idea of this change really is to make cores adapt to slight platform variations, such as inverted signals, number of address/data bits, etc.
<lekernel>
otherwise you need to specify this info twice
<_florent_>
ok I see now the advantage on this point
<_florent_>
I will try to adapt my de0-nano to see if I change my mind ;)
<lekernel>
cool
_florent__ has joined #milkymist
<lekernel>
sorry, migen/mibuild is one big experimental construction site and I break stuff regularly...
<lekernel>
btw have you made up your mind about icalepcs?
_florent_ has quit [Ping timeout: 245 seconds]
<_florent__>
no problem for the experimental construction
<_florent__>
just that I don't have enough time my designs...
<_florent__>
*to adapt
<_florent__>
for icaleps I don't know yet sorry
ohama has joined #milkymist
_florent__ has quit [Quit: Page closed]
ohama has quit [Remote host closed the connection]