Re: [myhdl-list] Error in user defined VHDL code& amp; quot; should show line, and column for e
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2010-07-05 09:10:13
|
Angel Ezquerra wrote: > > I had a quick look at the string.Template library, and it is > very simple and easy to use. It seems that it would cover the > regular use case, which is to connect signals to VHDL ports, > very well. It also seems that it would be less error prone than > direct string formatting. > > Since you could still generate the template string itself > dynamically, I don't think that changing to the template > library would be any less flexible than the current method. > So I cannot see any drawbacks to your proposal. Ok, what we could do is specify that the code for the new function attribute 'vhdl_code' is actually such a template, which would force you to help me debugging those :-) If that's OK, I'll put this change on top of the stack. 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 Analog design automation: http://www.mephisto-da.com World-class digital design: http://www.easics.com |