TCL
7761 - Why is the output of "des_set_operating_condition" is always -1C in TCL+?
Below is a step-by-step explanation on why the default operating temperature in TCL+ defaults to -1C and observe its effect on timing analysis: 1. When you open the PAR-generated UDB file using des_read_udb and run des_report_operating_condition, the ...
7744 - Radiant: Which file can be use to know the build time for each Radiant's completed milestone?
Users can utilize the ".build_status" file that is automatically generated and updated for each Radiant milestone's build status and build time. It can be found in the design's implementation folder. Note: The time used on the file is in Unix ...
7709 - Deployment Tool: tcl script for generating Embedded System Files
Here is an example TCL script: ========================== #change directory to where the deployment tool can be invoked: cd "C:/lscc/radiant/2024.2/programmer/bin/nt64/" exec ddtcmd -oft -sspi -if "C:/Users/jmanguba/Downloads/erase_only.xcf" -ofa ...
7490 - Radiant: How to modify the bitstream USERCODE via scripting flow?
Users can perform USERCODE modification of the generated bitstream via our deployment tool (ddtcmd.exe) scripting flow. Here is an example TCL script: ========================== #change directory to where the deployment tool can be invoked: cd ...
7413 - Radiant 2023.2 and below: Tcl Command ip_upgrade does not work for IPs that are generated using the ipgen command
Description: For Radiant 2023.2 and below, the Tcl command ip_upgrade does not work if the IP is generated using the ipgen commant. Solution: This is a bug on Radiant 2023.2. The current workaround we can provide is to manually change the value of ...
6603 - Radiant: How to perform IP re-generation using ipgen?
First, run "ipgen.exe -h" from the tcl console to view all the command options as shown below. usage: ipgen.exe [-h] [-o OUTPUT_DIR] [-proj_dir PROJ_DIR] -ip IP_MODULE_DIR [-cfg IP_CONFIG_FILE] [-skip_uniquify SKIP_UNIQUIFY_HDL] [-cfg_value ...
6410 - Lattice Diamond: Why do i encounter a library load error when i try to use the trce command?
Description: The user is trying to use the trce command on the Linux Terminal and encountered the below error, even if the library is located on the desired location "trce: error while loading shared libraries: libbastw.so: cannot open shared object ...
6834 - Radiant: Is there a way to script the compilation flow without opening the Radiant window?
There are two options here: 1. Running the TCL script through the Radiant TCL Console 2. Running the TCL script through a batch file On both cases, user can use the pnmainc.exe instead of the pnmain.exe to run Radiant without opening the Radiant ...
7172 - Radiant 2023.1 and below: Why do I encounter an error when starting Synplify Pro in Radiant GUI after opening a project created via script?
Description: When using Radiant version 2023.1 or lower to create your project on a Non-GUI flow and user tries to open SynplifyPro via Radiant GUI, it will cause an error if the TCL script contains the "prj_create -impl_dir " argument. The ...
6205 - Radiant: How to use the TCL command "prj_add_source" to include a list of files on Radiant project based on file type via scripting flow?
Here is an example TCL script on how to automate adding of files, based on file type, to a Radiant project via scripting flow: #set the directory to a variable where you want to get the files. set dir /home/jmangubat/ #use glob command to filter the ...
6196 - Lattice Radiant: How do I Write values to ROM after implementation using ECO Editor
In order to use the ECO editor tcl command, you must get the mem_id value from the ECO GUI. The tcl command was meant to record/repeat the operation of the GUI. There is no other way than to use the GUI first to check the id values. Here is the ...
7143 - Radiant: How to save design phase report files via TCL scripting each time the design is recompiled?
There is no specific command to retain the log files every time you recompile each design phase. As a workaround, the user can use the "file copy" tcl command after each design phase to copy the logs to a different folder from each design phase and ...
6664 - Radiant 2022.1 and below: Error: "ModuleNotFoundError: No module named 'secrets'"
Description: When using Radiant 2022.1 and below version to invoke "ipgen" TCL command for IP generation, below error might occur: "ERROR:root:code for hash md5 was not found. Traceback (most recent call last): File "bit_generator.pyx", line 40, in ...
7135 - Diamond version 3.13 and older Compiling libraries error: couldn't execute "echo": no such file or directory
Description: In Diamond, when using the cmpl_libs tcl command, the script may return an error if it includes compiling the MachXO3D library. Solution: There is no planned fix for this issue in Diamond. To work around this, for non-MachXO3D devices, ...
6652 - Lattice Diamond: How to save Diamond Project File (.ldf) without exiting Diamond Software?
You can use "prj_project save" command in Diamond TCL console. This will let you save the Diamond Project file without exiting the Diamond Software.
6635 - Diamond 3.12 SP1 and above: What is the TCL command option to stop PAR if timing was not met?
In Diamond 3.12 SP1 and above version, users can use the "tmcheck" command after PAR trace and before bitgen. Note that when using "tmcheck" command in your TCL script, make sure to add the "exec" syntax before "tmcheck" Example: exec tmcheck -par ...
6028 - Radiant: How to set project top level via TCL?
Use the command "prj_set_impl_opt -impl top " For example: "prj_set_impl_opt -impl impl1 top count" 1. "impl1" is the name of the implementation 2. "count" is the module name that will be set as top-level
5982 - Lattice Diamond: Is there a command to generate a .xcf project for scripted or automated programming?
There's no command line available in generating a .xcf project. The customer needs to manually generate the .xcf project file within the Lattice Diamond GUI.
5979 - Diamond 3.10: Is there any TCL command for hard-macro (NMC flow) for "Add External Pin" operation?
Description: External pin declaration is done manually including the declaration of a component to a reference in Diamond. This features should be automated to ensure safety and guarantee that HardMacro will always be added to complete top design, as ...