In an Modelsim .do file, I tried:
vcom file1.vhd file2.vhd
which works fine.
But when I try:
set comp_files "file1.vhd file2.vhd"
vcom $comp_files
it didn't work and I got an error:
Error: (vcom-7) Failed to open design unit file "file1.vhd file2.vhd" in read mode.
Anyone know how to get the comp_files worked?