V2CC.LIBS(5) File Formats V2CC.LIBS(5) (NAME) v2cc.libs - VHDL / FreeHDL (DESCRIPTION) FreeHDL / VHDL . VHDL'93 VHDL'87 . FreeHDL VHDL ++C . ++C . VHDL . VHDL gvhdl . FreeHDL . VHDL / VHDL . FreeHDL VHDL . VHDL . FreeHDL VHDL . . << >> (mapping file) . . (syntax) : Lexical: litchar: 'a'..'z' | 'A'..'Z' | '0'..'9' | '_' | '/' | '-' | '.' escchar escchar: '\' char whitespace: ' ' | '\n' | '\v' | '\t' | comment comment: '#' any_character* '\n' opchar: ':' | ',' | '(' | ')' specchar: every printable char except litchar, whitespace and opchar symchar: litchar | specchar symbol: symchar+ Grammar: mapping: version patternrule* version: "v2cc_mapfile" "0" patternrule: symbol [ ':' symbol ] () . . . : pattern: filename : filename patternEXT EXT . <<>> (pattern) <<<>> << >> (wildcard) . <<<>> <<>>> . . . . << >> (filename) <<<>> <<>>> . << >> (wildcard substitution) . pattern . pattern ( ). <<#>> <> <<##>> <<#->> . VHDL . VHDL (canonical) : . ( <> ) . : <> : . . . <<<>> <<>>> pattern filename . . << v2cc>> . V2CC_LIBRARY_PATH . v2cc . . V2CC_LIBRARY_PATH <<:>> . <<*>> . -L libdir v2cc . -L V2CC_LIBRARY_PATH . . UNIT LIB : for each component of the library path, L if L is a regular file set LMAP to L else if L is a directory set LMAP to L/v2cc.libs else continue with next component translate LIB into FLIB using LMAP with EXT="" if FLIB.vhdl exists terminate with FLIB.vhdl as the result if FLIB.v2cc exists set UMAP to FLIB.v2cc else if FLIB is a directory set UMAP to FLIB/v2cc.units else continue with next component translate UNIT into FUNIT using UMAP with EXT=".vhdl" terminate with FUNIT as the result terminate unsuccessfully VHDL ( ) . (architectures) (package bodies) . . : () : (body) <> <> <> <> . . . v2cc . (EXAMPLES) . . VHDL . <<.vhdl>> ( ) . : somedir/ std/ standard.vhdl textio.vhdl ieee/ numeric_bit.vhdl std_logic_1164.vhdl <> : STD.STANDARD STD.TEXTIO IEEE.NUMERIC_BIT IEEE.STD_LOGIC_1164 . : somedir/ fmf.vhdl FMF <> . VHDL <> . VHDL <> <> . <> <> . / : /foo <- /foo/v2cc.libs <- /foo/lib1_dir <- VHDL lib1 /foo/lib1_dir/comp1.vhdl <- VHDL comp1 /foo/lib2_dir <- VHDL lib2 /foo/lib2_dir/comp2.vhdl <- VHDL comp2 <> : v2cc_mapfile 0 lib1 : lib1_dir lib2 : lib2_dir comp1 ( comp1.vhdl) VHDL lib1 <> : gvhdl -c -L .. -l lib1 comp1.vhdl -l lib1 <> VHDL lib1 . -L .. <> . : gvhdl -c -L /foo -l lib1 comp1.vhdl comp1 <> . lib2 comp2 comp1 lib1 <> comp2 : gvhdl -L .. -l lib2 comp2.vhdl ../lib1_dir/comp1.o (SEE ALSO) gvhdl(1), freehdl-v2cc(1), freehdl-config(1) (AVAILABILITY) FreeHDL : www.freehdl.seul.org (REPORTING BUGS) BUGS . (parser) Marius Vollmer . Edwin Naroska . Edwin . (COPYRIGHT) Edwin Naroska (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 . . (AUTHORS) Marius Vollmer Edwin Naroska . Debian/GNU Linux December 2005 V2CC.LIBS(5)