Format Of The Configuration File To Be Picked Up; Setting The Maximum Memory Usage Limit; File Format For Pin Connect; Setting Up The Input File - Texas Instruments TMS320C6000 Technical Reference Manual

Simulator
Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

www.ti.com

4.7.1 Format of the Configuration File to be Picked Up

McASP XBAR is not configurable via the Code Composer Studio Setup interface. You must manually add
a MCASP_XBAR_FILE entry in the desired simulator's base configuration file (see
In the case of C6x0x devices, add the entry MCASP_XBAR_FILE as follows (note that XBAR is not
supported on the C6205 simulator):
MODULE TB;
MCASP_XBAR_FILE <path_of_xbar_file_name>;
END TB;
On the other hand, in the case of C64x devices, add the entry MCASP_XBAR_FILE as follows:
MODULE C64xx;
...
MCASP_XBAR_FILE <path_of_xbar_file_name>; // path of xbar data file
END C64xx;
The value <path_of_xbar_file_name> denotes the path and file name of the XBAR data file. For example:
MCASP_XBAR_FILE C:\ccstudio\drivers\mcasp_xbar.dat;
4.8

Setting the Maximum Memory Usage Limit

The default maximum memory usage limit of 64MB could be over-ridden by adding the following line in the
base configuration file (see
MEM_USAGE_LIMIT <max_mem_usage_in_MB>;
For example, in order to run a test case that uses between 50 and 100 MB of device memory space, the
default limit of 64MB is not sufficient and needs to be over-ridden. For example, to set the maximum
memory limit to100 MB for a C6416 Device Cycle Accurate Simulator configuration, go to the section
MODULE C6416 in the base configuration file and add the entry MEM_USAGE_LIMIT 100 as shown
below.
MODULE C6416;
...
MEM_USAGE_LIMIT 100;
END C6416;
MEM_USAGE_LIMIT is not configurable via the Code Composer Studio Setup interface. You must
manually add a MEM_USAGE_LIMIT entry in the desired simulator's base configuration file.
4.9

File Format for Pin Connect

The simulator allows you to simulate and monitor external interrupt signals.
The Pin Connect tool enables you to specify the interval at which selected external interrupts will occur.
To simulate external interrupts follow these steps:
1. Create a data file that specifies interrupt intervals.
2. Start the Pin Connect tool. From the Code Composer Studio Tools menu, choose Pin Connect.
3. Connect the data file to an external interrupt pin.
4. Load the program.
5. Run the program.

4.9.1 Setting Up the Input File

To simulate external interrupts, you must first create a data file that specifies interrupt intervals. Interrupt
intervals are expressed as a function of CPU clock cycles. Simulation begins at the first clock cycle. An
interrupt will occur at each specified clock cycle.
The data file must contain a CPU clock cycle parameter in the following format:
[clock_cycle, logic_value] [rpt {n|EOS}]
Where
SPRU600I – April 2007
Submit Documentation Feedback
Section
4.11):

Setting the Maximum Memory Usage Limit

Section
4.11.)
Configuring the Simulator
41

Advertisement

Table of Contents
loading

Table of Contents