21.14.2 sb_add_core

Description

This Tcl command is used to add cores to Master/Slave subsystems in the Peripherals page of the System Builder component.
Note: There are two types of cores that can be added using the sb_add_core command.
  1. One type is of actual cores like CoreI2C, CoreGPIO with fixed core versions available in the Peripherals page. If, for example, CoreI2C is added to a subsystem with core_name specified as i2c_peripheral and a core count of 4, then the actual instance names of CoreI2C added will be i2c_peripheral_0, i2c_peripheral_1, i2c_peripheral_2 and i2c_peripheral_3 in the generated design.
  2. Second type of cores are Fabric AMBA Slave and Fabric AMBA Master. Adding them to a subsystem will configure the bus core of the subsystem to enable and expose master/slave interfaces of the bus core on the generated System Builder component to be connected to actual masters/slaves in the fabric. If, for example, Fabric AMBA Slave configured as AHBLite(AMBA_INTERFACE_TYPE:AHBLITE) is added to a subsystem with core_name specified as ahb_slave and a core count of 4, then the CoreAHBLite bus core of that subsystem will be configured to enable and expose 4 AHBLite slave bus interfaces with names ahb_slave, ahb_slave_1, ahb_slave_2 and ahb_slave_3 on the System Builder component to be connected to actual slave peripherals in the fabric.
sb_add_core \
-component_name {component_name} \
-core_vlnv {vendor:library:name:version} \
[-core_name {core_name}] \
-subsystem_name {subsystem_name}

Arguments

Parameter Type Description
-component_name {component_name} string Mandatory. Name of the system builder component.
-core_vlnv {vendor:library:name:version} string Mandatory. Version identifier of the core being instantiated in the SmartDesign.
-core_name {core_name} string Optional. Name of the instance of the core in the System Builder component. If no details are provided, the instance name will be automatically defined as <vlnv_core_name>_n (where n starts at 0).
-subsystem_name {subsystem_name} string Mandatory. Name of the subsystem the core is being added to.

Example

sb_add_core -component_name {sb} -core_vlnv {Actel:SystemBuilder:AMBA_SLAVE:0.0.102} -core_name {AMBA_SLAVE_0} -subsystem_name {FIC0_Master_Subsystem}