69 #define FPGA_PHYSICAL_ADDRESS_SPACE_SIZE (0x10000)
ConOpSys application task base class header file.
int BOOL
Boolean datatype definition.
Definition: Defines.h:124
#define NULL
Definition: Defines.h:388
unsigned long long U64
Binary 64-Bit unsigned integer datatype defenition.
Definition: Defines.h:213
int TRIL
Thrilean datatype defenition.
Definition: Defines.h:143
unsigned char U8
Binary 8-Bit unsigned integer datatype defenition.
Definition: Defines.h:183
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
unsigned long U32
Binary 32-Bit unsigned integer datatype defenition.
Definition: Defines.h:203
float F32
IEEE-754 32-Bit single presession floating point numbers datatype defenition.
Definition: Defines.h:324
unsigned short U16
Binary 16-Bit unsigned integer datatype defenition.
Definition: Defines.h:193
char C8
ASCII 8-Bit char datatype defenition.
Definition: Defines.h:156
#define unset
Unset value of thrilean datatype defenition.
Definition: Defines.h:146
#define FPGA_PHYSICAL_ADDRESS_SPACE_SIZE
Definition: FPGA_Base.h:69
FPGA base class.
Definition: FPGA_Base.h:81
VOID Send_Internal_Slot_Information(TProtocol_Base *object_Protocol)
Send information about internal slots allocation.
Definition: FPGA_Base.cpp:1334
F32 f32_Clock_Frequency
FPGA internal clock frequency in herz as float point value.
Definition: FPGA_Base.h:596
VOID Init(TFPGA_Registers *struct_Registers_Base_Address)
FPGA object initialisation method.
Definition: FPGA_Base.cpp:358
U32 Get_Clock_Frequency()
Get FPGA clock frequency in herz method.
Definition: FPGA_Base.cpp:1193
U64 Get_Interconnect_Error_Count()
Get FPGA interconnect error count method.
Definition: FPGA_Base.cpp:1036
U16 u16_Read_Pattern_2
Reading pattern #2 for testng.
Definition: FPGA_Base.h:549
virtual VOID Interrupt_Disable()=0
Disable FPGA interrupt method.
virtual BOOL FPGA_PROG_Pin_Status()=0
Get FPGA PROG pin status method.
U32 Get_Configurstion_ID()
Get FPGA configuration ID method.
Definition: FPGA_Base.cpp:1152
virtual BOOL Configure()=0
Configure FPGA method.
U64 u64_Test_Interconnect_Test_Counter
Interconnect test counter.
Definition: FPGA_Base.h:528
VOID Send_Internal_Module_Information(U8 u8_Slot, TProtocol_Base *object_Protocol)
Definition: FPGA_Base.cpp:1789
TRIL Is_Configured()
Return FPGA configuration status method.
Definition: FPGA_Base.cpp:1251
VOID Interrupt()
FPGA interrupt method.
Definition: FPGA_Base.cpp:1012
U64 u64_Test_Interconnect_Error_Counter
Interconnect error counter for diagnose.
Definition: FPGA_Base.h:531
VOID FPGA_Write_U16(U16 u16_Address, U16 u16_Value)
Write U16 value into FPGA using generic access.
Definition: FPGA_Base.cpp:1128
volatile TFPGA_Registers * struct_Registers
Mapped FPGA registers.
Definition: FPGA_Base.h:522
BOOL Get_Slot_Module_Name_By_ID(U32 u32_Module_ID, C8 **c8_Module_Name)
Definition: FPGA_Base.cpp:1750
virtual BOOL FPGA_DONE_Pin_Status()=0
Get FPGA DONE pin status method.
U16 u16_Write_Pattern_3
Write pattern #3 for testng.
Definition: FPGA_Base.h:540
virtual ~TFPGA_Base()
FPGA base class destructor method.
Definition: FPGA_Base.cpp:350
U16 u16_Read_Pattern_1
Reading pattern #1 for testng.
Definition: FPGA_Base.h:546
F32 Get_Clock_Frequency_In_Hz()
Get FPGA internal clock frequency in Hz method.
Definition: FPGA_Base.cpp:1024
VOID Test_Interconnect_Interface()
Check FPGA interconnection interface method.
Definition: FPGA_Base.cpp:1080
VOID Increment_Test_Interconnect_Error_Counter()
Increment test interconnect error counter method.
Definition: FPGA_Base.cpp:1060
VOID Send_External_Module_Information(U8 u8_Slot, TProtocol_Base *object_Protocol)
Definition: FPGA_Base.cpp:1837
U16 u16_Write_Pattern_1
Write pattern #1 for testng.
Definition: FPGA_Base.h:534
VOID Send_External_Slot_Information(TProtocol_Base *object_Protocol)
Send information about external slots allocation.
Definition: FPGA_Base.cpp:1542
U16 u16_Read_Pattern_4
Reading pattern #4 for testng.
Definition: FPGA_Base.h:555
TRIL tril_FPGA_Configured
FPGA configuration status.
Definition: FPGA_Base.h:525
U16 u16_Write_Pattern_4
Write pattern #4 for testng.
Definition: FPGA_Base.h:543
VOID FPGA_Read_U16(U16 u16_Address, U16 *u16_Value)
Read U16 value from FPGA using generic access.
Definition: FPGA_Base.cpp:1140
U64 Get_Interconnect_Test_Count()
Get FPGA interconnect test count method.
Definition: FPGA_Base.cpp:1048
VOID Reset_Watchdog()
Reset FPGA watchdog.
Definition: FPGA_Base.cpp:1227
U16 Get_Version()
Get FPGA configuration version method.
Definition: FPGA_Base.cpp:1169
TFPGA_Base()
FPGA base class constructor method.
Definition: FPGA_Base.cpp:342
virtual BOOL Is_Installed()
Get FPGA init status method.
Definition: FPGA_Base.cpp:1239
U16 Get_Revision()
Get FPGA configuration revision method.
Definition: FPGA_Base.cpp:1181
static const TFPGA_Module_Descriptor struct_FPGA_Module_Descriptor_Database[]
FPAG module descriptior database storage.
Definition: FPGA_Base.h:590
BOOL Get_Internal_Slot_Module_ID(U8 u8_Slot_Index, U32 *u32_Module_ID)
Definition: FPGA_Base.cpp:370
virtual VOID Interrupt_Enable(U32 u32_TickPriority)=0
Enable FPGA interrupt method.
U32 u32_Clock_Frequency
FPGA internal clock frequency in herz as integer value.
Definition: FPGA_Base.h:593
BOOL Get_External_Slot_Module_ID(U8 u8_Slot_Index, U32 *u32_Module_ID)
Definition: FPGA_Base.cpp:762
VOID Send_General_Information(TProtocol_Base *object_Protocol)
Send general information about FPGA object.
Definition: FPGA_Base.cpp:1263
U16 Get_Slot_Size()
Get FPGA slot size method.
Definition: FPGA_Base.cpp:1212
U16 u16_Write_Pattern_2
Write pattern #2 for testng.
Definition: FPGA_Base.h:537
U16 u16_Read_Pattern_3
Reading pattern #3 for testng.
Definition: FPGA_Base.h:552
Definition: Protocol_Base.h:57
Pointer to the application task.
Definition: FPGA_Base.h:572
C8 * c8_Module_Description
FPGA module description.
Definition: FPGA_Base.h:581
U16 u16_Module_ID
FPGA module identifier.
Definition: FPGA_Base.h:575
C8 * c8_Module_Name
FPGA module name.
Definition: FPGA_Base.h:578
Register structure for generic unit ID access.
Definition: FPGA_Base.h:166
U16 u16_Unit_ID_L
0x00 : Module identification low register
Definition: FPGA_Base.h:169
U16 u16_Unit_ID_H
0x01 : Module identification high register
Definition: FPGA_Base.h:172
FPGA register models.
Definition: FPGA_Base.h:95
U16 u16_FPGA_Revision
Offset 0x07, FPGA revision register.
Definition: FPGA_Base.h:131
U16 u16_FPGA_Version
Offset 0x06, FPGA version register.
Definition: FPGA_Base.h:128
U16 u16_Reserve_0x0B
Offset 0x0B, Reserve.
Definition: FPGA_Base.h:143
U16 u16_FPGA_Slot_Size
Offset 0x0A, FPGA slot size.
Definition: FPGA_Base.h:140
U16 u16_FPGA_Configuration_ID_Low
Offset 0x04, FPGA configuration ID register, low word.
Definition: FPGA_Base.h:122
U16 u16_FPGA_Clock_Frequency_High
Offset 0x09, FPGA clock frequency high word.
Definition: FPGA_Base.h:137
U16 u16_Watchdog_CSR
Offset 0x0F, FPGA watchdog control and status register.
Definition: FPGA_Base.h:155
U16 u16_FPGA_Interrupt_Period_Low
Offset 0x0C, FPGA interrupt period register, low word.
Definition: FPGA_Base.h:146
U16 u16_FPGA_Clock_Frequency_Low
Offset 0x08, FPGA clock frequency low word.
Definition: FPGA_Base.h:134
U16 u16_FPGA_Configuration_ID_High
Offset 0x05, FPGA configuration ID register, high word.
Definition: FPGA_Base.h:125
U16 u16_FPGA_Watchdog_Period
Offset 0x0E, FPGA watchdog period register.
Definition: FPGA_Base.h:152
U16 u16_Test_Register_2
Offset 0x01, FPGA access test register 2.
Definition: FPGA_Base.h:109
U16 u16_Test_Register_1
Offset 0x00, FPGA access test register 1.
Definition: FPGA_Base.h:106
U16 u16_Test_Register_4
Offset 0x03, FPGA access test register 4.
Definition: FPGA_Base.h:115
U16 u16_FPGA_Interrupt_Period_High
Offset 0x0D, FPGA interrupt period register, low word.
Definition: FPGA_Base.h:149
U16 u16_Test_Register_3
Offset 0x02, FPGA access test register 3.
Definition: FPGA_Base.h:112