Re: [myhdl-list] Constant ints in interfaces
Brought to you by:
jandecaluwe
From: Keerthan JC <jck...@gm...> - 2015-03-18 07:59:49
|
BTW, the above example converts fine to verilog. On Tue, Mar 17, 2015 at 3:30 AM, Keerthan JC <jck...@gm...> wrote: > That is not actually true. The implementation actually flattens everything > except previously supported attributes like .next, .posedge etc. > > The problem now is just a naming bug. > > On Tue, Mar 17, 2015 at 12:28 AM, Christopher Felton < > chr...@gm...> wrote: > >> On 3/16/15 7:01 AM, SHEN Chen wrote: >> > Hi Keerthan, >> > >> > I will write more cases as you said. So I hope folks here will post >> > exotic way of abusing interface, so we could clarifying what are >> > supported v.s. what are not. >> > >> > By doing this, we can have a spec first, before anyone attempting a fix. >> >> The spec should be covered in MEP 107: >> http://dev.myhdl.org/meps/mep-107.html >> >> The conversion of constants wasn't in the >> original MEP but is a good feature to go >> along with interfaces. We can add more >> info on const usage in the "what's new in >> MyHDL 0.9" documentation. >> >> > >> > For instance, do you think it's a good idea to have a Interface base >> > class, and requires all interface to derive from the base class? >> >> This was discussed when MEP107 was first >> proposed and it was decided no. >> >> > >> > With this convention, during extractHier/analyze, we can unambiguously >> > identify interface objects, descend into it and extract its member >> signals. >> >> This is what is currently done, an object is >> walked and the "Signal" attributes identified. >> >> Regards, >> Chris >> >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub >> for all >> things parallel software development, from weekly thought leadership >> blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> myhdl-list mailing list >> myh...@li... >> https://lists.sourceforge.net/lists/listinfo/myhdl-list >> > > > > -- > have a nice day > -jck > -- have a nice day -jck |