Only support Symbiotic EDA flavored Verific
authorClifford Wolf <clifford@clifford.at>
Sun, 2 Jun 2019 08:14:50 +0000 (10:14 +0200)
committerClifford Wolf <clifford@clifford.at>
Sun, 2 Jun 2019 08:14:50 +0000 (10:14 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
frontends/verific/verific.cc

index 33d2ac7a8d494d6c6cfe901640fc970426f6b8ae..2bf99e58e8628acfa2c3699cc2c3cc170cbf7b33 100644 (file)
@@ -48,6 +48,14 @@ USING_YOSYS_NAMESPACE
 #include "VhdlUnits.h"
 #include "VeriLibrary.h"
 
+#ifndef SYMBIOTIC_VERIFIC_API_VERSION
+#  error "Only Symbiotic EDA flavored Verific is supported. Please contact office@symbioticeda.com for commercial support for Yosys+Verific."
+#endif
+
+#if SYMBIOTIC_VERIFIC_API_VERSION < 1
+#  error "Please update your version of Symbiotic EDA flavored Verific."
+#endif
+
 #ifdef __clang__
 #pragma clang diagnostic pop
 #endif