diff options
author | David Shah <davey1576@gmail.com> | 2018-07-19 13:22:46 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-07-19 13:22:46 +0200 |
commit | 6c38df7295747ddd37a751ea5de2a73e95a021d1 (patch) | |
tree | b2087ea985ac3af13df594ae51b0b26db6783e97 /common/nextpnr.h | |
parent | 0cb9ec0757c635982e0bd64f3e314786762c7483 (diff) | |
download | nextpnr-6c38df7295747ddd37a751ea5de2a73e95a021d1.tar.gz nextpnr-6c38df7295747ddd37a751ea5de2a73e95a021d1.tar.bz2 nextpnr-6c38df7295747ddd37a751ea5de2a73e95a021d1.zip |
ice40: Adding cell definition for DSPs
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'common/nextpnr.h')
-rw-r--r-- | common/nextpnr.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h index 7aadfae4..bc64adb5 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -84,9 +84,8 @@ inline bool assert_fail_impl_str(std::string message, const char *expr_str, cons throw assertion_failure(message, expr_str, filename, line); } - #define NPNR_ASSERT(cond) ((void)((cond) || (assert_fail_impl(#cond, #cond, __FILE__, __LINE__)))) -#define NPNR_ASSERT_MSG(cond, msg) ((void)((cond) || (assert_fail_impl(msg, #cond, __FILE__, __LINE__)))) +#define NPNR_ASSERT_MSG(cond, msg) ((void)((cond) || (assert_fail_impl(msg, #cond, __FILE__, __LINE__)))) #define NPNR_ASSERT_FALSE(msg) (assert_fail_impl(msg, "false", __FILE__, __LINE__)) #define NPNR_ASSERT_FALSE_STR(msg) (assert_fail_impl_str(msg, "false", __FILE__, __LINE__)) |