2259 views|0 replies

230

Posts

2

Resources
The OP
 

[Project source code] Using scripts in Quartus II to convert sof to rbf files [Copy link]

 

This article and design code were written by FPGA enthusiast Xiao Meige. Without the author's permission, this article is only allowed to be copied and reproduced on online forums, and the original author must be indicated when reprinting.


1. Create a new text file and save it with any meaningful name, such as sof_to_rbf.bat. Note that you should not use the default format when saving, but should manually switch from .txt to all files.
2. Enter the following content in the text file:


Among them, DE1_SOC_golden_top.sof is the name of the sof file to be converted. We can change it to the file name of our actual sof, such as led.sof. soc_system.rbf is the name of the file obtained after conversion.
3. Put it in the directory where the sof file is located, double-click to run, and the soc_system.rbf file can be generated.
The rbf file is mainly used to configure FPGA in PS mode, such as using CPLD, MCU, etc. In altera soc, this file can also be used to configure FPGA under Linux.
(Note that the script provided by Terasic should use 32-bit software, so %QUARTUS_ROOTDIR%\\bin64\\quartus_cpf is not written as bin64, but as bin, so running it directly will result in an error. So you can also use Notepad to edit the file yourself, and change bin to bin64)

Some netizens said that it could not be executed before. Finally, it was confirmed that the cause of the problem was that the SoC EDS software and Quartus were not installed in the same directory. For example, the picture below is the correct installation location, and embedded is the installed soc eds kit

This post is from Altera SoC
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list