1 /* 2 * Copyright (c) 2018, Xilinx Inc. and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 /* 8 * @file assert.h 9 * @brief Assertion support. 10 */ 11 12 #ifndef __METAL_ASSERT__H__ 13 #define __METAL_ASSERT__H__ 14 15 #include <metal/system/@PROJECT_SYSTEM@/assert.h> 16 17 /** 18 * @brief Assertion macro. 19 * @param cond Condition to test. 20 */ 21 #define metal_assert(cond) metal_sys_assert(cond) 22 23 #endif /* __METAL_ASSERT_H__ */ 24 25