User guide

280 www.xilinx.com System Generator for DSP User Guide
UG640 (v 12.2) July 23, 2010
Chapter 3: Using Hardware Co-Simulation
c. Open a Windows shell by selecting Start > Run..., then type cmd in the Run dialog
box and click OK.
d. In the shell, move to the mkdosfs folder:
cd C:\mkdosfs
Caution! In the following step, make sure the drive name (e.g., 'e:' in this case) is specified
correctly for the Compact Flash Removable Disk. Otherwise, the information on the mistakenly
targeted drive will be erased and the drive will be re-formatted.
e. Type the following mkdosfs command after the Windows command prompt:
mkdosfs -v -F 16 e:
The content of the Compact Flash card should be wiped clean and re-formatted.
3. Copy the Sysgen configuration files to the Compact Flash card
Note:
For reference, the Sysgen files to be copied are located at the following pathname:
For ML402:
...<ISE_Design_Suite_tree>/sysgen/plugins/bin/ML402_sysace_cf.zip
For ML506:
...<ISE_Design_Suite_tree>/sysgen/plugins/bin/ML506_sysace_cf.zip
For Spartan-3A DSP 3400:
...<ISE_Design_Suite_tree>/sysgen/plugins/bin/S3ADSP_DB__sysace_cf.zip
Invoke MATLAB on the PC, then enter the following command on the MATLAB
Command Line. The command for ML402 is illustrated:
unzip(fullfile(xilinx.environment.getpath('sysgen'),'plugins/bin/ML402_sysace_cf.zip'),'e:/')
The following files and folder should now be listed on the CompactFlash drive:
Optional Step to Set the Ethernet MAC Address and the IPv4 Address
Note: The following step may be necessary if the default MAC and IP addresses conflict with your
default network settings, or if you wish to co-simulate two or more boards concurrently. If not, proceed
to the next topic.
After writing the data to the card, you will find two files, mac.dat and ip.dat, in the
card root directory. The mac.dat and ip.dat files specify the Ethernet MAC address
and IPv4 address associated with the board, respectively. These addresses are used to
uniquely identify a target board during Ethernet hardware co-simulation.
a. Open mac.dat in a text editor and change the Ethernet MAC address. The MAC
address must be specified as a six pair of two-digit hexadecimal separated by
colons (e.g. 00:0a:35:11:22:33). All-zeros, broadcast, or multicast MAC
addresses are not supported.