Re: [myhdl-list] reusable blocks with different interfaces
Brought to you by:
jandecaluwe
From: Henry G. <he...@ca...> - 2015-01-16 09:13:50
|
On 16/01/15 02:59, Christopher Felton wrote: > <snip> >> > >> >I appreciate there isn't the equivalent in v*, but one approach that >> >could work would be for the convertor to unroll the loop. A configurable >> >parameter could set a maximum unroll length if that is desired. > I think this would be out of scope, keep it > simple at first. Unrolling of loops would > be large feature to tackle and would involve > deeper consideration and development. I think this would actually have a smaller impact on the code base and would be clean to implement. The main question I see would be naming considerations - in the case of interfaces a solution has already been implemented, but in the case of a simple list there is not the internal names to draw on. What are the main issues you would be concerned with? Implementing a .next strategy has the problem of adding another special case. I think it can be done pretty neatly though. Cheers, Henry |