Re: [myhdl-list] List Of Constants
Brought to you by:
jandecaluwe
From: Josy B. <jos...@gm...> - 2015-03-17 18:51:59
|
Christopher Felton <chris.felton <at> gmail.com> writes: > > <snip> > > > > I tried that code, and although it functions, the VHDL code doesn't get any > > prettier. > > I am typically not too concerned with the "prettiness" of > the converted code. I think reasonable steps should be > taken to make it readable but not stand in the way. > > With that said I created and issue (enhancement request) > for this particular item: > https://github.com/jandecaluwe/myhdl/issues/34 > ><snip> Chris, To me the prettiness of the VHDL or Verilog code is an indication of how 'good' the MyHDL code was drafted/converted. From the workarounds the one with the spelled out constants looks best in both representations (MyHDL and VHDL) where the others bear the signs of being workarounds. But I welcome your MEP-lite. Just wish you hadn't used the word *rom*, I feel that name is a bit ambiguous to describe what is going on there. Regards, Josy |