⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 example_init.h

📁 dsp tms320c6486的csl例程
💻 H
字号:
/*  ============================================================================
 *   Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005, 2006
 *
 *   Use of this software is controlled by the terms and conditions found
 *   in the license agreement under which this software has been supplied.
 *  ============================================================================
 */
/** ============================================================================
 *
 *   @file  example_init.h
 *
 *   @path  $(CSLPATH)\example\c6486\hpi\inc
 *
 *   @desc  Example initialization function.
 *
 *******************************************************************************
 */
/* =============================================================================
 *  Revision History
 *  ===============
 *  03-Nov-2006 NG Created
 * =============================================================================
 */
#ifndef _example_init_h_
#define _example_init_h_

/* Constant Definitions   */
/* No. of Iterations to run each payload back to back */
#define NO_OF_ITERATIONS (1)

/* No. of various payloads that will be tested */
#define NO_OF_PAYLOADS   (1)

/* This should match the number of entries in data_incr.h */
#define MAX_BUFF_SIZE    (1024)

/* The difference between visual inspection and the TB latency is compensated */
#define TB_READ_LATENCY_CPU_CYCLES  (886)
#define TB_WRITE_LATENCY_CPU_CYCLES (1166)


/* Data Declarations                */
#pragma DATA_SECTION(dsp_src_buff, "l2_src_buff")
#pragma DATA_ALIGN(dsp_src_buff, 8)
Uint32  dsp_src_buff[MAX_BUFF_SIZE]; // =  
//#include <data_incr.h>

#pragma DATA_SECTION(dsp_dst_buff, "l2_dst_buff")
#pragma DATA_ALIGN(dsp_dst_buff, 8)
Uint32  dsp_dst_buff[MAX_BUFF_SIZE];// = 
//#include <data_incr.h>

//  Declare payload 
Uint32 payLoad[NO_OF_PAYLOADS] = {256};


#endif
/*****************************************************************************\
* End of test_init.h
\*****************************************************************************/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -