-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
15 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ | |
// const int sf_score_width = 10 + std::ceil(std::log2(MAX_REFERENCE_LENGTH)); | ||
|
||
typedef ap_uint<8> char_t; // Sequence Alphabet | ||
typedef ap_uint<32> type_t; // FIXME | ||
typedef ap_uint<64> type_t; // FIXME | ||
typedef short idx_t; // Indexing Type, could be much less than 32. ap_uint<8> | ||
typedef ap_uint<2> tbp_t; // Traceback Pointer Type | ||
|
||
|
@@ -49,11 +49,11 @@ typedef ap_uint<2> tbp_t; // Traceback Pointer Type | |
|
||
// Define Zero Value | ||
#define zero_fp ((type_t)0) | ||
#define ZERO_CHAR (char_t({0,0})) | ||
#define ZERO_CHAR (char_t(0)) | ||
|
||
// Defien upper and lower bound for score type, aka type_t | ||
#define INF 16777216 | ||
#define NINF -16777216 | ||
#define NINF 0 // Because all the scores are non-negative, it make sense only if the NINF is 0. Assign negative score here result in underflow for type_t and incorrect alignment score. | ||
|
||
// Legacy Debugger Configuration | ||
#define DEBUG_OUTPUT_PATH "/home/[email protected]/DP-HLS-Debug/global_affine/" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters