blob: d54ddc07097da0b45150eea5f262d244dc4fdabf [file] [log] [blame]
rjw6c1fd8f2022-11-30 14:33:01 +08001/*============================================================================*/
2/* eCall ANSI C fixed-point reference source code */
3/* */
4/* File: ecall_rom.h */
5/* Version: 8.6.0 (Rel8) / 9.4.0 (Rel9) */
6/* Date: 2011-02-08 */
7/* Description: ROM data arrays (header file) */
8/*----------------------------------------------------------------------------*/
9
10#ifndef ECALL_ROM_H_
11#define ECALL_ROM_H_
12
13#include "ecall_defines.h"
14
15
16/*============================================================================*/
17/* Synchronization */
18/*----------------------------------------------------------------------------*/
19
20extern const Int16 wakeupSin500[16];
21extern const Int16 wakeupCos500[16];
22extern const Int16 wakeupSin800[10];
23extern const Int16 wakeupCos800[10];
24
25extern const Int16 syncPulseForm[5];
26extern const Int16 syncSequence[15];
27extern const Int16 syncIndexPreamble[SYNC_IDXLEN];
28extern const Int16 syncFrame[10*PCM_LENGTH];
29
30/*============================================================================*/
31/* Uplink/Downlink format */
32/*----------------------------------------------------------------------------*/
33
34extern const Int16 indexBits[24];
35
36extern const Int16 m4smp_ulPulse[16];
37extern const Int16 m8smp_ulPulse[32];
38extern const Int16 m4smp_ulPulseMatch[64];
39extern const Int16 m8smp_ulPulseMatch[128];
40
41extern const Int16 m4smp_mgTable[66];
42extern const Int16 m8smp_mgTable[116];
43
44extern const Int16 dlPcmData[4][NRF_DLDATA*PCM_LENGTH];
45extern const Int16 dlPcmDataMatch[4][NRF_DLDATA*PCM_LENGTH];
46
47/*============================================================================*/
48/* FEC encoder/decoder */
49/*----------------------------------------------------------------------------*/
50
51extern const Ord16 stateTrans[16];
52extern const Ord16 revStateTrans[16];
53extern const Ord1 outputParity[16];
54
55extern const Ord1 crcPolynomial[NRB_CRC+1];
56extern const Ord1 scramblingSeq[NRB_INFO_CRC];
57extern const Ord16 interleaverSeq[NRB_INFO_CRC];
58extern const Ord16 redVerIndex[8][NRB_CODE_ARQ];
59
60extern const IntLLR logExpTable[LOGEXP_RES];
61
62#endif