« Prev | Next » 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. Previous article Next article