Xilinx LogiCORE MicroBlaze Product Manual page 49

Table of Contents

Advertisement

Update Tool to Use Software:
With one MicroBlaze MCS component, type the following command in the Tcl Console,
using the appropriate absolute directory path:
config_run [current_run] -program bitgen -option {More Options} -value \
{-bd /sdk-workspace-path/sdk-program/Debug/sdk-program.elf tag component-name}
With more than one MicroBlaze MCS component, the -bd option must be repeated for
each component.
Update Bitstream with Software:
To perform this step with one MicroBlaze MCS component, invoke data2mem with, for
example, the following command line options, using the appropriate directory paths to
the indicated files:
cd project-path
data2mem -p part \
-bm project-name.srcs/sources_1/ip/component-name/component-name_bd.bmm \
-bd /sdk-workspace-path/sdk-program/Debug/sdk-program.elf tag component-name \
-bt project-name.runs/impl_1/toplevel.bit \
-o b project-name.runs/impl_1/download.bit
Here part is the complete part name, consisting of device, package, and speed
concatenated.
With more than one MicroBlaze MCS component, the -bm option must indicate the
merged BMM file.updated with block RAM placement.
For each additional MicroBlaze MCS component, the -bd option has to be repeated,
followed by the appropriate executable ELF file, the keyword tag, and the component
name.
Generate Simulation Files:
To perform this step manually with one MicroBlaze MCS component, invoke data2mem
with, for example, the following command line options, using the appropriate directory
paths for the indicated files:
cd project-path
data2mem -p part \
-bm project-name.srcs/sources_1/ip/component-name/component-name.bmm \
-bd /sdk-workspace-path/sdk-program/Debug/sdk-program.elf tag component-name \
-bx project-name.sim/sim_1 -u
Here part is the complete part name, consisting of device, package, and speed
concatenated.
For each additional MicroBlaze MCS component, the -bd option has to be repeated,
followed by the appropriate executable ELF file, the keyword tag, and the component
name.
MicroBlaze Micro Controller System v1.3
PG048 December 18, 2012
Chapter 6: Customizing and Generating the Core
www.xilinx.com
48

Advertisement

Table of Contents
loading

Table of Contents