Load a Vivado hardware design.
Syntax
loadhw [options]
Load a Vivado hardware design, and set the memory map for the current target. If the current target is a parent for a group of processors, the memory map is set for all of its child processors. If current target is a processor, the memory map is set for all the child processors of its parent. This command returns the hardware design object.
Options
Option | Description |
---|---|
-hw
|
Hardware design file. |
-list
|
Return a list of open designs for the targets. |
-mem-ranges [list {start1 end1} {start2 end2}]
|
List of memory ranges from which the memory map should be set. The memory map is not set for the addresses outside these ranges. If this option is not specified, the memory map is set for all the addresses in the hardware design. |
Returns
Design object, if the hardware design is loaded and the memory map is set successfully. Error string, if the hardware design cannot be opened.
Examples
targets -filter {name =~ "APU"}; loadhw design.xsa
Load the hardware design named design.hdf and set the memory map for all the child processors of the APU target.
targets -filter {name =~ "xc7z045"}; loadhw design.xsa
Load the hardware design named design.hdf and set the memory map for all the child processors for which xc7z045 is the parent.