Tools/Mentor HDL Designer/TrimLibs
From UIT
|
TrimLib
Perl script for HDL-Designer for using the concatenated file in ISE.
Tasks
- replaces used libraries with the "work" library
- comments work library declarations
- comments all FOR ALL statements
- searches for systemvariables and replaces them with the actual value
History
V0.1 : gal 29.01.2005
Initial Release
V0.2 : cof ??.??.????
Improvements
V0.3 : zas 10.06.2011
Replaces
library xxx;use xxx.yyy.all;
with
--library xxx; use work.yyy.all;
V0.4 : zas 23.01.2012
Replaces $env_var_name by the value of the found environment variable. Mostly used to replace $SIMULATION_DIR for initialise bram's from a file placed in the Simulation Directory
V0.5 : zas 02.02.2012
Write the output into a new files with the name defined in the $DESIGN_NAME variable
V0.6 : zas 27.04.2012
- Bugfix: on feature added in version V0.3
V0.7 : cof 09.01.2013
- Bugfix: no carriage return on commented "use" statements
- Bugfix: more precise targeting of "library" statement
- Bugfix: "Library" test after "use" test
V1.0 : cof zas guo 13.06.2013
- Remove comments from testline
V1.1 : zas guo 13.08.2013
- Handle error if environment variable not found
- character'pos('$') -> ') was found as env var added exception to regex expression