Forum Discussion
13 Replies
- Altera_Forum
Honored Contributor
.rbf
But make sure you use the correct bit order. In some applications you need to flip the bits like this: out_byte[7] <= inByte[0]; out_byte[6] <= inByte[1]; out_byte[5] <= inByte[2]; out_byte[4] <= inByte[3]; out_byte[3] <= inByte[4]; out_byte[2] <= inByte[5]; out_byte[1] <= inByte[6]; out_byte[0] <= inByte[7]; - Altera_Forum
Honored Contributor
i am afraid i have to disagree. RPD is the correct format. it is already bit reversed.
- Altera_Forum
Honored Contributor
If you are using srunner software then rpd is the obvious choice. But I wrote my own drivers from scratch and just used the rbf file because it was lying around on the disk. And yes, I had to bit reverse the bytes for use by the altera altasmi_parallel megafunction. Watch that one!
Nick - Altera_Forum
Honored Contributor
use the .rbf file and write it into your flash reversing the bits of each byte.
The .rbf file can be generated at build time, but its up to you to write it into flash correctly. - Altera_Forum
Honored Contributor
Where can I find the rbf format definition
- Altera_Forum
Honored Contributor
Hmmm not sure I ever found a definition, which is why I had to find out the hard way that the bits are in reverse order with respect to the way the serial flash is programmed. But viewing with a hex editor, it just seems to be what it's name suggests: a binary config file (compressed if you have compression enabled). There are some bytes at the top that never change - some kind of header.
- Altera_Forum
Honored Contributor
I did it as amilcar (http://www.alteraforum.com/forum/member.php?u=27697) said,it works, thanks a lot.
- Altera_Forum
Honored Contributor
RBF file is encrypted, isn't it? Then, how can you write its content in EPCS?
- Altera_Forum
Honored Contributor
RBF file is not encrypted,i wrote it to EPCS use I2c bus of CPU through FPGA,using remote configeration core in FPGA.
- Altera_Forum
Honored Contributor
lanliang714
I have made the settings in 'device and pin' settings in Quartus for rbf file genaration and compiled the design. Quartus have generated the .rbf file. When I open this .rbf file in Quartus editor, its contents are all symbols. Is it a problem of Quartus Licence? Which Quartus are you using? I am using Quartus II 12.0 sp2. Thanks.