Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15334 Discussions

How to keep and load different versions of a project (.sof file)?

Altera_Forum
Honored Contributor II
1,162 Views

Hi there, 

I am developing a project and and I want to keep different version of the project when I change source code. 

What I did is that I compile the project, get the .sof file and change it name to something_versionx.sof so that next time if I change the source code and recompile, I still have the .sof file of the old versions. But I don't really know if keeping only the .sof file is enough to configure and program the FPGA or not ? in other words, does a .sof file contain all the necessary information and represent the whole project? 

If it does, then how to load different versions of the .sof files using tcl script for automating the process? I tried: 

% get_service_paths plugin  

% set design_plugin [lindex [get_service_paths plugin] 2]  

% plugin_enable $design_plugin  

% set device_path [lindex [get_service_paths device] 0]  

% design_load $project_path 

% set design_path [lindex [get_service_paths design] 0] 

% design_link $design_path $device_path  

 

But it keeps saying error: 

 

SEVERE: Device /devices/5CE(BA4|FA4)@1#USB-0 is not compatible with design /designs/AES1800FPGA.qsf 

Device /devices/5CE(BA4|FA4)@1#USB-0 is not compatible with design /designs/AES1800FPGA.qsf 

while executing 

"design_link {/designs/AES1800FPGA.qsf} {/devices/5CE(BA4|FA4)@1#USB-0}" 

while executing 

"design_link $design_path $device_path" 

 

Do you guys have any ideas how to fix this? 

 

Thank you!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
94 Views

Anyone has any clues ?

Reply