Languages/Perl

(Difference between revisions)
Jump to: navigation, search
m
m
Line 2: Line 2:
  
 
== TrimLib ==
 
== TrimLib ==
Perl file for HDL-Designer used for generating a VHDL Single file.
+
Perl script for HDL-Designer for using the concatenated file in ISE.
  
 
[[Media:trimLibs.zip|Trim Libs script file]]
 
[[Media:trimLibs.zip|Trim Libs script file]]
  
it performs those tasks:
+
==== Tasks ====
 
* replaces used libraries with the "work" library
 
* replaces used libraries with the "work" library
* searches for Systemvariables and replaces them with the actual value
+
* 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 environemnt 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
  
 
[[Category:Tools]]
 
[[Category:Tools]]

Revision as of 10:57, 13 June 2013

Contents

TrimLib

Perl script for HDL-Designer for using the concatenated file in ISE.

Trim Libs script file

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 environemnt 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
Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox