Removing source files, Opening source files in an editor, Creating implementations – Achronix ACE Version 5.0 User Manual
Page 255: Saving implementations
Working with Projects and Implementations
Chapter 4. Tasks
4. Select one or more files, and click Open.
After clicking Open, the source files appear in the appropriate netlist or constraints folder under the selected
project in the Projects view. The source files are not actually loaded into the design until
run prepare
is
called. Adding a source file to a project simply creates a link to the file so that it may be loaded during
run prepare
.
To assist the user’s understanding of the load order of the source files, the files are listed in the Projects View
in they same order in which they will be loaded. Be aware that the file order shown in the Options View is
not (yet) indicative of the load order.
Note that ACE always loads source files in the same order they were added to the Project. Frequently,
the order in which source files are loaded is important. For example, the creation of a clock may happen
in source file ”create clocks.sdc”, while operations upon that created clock may happen in source file
”alternate clocks.sdc”. To avoid errors, the user would want to first add ”create clocks.sdc” to the project as
a source file, then add ”alternate clocks.sdc” as a source file. If the user tried to add them to the project in a
single operation, the results are platform dependent, but often the OS will ”helpfully” sort the bulk-added
files alphabetically behind the scenes, which would cause ACE to add them to the project in the incorrect
order (and later try loading them in that same incorrect order). If this occurs, it can be corrected by removing
all the source files from the project, and adding them to the project again, one at a time, in the desired order.
Source File
Order
ACE loads source files in the same order they were added to the project. If ACE is
loading files in an incorrect order, remove all source files from the project, and then add
them, one at a time, in the desired order.
Removing Source Files
To remove a source file from a project in the workspace:
1. Select a source file in the Projects view.
2. Click on the Remove toolbar button (
) in the Projects view.
After clicking Remove, the source file no longer appears in the Projects view. Source files are not deleted
from the file system during this operation, and it is the user’s responsibility to clean up unwanted files on
disk. The source file is left on disk so that it may be loaded again later if desired.
Opening Source Files in an Editor
To open a source file in the editor area, double-click on the source file in the Projects view. The source file
now appears in a text editor in the editor area. Editing a source file in the workspace does not affect the
results of the flow unless the flow is re-run on the affected project implementations.
Creating Implementations
To create a new
in a
in the workspace:
1. Select a project in the
2. Click on the Create Implementation toolbar button (
) in the Projects view.
3. In the
, type in the name of the new implementation and click Finish.
After clicking Finish, the new implementation now appears under the selected project in the Projects
view. The new implementation is set to be the
and contains default values for
all
. A new implementation directory structure is also created under the project
directory if it does not already exist.
243
UG001 Rev. 5.0 - 5th December 2012