Re: [myhdl-list] User-defined code in submodules
Brought to you by:
jandecaluwe
From: Guy E. <gu...@no...> - 2014-05-07 08:55:05
|
Am 05.05.2014 15:23, schrieb Christopher Felton: > > > Yes, the generators (see [1] for intro on generators) > cannot have the user-defined code attribute only a > module (a function). > > Typically, in MyHDL we call a (myhdl) module a Python > function that returns MyHDL generators (yes this overlaps > with the Python definition of a module, context specific > (i.e. a file)). > > As Josy, replied, if you modify the code to (sorry changed > some of the signal names, see below) > > Regards, > Chris > I didn't realize that user-defined code cannot be applied to generators. This is something that a (future?) MyHDL linter may want to check. Thanks, Guy. |