partition - 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

partition 
{ 

} 

Description

This attribute is used to define a partition. It is an optional attribute to make the BIF short and readable.

Example

new_bif:
{
	id_code = 0x04ca8093
	extended_id_code = 0x01
	id = 0x2												
	image
	{
		name = pmc_subsys, id = 0x1c000001
		partition
		{ 
			id = 0x01, 
			type = bootloader, 
			file = executable.elf 
		}
		partition
		{ 
			id = 0x09, 
			type = pmcdata, 
			load = 0xf2000000, 
			file = topology_xcvc1902.v2.cdo, 
			file = pmc_data.cdo 
		}
	}
}
Note: The partition attribute is optional and the BIF file can be written without the attribute too.

The above BIF can be written without the partition attribute as follows:

new_bif:
{
	id_code = 0x04ca8093
	extended_id_code = 0x01
	id = 0x2												
	
	image
	{
		name = pmc_subsys, id = 0x1c000001
		{ id = 0x01, type = bootloader, file = executable.elf }
		{ id = 0x09, type = pmcdata, load = 0xf2000000, file = topology_xcvc1902.v2.cdo, file = pmc_data.cdo }
	}
}