Re: [myhdl-list] Simplifying Interfaces
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2012-07-04 19:25:14
|
<snip> >> >> Anyone else have an idea for an example? I think for the example to be >> useful, you would want a design that you would use multiple modules and >> have some interface between. But the interface would be small (limited >> number of signals in the class) so the the example would be digestible. > > Maybe something based on complex numbers, as Tom D has > hinted. One could represent them as a class instance, > or even as a tuple. > > I was worried if the complex number example was used some might expect operator overload. I have been waffling if this would be a good example. Regards, Chris |