1
2
3
4
5
6
7#ifndef __HAL_VERSION_DEF_H__
8#define __HAL_VERSION_DEF_H__
9
10enum HAL_CHIP_TYPE {
11 TEST_CHIP = 0,
12 NORMAL_CHIP = 1,
13 FPGA = 2,
14};
15
16enum HAL_CUT_VERSION {
17 A_CUT_VERSION = 0,
18 B_CUT_VERSION = 1,
19 C_CUT_VERSION = 2,
20 D_CUT_VERSION = 3,
21 E_CUT_VERSION = 4,
22 F_CUT_VERSION = 5,
23 G_CUT_VERSION = 6,
24};
25
26enum HAL_VENDOR {
27 CHIP_VENDOR_TSMC = 0,
28 CHIP_VENDOR_UMC = 1,
29};
30
31struct HAL_VERSION {
32 enum HAL_CHIP_TYPE ChipType;
33 enum HAL_CUT_VERSION CUTVersion;
34 enum HAL_VENDOR VendorType;
35};
36
37#endif
38