4) Add all the files that must be included in your project except for the packages and libraries. After that click on the User Libraries icon shown on this window. This will get you to Figure 6.
5) Add all the libraries and packages you have used in your project here. Qsim_logic package has to be added here. IEEE libraries and packages do not need to be added. Click Ok and upon returning to window in Figure 6 click Next to get to the window as shown in Figure 7.