Re: [myhdl-list] MEP - keep hierarchy in conversion
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2013-10-02 15:47:04
|
On 10/2/2013 9:33 AM, Jan Decaluwe wrote: > On 10/02/2013 03:53 PM, David Holl wrote: >> On Wed, Oct 2, 2013 at 7:33 AM, Jan Decaluwe <ja...@ja... <mailto:ja...@ja...>> wrote: >> >> <snip> >> I am not discussing the concept now, but David's proposed method. >> Let's make this practical. If I understand David's solution, >> one would define a desired output partition by significant, >> non-functional changes to the source code. >> >> >> Nope, sorry but perhaps that is where the confusion lies. >> >> The only change required to group a set of logic into a partition is to add: >> >> with partition('a_name'): >> # put your usual logic here ... > I really don't like this. Because, if I include this in a *block* (IP) in a design. And someone reuses the block for a different design, it breaks the modularity of the IP. The designer trying to reuse the block has to modify the source. My opinion, if you need finer control than the design hierarchy for partitioning it needs to be at a lower level in the flow. Partitioning at the design module level is reasonable. Regards, Chris |