Re: [myhdl-list] Simplifying Interfaces
Brought to you by:
jandecaluwe
From: Tom D. <td...@di...> - 2012-07-05 16:29:42
|
On 07/04/2012 02:22 PM, Christopher Felton wrote: > <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. I think the example would have to show why we would not try to overload operators. |