AR# 11002: F3.1i - A syntax check on an ABEL file causes a Microsoft Visual C++ Runtime Library error.
F3.1i - A syntax check on an ABEL file causes a Microsoft Visual C++ Runtime Library error.
Keywords: ABEL, C++, Runtime, Microsoft, Visual
General Description: An ABEL file compiles and synthesizes without error in F2.1i on a Windows NT machine. If I check the syntax (ahdl2blf.exe) on the same ABEL file, it fails in F3.1i (on Windows NT) with the following Microsoft Visual C++ Runtime Library error:
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts
(Press Retry to debug the application - JIT must be enabled)
The message can be ignored, and ahdl2blf.exe will then state that the syntax check was successful; however, synthesizing the design causes the same error to occur again. If I ignore the error message again, synthesis errors out with no reports available.
This error is caused by having a single bit bus declared in the ABEL code.
in1 pin; inbus = [in1];
To avoid this error, the code can be re-written as:
in1 pin; inbus = in1;
The 4.1 software has been fixed to allow the single-bit bus notation.