DP-HLS
|
Declaration of types used by DP-HLS internally, referred from the user defined params.h file. More...
#include "params.h"
Go to the source code of this file.
Classes | |
struct | ScorePack |
A structure to hold score and index information. More... | |
Macros | |
#define | RECTANGULAR 0 |
#define | FIXED 1 |
#define | CK_NUM (MAX_QUERY_LENGTH / PE_NUM) |
Defines the number of chunks (CK) based on the maximum query length and the number of processing elements. More... | |
#define | AL_END (tbr_t) 0b000 |
#define | AL_INS (tbr_t) 0b001 |
#define | AL_MMI (tbr_t) 0b010 |
#define | AL_DEL (tbr_t) 0b011 |
#define | AL_NULL (tbr_t) 0b100 |
Typedefs | |
typedef hls::vector< type_t, N_LAYERS > | score_vec_t |
Vector of scores, used to store the scores of each layer in the same coordiante in the DP matrix. More... | |
typedef score_vec_t | init_col_score_block_t [MAX_QUERY_LENGTH] |
typedef score_vec_t | init_row_score_block_t [MAX_REFERENCE_LENGTH] |
typedef score_vec_t | wavefront_scores_t [PE_NUM] |
typedef score_vec_t | wavefront_scores_inf_t [PE_NUM+1] |
typedef score_vec_t | dp_mem_block_t [PE_NUM+1][2] |
typedef score_vec_t | chunk_col_scores_inf_t [PE_NUM+1] |
typedef hls::vector< idx_t, PE_NUM > | idx_vec_t |
typedef tbp_t | tbp_vec_t [PE_NUM] |
typedef char_t | input_char_block_t [PE_NUM] |
typedef ap_uint< 3 > | tbr_t |
typedef tbr_t | traceback_buf_t [MAX_QUERY_LENGTH+MAX_REFERENCE_LENGTH] |
Variables | |
const int | PRAGMA_PE_NUM = PE_NUM |
Number of processing elements, defined for use in pragma derivatives. More... | |
const int | PRAGMA_N_BLOCKS = N_BLOCKS |
Number of blocks, defined for use in pragma derivatives. More... | |
Declaration of types used by DP-HLS internally, referred from the user defined params.h file.
#define AL_DEL (tbr_t) 0b011 |
#define AL_END (tbr_t) 0b000 |
#define AL_INS (tbr_t) 0b001 |
#define AL_MMI (tbr_t) 0b010 |
#define AL_NULL (tbr_t) 0b100 |
#define CK_NUM (MAX_QUERY_LENGTH / PE_NUM) |
Defines the number of chunks (CK) based on the maximum query length and the number of processing elements.
#define FIXED 1 |
#define RECTANGULAR 0 |
typedef score_vec_t chunk_col_scores_inf_t[PE_NUM+1] |
typedef score_vec_t dp_mem_block_t[PE_NUM+1][2] |
typedef hls::vector<idx_t, PE_NUM> idx_vec_t |
typedef score_vec_t init_col_score_block_t[MAX_QUERY_LENGTH] |
typedef score_vec_t init_row_score_block_t[MAX_REFERENCE_LENGTH] |
typedef char_t input_char_block_t[PE_NUM] |
Vector of scores, used to store the scores of each layer in the same coordiante in the DP matrix.
typedef tbp_t tbp_vec_t[PE_NUM] |
typedef ap_uint<3> tbr_t |
typedef tbr_t traceback_buf_t[MAX_QUERY_LENGTH+MAX_REFERENCE_LENGTH] |
typedef score_vec_t wavefront_scores_inf_t[PE_NUM+1] |
typedef score_vec_t wavefront_scores_t[PE_NUM] |
PRAGMA_N_BLOCKS = N_BLOCKS |
Number of blocks, defined for use in pragma derivatives.
PRAGMA_PE_NUM = PE_NUM |
Number of processing elements, defined for use in pragma derivatives.