cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
4,665 Views
Registered: ‎06-05-2015

SDK help with generating .bit that contains both software and hardware components

Jump to solution

I have a project that utilizes a reference design.  I have built the project in Vivado and have exported the project to SDK.  I have also imported an archive file into the SDK project.  This is where the instructions for my reference design stop.  I do not know what I need to do now to compile a .bit file that contains the software and hardware components.  My design uses the MicroBlaze and a few other components on a FMC board.  I am using the KC705 development board.

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Explorer
Explorer
8,490 Views
Registered: ‎11-24-2013

Re: SDK help with generating .bit that contains both software and hardware components

Jump to solution

Hello schumerth,

 

with SDK you will generate a ".elf" file, which is your program for MicroBlaze. Then, to generate the .bit file including the software, you will have to get back to Vivado, right click in your block design and select "Associate .elf Files..."

 

If the program generated in SDK is to be executed in the On Chip Memory it will run from the moment you upload it, but if it's to be executed from external memory, it will not work because the memory must be loaded. For such kind of situation you will need a bootloader that picks the program from persistent memory and put it on the RAM first, an then makes the processor's program counter to jump to the RAM position in which the program starts. The memory from which the program executes is indicated in the "linker script".

 

Regards,

 

Ignacio.

View solution in original post

Tags (3)
2 Replies
Highlighted
Explorer
Explorer
8,491 Views
Registered: ‎11-24-2013

Re: SDK help with generating .bit that contains both software and hardware components

Jump to solution

Hello schumerth,

 

with SDK you will generate a ".elf" file, which is your program for MicroBlaze. Then, to generate the .bit file including the software, you will have to get back to Vivado, right click in your block design and select "Associate .elf Files..."

 

If the program generated in SDK is to be executed in the On Chip Memory it will run from the moment you upload it, but if it's to be executed from external memory, it will not work because the memory must be loaded. For such kind of situation you will need a bootloader that picks the program from persistent memory and put it on the RAM first, an then makes the processor's program counter to jump to the RAM position in which the program starts. The memory from which the program executes is indicated in the "linker script".

 

Regards,

 

Ignacio.

View solution in original post

Tags (3)
Highlighted
Adventurer
Adventurer
4,543 Views
Registered: ‎06-05-2015

Re: SDK help with generating .bit that contains both software and hardware components

Jump to solution

Thank you for reply.  Your explanation was extremly helpful.

0 Kudos