Import your HDL file into your project just as you would any source file.
To import an HDL source file:
From the File menu, choose Import Files.
In Files of type, select the file type.
In Look in, navigate to the drive/folder that contains the file.
Select the file to import and click Open.