Re: [myhdl-list] IP core library
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2015-05-04 15:14:37
|
On 5/3/2015 6:39 AM, Euripedes Rocha Filho wrote: > Henry, > good articles. > > @Christopher, > I will follow this approach: > > module.py > parameters - named tuple with the parameters/generics for the design > interface - class with necessary signals > module(parameters, interface) - hdl implementation > For each module I don't think you should force everything into one interface for the module. In my opinion have logically grouped interfaces: module(interface1, interface2, ..., parameters) What is the benefit of using namedtuples over dictionary or your own Parameters class? Regards, Chris |