Re: [myhdl-list] Block return values (myhdl.BlockError)
Brought to you by:
jandecaluwe
From: Henry G. <he...@ma...> - 2016-05-01 10:46:44
|
On 01/05/16 11:40, Jan Decaluwe wrote: > Feedback is more than welcome. Another potential option is to make the Block class part of the user API, or perhaps an alternative Block factory, to allow these more esoteric use cases. So, the @block decorator is used in the simple/common case. If you want to do something more complicated, you can use the alternative tools to extract the block object. Exactly how this would be realised I'm not sure, but I'm sure there would be a neat way. It touches on my comments in issue #162, which is another manifestation of the limitations of the decorator implementation. Henry |