Re: Block return values (myhdl.BlockError)
Jan Decaluwe <[email protected]> Tue, 10 May 2016 13:25:22 +0200
| Newsgroups | gmane.comp.python.myhdl |
|---|---|
| Organization | resources |
| Message-ID | <[email protected]> |
On 10/05/16 11:45, Henry Gomersall wrote: > On 10/05/16 10:32, Jan Decaluwe wrote: >> I have considered this issue for some time now >> and I have basically decided to leave the constraints >> as they are, that is, blocks should only return >> block and instantiator objects. > > I think your reasoning is sound. > > Do you object to alternative strategies for constructing Block > operators? This could leave @block as the default usual case, with more > esoteric cases handled by direct access to the construction of the Block > object. This could allow the best of both worlds - simple default and > arbitrary control if desired. I have nothing against collecting good ideas. However, for this specific feature, I am unconvinced that the additional complexity is warranted. I may change that opinion with future evidence - until now it has only been brought up once as an alternative possibility and does not seem enough. My priority is moving forward with the simplifications enabled by @block, and I believe there are several much more relevant new features that these simplifications will make possible. Jan -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Python as a HDL: http://www.myhdl.org VHDL development, the modern way: http://www.sigasi.com Urubu, a static website CMS: http://urubu.jandecaluwe.com ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j