vlib work # proc recursive_glob {dir} { # set files [glob -nocomplain -type f -directory $dir *_sim_netlist.vhdl] # foreach subdir [glob -nocomplain -type d -directory $dir *] { # lappend files {*}[recursive_glob $subdir] # } # return $files # } # set src_dir ../../prj/zcu_pulse_channel.gen # set files [recursive_glob $src_dir] # foreach file $files { # file copy -force $file ../../src/hdl/ip_gen # } vcom ../../src/hdl/ip_gen/*.vhd* vcom ../../src/hdl/pkg/*pkg.vhd vcom ../../src/hdl/pkg/iopakp.vhd vcom ../../src/hdl/pkg/iopakb.vhd vcom ../../src/hdl/modules/*.vhd* vcom ../../src/hdl/tb/*.vhd*