Command Reference2. FPGA Express Shell Commands which _N_A_M_E which Locates a file and displays its pathname. SYNTAX string which _f_i_l_e_n_a_m_e__l_i_s_t list _f_i_l_e_n_a_m_e__l_i_s_t ARGUMENTS _f_i_l_e_n_a_m_e__l_i_s_t List of files to locate. DESCRIPTION Displays the location of the specified files. This command uses the search_path to find the location of the files. This command can be a useful prelude to read_db or link_design, because it shows how these commands expand filenames. The which command can be used to verify that a file exists in the system. If an absolute pathname is given, the command searches for the file in the given path and returns the full pathname of the file. EXAMPLES The following examples are based on the following search_path. prompt> set search_path "/u/foo /u/foo/test" The following command searches for the file name foo1 in the search_path. prompt> which foo1 /u/foo/foo1 The following command searches for files foo2, foo3. prompt> which {foo2 foo3} /u/foo/test/foo2 /u/foo/test/foo3 v3.0 Synopsys Inc. 1988-1998. All rights reserved. 2-1 which 2. FPGA Express Shell Commands Command Reference The following command returns the full pathname. prompt> which ~/test/designs/sub_design.db /u/foo/test/designs/sub_design.db SEE ALSO link_design(2), _r_e_a_d__d_b(2), _s_e_a_r_c_h__p_a_t_h(3). 2-2 Synopsys Inc. 1988-1998. All rights reserved. v3.0