CPU & Memory Clock Configuration

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Contents

How to configure CPU & Memory Clock in Simulator?

It's possible to configure CPU & Memory Clock in device cycle accurate simulator. Configuring the clocks would give better cycle accuracy when compared to the defaults settings. Clock configuration is applicable for Device Cycle Accurate Simulators only

For C64xx & C64x+ Device Simulators in CCSv4

For C64xx & C64x+ simulator the CPU & EMIF clock are configure in setup time. Follow the steps to configure the clocks. (Note: Steps given are for CCSv4)

Clock configure.jpg

EMIF custom timing.jpg


NOTE: EMIF timing register in the simulator have to be configure for better cycle accuracy.

For C64x+ Device Simulators in CCSv3.3

For C64x+ devices the CPU & Memory clocks are configure via simulator configuration file. Follow the steps to configure the clocks. (Eg. Step are shown using C6455 Device Cycle Accurate Simulator)

SECTION SYSTEM_CLOCK;     
	cpu_clk_freq  750;			// CPU clock frequency in MHz	 
        vbus_clk_freq 250;			// VBUS clock frequency in MHz	 
END SYSTEM_CLOCK;

//Note: Only integers are allowed as clocks values.
//! Note:
//! =========
//! 1. EMIFB is configured to DDR2
//! 2. To configure the DDR2 clock frequency for EMIFB change the mem_clk freq value.
//!

SECTION MEM_CLOCK_EMIFB;
	mem_clk_freq  250;			// Memory clock frequency in MHz            
END MEM_CLOCK_EMIFB;

Note: MEM_CLOCK_EMIFA or MEM_CLOCK_EMIFB will be present only when their are two EMIF present in the device otherwise check for MEM_CLOCK
Note: Check the comment to see whether the memory is configure to SDRAM or DDR2 or DDR3

Supported Simulator Device

Clock configuration is supported in CCSv4 for the following simulator configurations.

Leave a Comment

Comments

Comments on CPU & Memory Clock Configuration


AppleCat said ...

Hi, I wonder whether the simulator could be configured to have a frame/slot timing?

--AppleCat 07:55, 28 August 2009 (CDT)

AppleCat said ...

Hi, I am using the TCI6488 simulator.

--AppleCat 09:03, 28 August 2009 (CDT)

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox