|
MatchLib
|
Macros for synthesizable and non-synthesizable assertions. More...
Macros | |
| #define | NVHLS_ASSERT(X) __NVHLS_ASSERT_SC(X) |
| #define | NVHLS_ASSERT(X) __NVHLS_ASSERT_SC(X) |
| #define | NVHLS_ASSERT_MSG(X, MSG) __NVHLS_ASSERT_SC(X && MSG) |
| #define | NVHLS_ASSERT_MSG(X, MSG) __NVHLS_ASSERT_SC(X && MSG) |
Macros for synthesizable and non-synthesizable assertions.
| #define NVHLS_ASSERT | ( | X | ) | __NVHLS_ASSERT_SC(X) |
Synthesizable assertion to check x. It will be synthesized by Catapult HLS tool to either sva or ovl assertions in RTL depending on HLS tool settings. If HLS_CATAPULT flag is not set, then assertions are enabled only in SystemC/C++ simulation and not synthesized to RTL.
Definition at line 79 of file nvhls_assert.h.
| #define NVHLS_ASSERT | ( | X | ) | __NVHLS_ASSERT_SC(X) |
Synthesizable assertion to check x. It will be synthesized by Catapult HLS tool to either sva or ovl assertions in RTL depending on HLS tool settings. If HLS_CATAPULT flag is not set, then assertions are enabled only in SystemC/C++ simulation and not synthesized to RTL.
Definition at line 79 of file nvhls_assert.h.
| #define NVHLS_ASSERT_MSG | ( | X, | |
| MSG | |||
| ) | __NVHLS_ASSERT_SC(X && MSG) |
Synthesizable assertion to check x and print msg if assertion fails. It will be synthesized by Catapult HLS tool to either psl or ovl assertions in RTL depending on HLS tool settings. If HLS_CATAPULT flag is not set, then assertions are enabled only in SystemC/C++ simulation and not synthesized to RTL.
Definition at line 159 of file nvhls_assert.h.
| #define NVHLS_ASSERT_MSG | ( | X, | |
| MSG | |||
| ) | __NVHLS_ASSERT_SC(X && MSG) |
Synthesizable assertion to check x and print msg if assertion fails. It will be synthesized by Catapult HLS tool to either psl or ovl assertions in RTL depending on HLS tool settings. If HLS_CATAPULT flag is not set, then assertions are enabled only in SystemC/C++ simulation and not synthesized to RTL.
Definition at line 159 of file nvhls_assert.h.