AMBA Designer batch mode commands

Table 10 shows the available batch mode command line options for AMBA Designer Canvas.

Table 10. Command line options for AMBA Designer in batch mode

Option

Example usage

Description

-b

adcanvas -b <file>.xml -<product> [options]

Start Canvas in batch mode.

product is the product code for an AMBA component. See the ARM® AMBA® Designer ADR-400 Release Note for the list of product codes.

-copyfiles

adcanvas -b <file>.xml -<product> [-copyfiles]

Copy the files that are not configuration-dependent into the destination directory of the IP.

-gen, -generate

adcanvas -b <file>.xml -<product> [-gen]

Generate RTL only.

-all

adcanvas -b <file>.xml -<product> [-all]

Generate RTL, simulate, and synthesize. This is the default behavior.

--addcomp

adcanvas --addcomp <file>.xml [--loc user|central] 

Add a configured IP-XACT component to the default Component Library,

~/.ARM/AMBA_Designer/3.0/AMBA_Designer_MaxLib.conf.

If you use the --loc optional option:

  • With user option specified, then the configured IP-XACT component is added to the default component library: ~/.ARM/AMBA_Designer/3.0/AMBA_Designer_MaxLib.conf.

  • With central option specified, then the configured IP-XACT component is added to: $AD_HOME/ADCL/etc/all_conf_files.adcl.

--addconfigurator
adcanvas --addconfigurator <file>.xml [--loc user|central] 
  • Add the IP-XACT configurator of a component to $AD_HOME/ADCL/etc/all_conf_files.adcl.

    If you use the --loc optional option:

    • With user option specified, then the IP-XACT configurator of a component is added to the default component library: ~/.ARM/AMBA_Designer/3.0/AMBA_Designer_MaxLib.conf.

    • With central option specified, then the IP-XACT configurator of a component is added to: $AD_HOME/ADCL/etc/all_conf_files.adcl.

  • Add a symbolic link to the IP-XACT file of the component in $AD_HOME/AMBADesigner/etc/ip_links.

--removecomp

adcanvas --removecomp <file>.xml [--loc user|central]

Remove a configured IP-XACT component from the default Component Library,

~/.ARM/AMBA_Designer/3.0/AMBA_Designer_MaxLib.conf.

If you use the --loc optional option:

  • With user option specified, then the configured IP-XACT component is removed from the default component library: ~/.ARM/AMBA_Designer/3.0/AMBA_Designer_MaxLib.conf.

  • With central option specified, then the configured IP-XACT component is removed from: $AD_HOME/ADCL/etc/all_conf_files.adcl.

--removeconfigurator
adcanvas --removeconfigurator <file>.xml [--loc user|central] 
  • Remove the IP-XACT configurator of a component from $AD_HOME/ADCL/etc/all_conf_files.adcl.

    If you use the --loc optional option:

    • With user option specified, then the IP-XACT configurator of a component is removed from the default component library: ~/.ARM/AMBA_Designer/3.0/AMBA_Designer_MaxLib.conf.

    • With central option specified, then the IP-XACT configurator of a component is removed from: $AD_HOME/ADCL/etc/all_conf_files.adcl.

  • Remove the symbolic link to the IP-XACT file of the component from $AD_HOME/AMBADesigner/etc/ip_links.

AMBA 2 or AMBA 3 components, bus matrices or network interconnects

-sim, -simulate

adcanvas -b <file>.xml -<product> [-sim]

Generate RTL and simulate.

-syn, -synth, -synthesise

adcanvas -b <file>.xml -<product> [-syn]

Generate RTL and synthesize.

-ovl, -noovl

adcanvas -b <file>.xml -<product> [-ovl]

Enable or disable OVL assertions during simulation.

The default is to use predefined preferences.

-lec, -nolec

adcanvas -b <file>.xml -<product> [-lec]

Enable or disable LEC of synthesized netlist against RTL.

The default is to use predefined preferences.

AMBA 4 components

-gen -phase

adcanvas -b <file>.xml -<product> -gen -phase <num>

Call a specific generator for an IP based on the phase number.

See Finding out the phase number of a generator for an AMBA 4 component for the simulator options.

Stitched systems

render.csh

render.csh <directory>

Recreate a stitches system for which configuration files had been exported into <directory>.

See Recreating a stitched system from exported configuration files.


Show/hideSee also

Copyright © 2006-2013 ARM. All rights reserved.ARM DUI 0333O
Non-ConfidentialID092413