Re: [myhdl-list] conversion filename?
Brought to you by:
jandecaluwe
From: Josy B. <jos...@gm...> - 2015-02-17 09:44:53
|
Henry Gomersall <heng <at> cantab.net> writes: > > There doesn't appear to be a mechanism to set the file/directory name of > a converted v* file. Is this correct? > > It would be really useful to have a mechanism to do so - it could easily > be through the same attribute interface as the name etc. If it is not > set, then fall back to the current strategy. > > Having all the v* files dumped into my project root is a bit suboptimal. > Of course I can work around it using the full power of python, but it > seems like an odd thing to be missing. > > Is this something that would be accepted? > > Cheers, > > Henry > It would certainly suit me. E.g. I have Altera's Qsys calling on the Python module to generate a tailored version. Now the Python module has to remove any existing target and copy/rename/move (using os.rename()) the generated file into the correct place. Having an in-place generation would certainly be nice. A second plus: the local generated V*-file would corroborate with the 'development parameters' as it will no longer be overwritten. Regards, Josy |