11.. _UG :
22
3- Scripting Guide
4- ###############
3+ User Guide
4+ ##########
55
66Overview
77********
@@ -17,6 +17,23 @@ Overview
1717
1818 context
1919
20+ Concepts
21+ ========
22+
23+ .. _UG/Concepts/CurrentSimulationDirectory :
24+
25+ CurrentSimulationDirectory
26+ --------------------------
27+
28+ .. todo :: explain :file:`CurrentSimulationDirectory`
29+
30+
31+ .. admonition :: Naming Style
32+
33+ Commands are case sensitive. |br |
34+ Single word names are all lower case. |br |
35+ Multiple word names are CamelCase.
36+
2037
2138Basic Commands
2239**************
@@ -47,6 +64,40 @@ To compile all of the OSVVM libraries, use build as shown below.
4764
4865 Build sets the tcl variables $::ARGC and $::ARGV (an array).
4966
67+ VHDL Library Handling
68+ *********************
69+
70+ :ref: `RUFF/osvvm/SetLibraryDirectory `
71+ :ref: `RUFF/osvvm/SetLibraryDirectory `
72+ sdbsbfs dfvdfvggdy
73+ :tclcode: `SetLibraryDirectory [LibraryDirectory] `
74+ - Set the directory in which the libraries will be created to ``LibraryDirectory ``.
75+ - If ``LibraryDirectory `` is not specified, use the ``CurrentSimulationDirectory ``.
76+ - By default, libraries are created in :file: `<LibraryDirectory>/VHDL_LIBS/<tool version>/ `.
77+ :tclcode: `GetLibraryDirectory `
78+ - Get the Library Directory.
79+ :tclcode: `library <LibraryName> [<path>] `
80+ - Make LibraryName found in library directory specified by path the active library.
81+ - Create the LibraryName if it does not exist.
82+ - If path is not specified, use the library directory specified by SetLibraryDirectory.
83+ :tclcode: `LinkLibrary <library> [<path>] `
84+ - Create a mapping to a library that is in the library directory specified by path.
85+ - If path is not specified, use the library directory specified by SetLibraryDirectory.
86+ :tclcode: `LinkLibraryDirectory [LibraryDirectory] `
87+ - Map all of the libraries in the specified ``LibraryDirectory ``.
88+ If ``LibraryDirectory `` is not specified, use the library directory specified by SetLibraryDirectory.
89+ :tclcode: `LinkCurrentLibraries `
90+ - If you use ``cd ``, then use LinkCurrentLibraries immediately after
91+ to map all current visible libraries to the new CurrentSimulationDirectory.
92+ :tclcode: `RemoveLibrary LibraryName [<path>] `
93+ - Remove the named library.
94+ Path is only used to find and delete libraries that have not been mapped in OSVVM.
95+ :tclcode: `RemoveLibraryDirectory [<path>] `
96+ - Remove the Library specified in path.
97+ - If path is not specified, the library directory specified by SetLibraryDirectory is used.
98+ :tclcode: `RemoveAllLibraries `
99+ - Call RemoveLibraryDirectory on all library directories known to OSVVM.
100+
50101Discouraged Tcl Commands
51102************************
52103
0 commit comments