NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

CPU & Memory Clock Configuration

From Texas Instruments Wiki
Jump to: navigation, search

How to configure CPU & Memory Clock in Simulator?[edit]

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[edit]

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)

  • Open CCSv4 & create a target configuration file.
  • Select any of the C6455 Device Simulator in the basic setup tab.
  • Go to advanced tab anc click on the CPU.
  • Configurable options will show up on right side. Change the CPU Clock & EMIF Clock accordingly.

Clock configure.jpg

  • Clock options available are based on frequency supported by the device.
  • EMIF clock is set to default value supported on the simulator. To change select the other option which will show the frequency text box & bus width configurations.

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[edit]

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)

  • Identify the simulator configuration file & open the file in an editor.
  • Search for SECTION SYSTEM_CLOCK; inside the section change value of cpu_clk_freq to change CPU clock & vbus_clk_freq to change the BUS clock.
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.
  • Search for MEM_CLOCK_EMIFA or MEM_CLOCK_EMIFB or MEM_CLOCK; to change the memory clock on that device. Change the value for mem_clk_freq inside the section to configure the clock.
//! 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

  • Save the configuration & bring-up the simulator

Supported Simulator Device[edit]

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

  • TCI6482 Device Cycle Accurate Simulator
  • C6454 Device Cycle Accurate Simulator
  • C6455 Device Cycle Accurate Simulator
  • DM6437 Device Cycle Accurate Simulator
  • DM6446 Device Cycle Accurate Simulator
  • DM6443 Device Cycle Accurate Simulator
  • C6421 Device Cycle Accurate Simulator
  • C6424 Device Cycle Accurate Simulator
  • TCI6487 Device Cycle Accurate Simulator
  • TCI6488 Device Cycle Accurate Simulator
  • C6474 Device Cycle Accurate Simulator
  • TCI6486 Device Cycle Accurate Simulator
  • TCI6484 Device Cycle Accurate Simulator
  • DA830 Device Cycle Accurate Simulator
  • C6745 Device Cycle Accurate Simulator
  • C6747 Device Cycle Accurate Simulator
  • C6416 Device Cycle Accurate Simulator
  • C6416 Device Cycle Accurate Simulator
  • C6415 Device Cycle Accurate Simulator
  • C6414 Device Cycle Accurate Simulator
  • DM642 Device Cycle Accurate Simulator
  • C6713 Device Cycle Accurate Simulator
E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article CPU & Memory Clock Configuration here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article CPU & Memory Clock Configuration here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article CPU & Memory Clock Configuration here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article CPU & Memory Clock Configuration here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article CPU & Memory Clock Configuration here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CPU & Memory Clock Configuration here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CPU & Memory Clock Configuration here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article CPU & Memory Clock Configuration here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article CPU & Memory Clock Configuration here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity