How to make a copy of generated source file besides compile folder?

Solution

You can set Active-HDL to automatically copy a generated source file to your desired folder. This option will not prevent the generation of files to the compile folder, instead it will make a copy of it to the folder defined.

To set this option in the console window type in:

Example:

set generatedsourcecopyfolder your_desired_folder

"your_desired_folder" will be created under src and all generated files will be added there. Here is the description of this option.

Example

generatedsourcecopyfolder

Specifies the subdirectory of the $dsn\src_design folder where source files generated by the Block or State Diagram Editor are copied. After the variable is set, when you generate a source code from a block or state diagram, the specified folder structure is automatically created and an HDL file is added to the Files tab as a local copy. The variable is not set by default. Regardless of whether it is defined, HDL files are always generated to the default $dsn\compile subfolder.

Additional Example

generatedsourcecopypath

Specifies the user-defined location where source files generated by the Block or State Diagram Editor are copied. No HDL sources are attached to the design tree after the files are generated. The variable is not set by default. Regardless of whether it is defined, HDL files are always generated to the default $dsn\compile subfolder.

Ask Us a Question
x
Ask Us a Question
x
Captcha ImageReload Captcha
Incorrect data entered.
Thank you! Your question has been submitted. Please allow 1-3 business days for someone to respond to your question.
Internal error occurred. Your question was not submitted. Please contact us using Feedback form.
We use cookies to ensure we give you the best user experience and to provide you with content we believe will be of relevance to you. If you continue to use our site, you consent to our use of cookies. A detailed overview on the use of cookies and other website information is located in our Privacy Policy.