HFCC-01 Low-Level Software (LLSW)
Rel_6802_HFCC-01-RP-CSAR-CB
Toggle main menu visibility
Loading...
Searching...
No Matches
mmapCore.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025, TUSAS Malaysia
3
* All rights reserved.
4
* This file contains proprietary information. This
5
* file shall not be duplicated, used, modified,
6
* or disclosed in whole or in part without
7
* the express written consent of TUSAS.
8
*/
9
17
18
#ifndef INCLUDED_MMAP_CORE_H
19
#define INCLUDED_MMAP_CORE_H
20
21
// =========================================================================
22
23
// memory status - mfb
24
#define MMAP_CORE_MFB1_MR_STATUS (0x0004U)
25
#define MMAP_CORE_MFB2_MR_STATUS (0x0008U)
26
27
// =========================================================================
28
29
// Board version information
30
#define MMAP_CORE_SERIAL_NUMBER (0x0000U)
31
#define MMAP_CORE_PLATFORM (0x0004U)
32
#define MMAP_CORE_MODEL (0x0008U)
33
#define MMAP_CORE_GEN (0x000CU)
34
#define MMAP_CORE_MAIN_REV (0x0010U)
35
#define MMAP_CORE_FPGA_FIRM_VER (0x0014U)
36
#define MMAP_CORE_CPLD_FIRM_VER (0x0018U)
37
#define MMAP_CORE_MIO_SLOT_COUNT (0x001CU)
38
39
// Board status information
40
#define MMAP_CORE_FPGA_STATUS (0x0020U)
41
#define MMAP_CORE_DRAM_TEMP (0x0028U)
42
#define MMAP_CORE_FPGA_TEMP (0x002CU)
43
#define MMAP_CORE_EFUSE_TEMP (0x0030U)
44
#define MMAP_CORE_DC_DC_CONV_TEMP (0x0034U)
45
46
// Board MIO Based Address
47
#define MMAP_CORE_MIO_FUNC_1_START_ADDR (0x0100U)
48
#define MMAP_CORE_MIO_FUNC_2_START_ADDR (0x0104U)
49
#define MMAP_CORE_MIO_FUNC_3_START_ADDR (0x0108U)
50
#define MMAP_CORE_MIO_FUNC_4_START_ADDR (0x010CU)
51
52
// Board MIO Address Size
53
#define MMAP_CORE_MIO_FUNC_1_SIZE (0x0130U)
54
#define MMAP_CORE_MIO_FUNC_2_SIZE (0x0134U)
55
#define MMAP_CORE_MIO_FUNC_3_SIZE (0x0138U)
56
#define MMAP_CORE_MIO_FUNC_4_SIZE (0x013CU)
57
58
// Board MIO ID
59
#define MMAP_CORE_MIO_FUNC_1_ID (0x0160U)
60
#define MMAP_CORE_MIO_FUNC_2_ID (0x0164U)
61
#define MMAP_CORE_MIO_FUNC_3_ID (0x0168U)
62
#define MMAP_CORE_MIO_FUNC_4_ID (0x016CU)
63
64
#define MMAP_CORE_BRD_TEMP (0x0190U)
65
66
// Heartbeat Mechanism Based Address
67
#define MMAP_CORE_HBT_EN_DIS (0x01B0U)
68
#define MMAP_CORE_HBT_RESOLUTION (0x01B4U)
69
#define MMAP_CORE_HBT_TIMEOUT_COUNT (0x01B8U)
70
#define MMAP_CORE_HBT_ELAPSED_COUNT (0x01BCU)
71
#define MMAP_CORE_HBT_FEEDING (0x01C0U)
72
73
// =========================================================================
74
75
// Bit position for PBIT and CBIT
76
#define MMAP_CORE_POS_PBIT_COMPLETE (2U)
77
#define MMAP_CORE_POS_CBIT_RUN (3U)
78
79
// =========================================================================
80
81
// memory map constrains
82
#define MMAP_CORE_TEMP_LSB (0.005F)
83
#define MMAP_CORE_BRD_TEMP_12_BIT (12U)
84
#define MMAP_CORE_HBT_ENABLE (0xEEEEEEEEU)
85
#define MMAP_CORE_HBT_DISABLE (0xDDDDDDDDU)
86
#define MMAP_CORE_HBT_FEED_A (0xAAAAAAAAU)
87
#define MMAP_CORE_HBT_FEED_B (0x55555555U)
88
89
// =========================================================================
90
91
#endif
// INCLUDED_MMAP_CORE_H
17 Source Code
HFCC-01-CD-SC-0.22.4
Release_Packages
DlmApi
DeviceDriver
Source
Core
mmapCore.h
Generated by
1.18.0