alignment - 2021.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
ft:locale
English (United States)
Release Date
2021-12-15
Version
2021.2 English

Syntax

  • For Zynq devices and Zynq UltraScale+ MPSoC:
    [alignment= <value>] <partition>
  • For Versal ACAP:
    { alignment=<value>, file=<partition> }

Sets the byte alignment. The partition will be padded to be aligned to a multiple of this value. This attribute cannot be used with offset.

Arguments

Number of bytes to be aligned.

Example

  • For Zynq devices and Zynq UltraScale+ MPSoC:
    all:
    {
    	[bootloader]fsbl.elf
    	[alignment=64] u-boot.elf
    }
  • For Versal ACAP:
    new_bif:
    {
    	image
    	{
    		{ type = bootimage, file = base.pdi }
    	}
    	image
    	{
    		name = apu_ss, id = 0x1c000000
    		{ core = a72-0, alignment=64, file = apu.elf }
    	}
    }
    
Note: *base.pdi is the PDI generated by Vivado.