Commit 2d429e24 authored by Tiago Jorge's avatar Tiago Jorge
Browse files

Add doc comments for globalFpgaStatus_<Function Block's name> status global variables.

parent 787a3be3
...@@ -11,8 +11,14 @@ char p_szGlobalState[] = "modeX"; ...@@ -11,8 +11,14 @@ char p_szGlobalState[] = "modeX";
#define FPGA_ERROR "error" #define FPGA_ERROR "error"
#define FPGA_DISABLED "disabled" #define FPGA_DISABLED "disabled"
// For each HWSW Function Block a global variable must be created with name "globalFpgaStatus_<Function Block's name>".
// This variable will host at any time the current HW status associated with the respective Function Block.
// This status shall be updated by the HW reconfiguration manager commanding of the FPGA and FPGA status check,
// and can be one of: FPGA_READY, FPGA_RECONFIGURING, FPGA_ERROR, FPGA_DISABLED.
// Status is kept per Function Block and not for the full FPGA, to accomodate for future work on partial reconfiguration of the HW accelerator.
char globalFpgaStatus_gnc[] = FPGA_READY; char globalFpgaStatus_gnc[] = FPGA_READY;
// Print any output only at the end of the test run (using sprintf to array), to avoid the usual real time degradation of console prints.
#define NR_MODE_SWITCHES 40 #define NR_MODE_SWITCHES 40
char testLog[40 * NR_MODE_SWITCHES][100]; char testLog[40 * NR_MODE_SWITCHES][100];
int line = 0; int line = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment