Technical data
project
ModelSim EE/SE Command Reference ModelSim Commands CR-121
project
The project command is used to perform common operations on new projects.
The command is to be used outside of a simulation session.
Syntax
project
[history] [compile] [close] [env] [save] [copy <src_project>
<dest_dir> <proj_name>] [new <home_dir> <proj_name>] [delete
<project> [-force]] [open <project>]
Arguments
history
Lists a history of manipulated projects.
new <home_dir> <proj_name>
Creates a new project under a specified home directory with a specified name.
copy <src_project> <dest_dir> <proj_name>
Copies an existing project to a destination directory with a specified name.
open <project>
Opens a specified project file making it the current project. Changes the current
working directory to the project’s directory.
env
Returns the current project file.
compile
Compile the current project. This is done by taking the project’s list of work
libraries (Work_Libs variable in project section) and executing the associated
build script for each library (<libname>_script variable in the project section).
delete <project> [-force]
Deletes a specified project.
close
Close the current project.
save
Update the current project’s .mpf file with the current vsim settings.