Guest
Kevin,
Lars is talking about the VUnit procedure check_relation and not anything in Bitvis. The reason it looks like it takes a boolean but can show a string message is that the code is pre-processed by a Python script rewriting the call. Such pre-processing is an optional feature that can be enabled in VUnit. As I mentioned in my previous reply to you, since VUnit is not just a VHDL library but a complete tool it could do things like preprocessing and code generation on the fly. Code generation of to_string and check_equal on all records within a package is something that we are thinking about doing to save redundant code. We are still exploring this area.
Lars is talking about the VUnit procedure check_relation and not anything in Bitvis. The reason it looks like it takes a boolean but can show a string message is that the code is pre-processed by a Python script rewriting the call. Such pre-processing is an optional feature that can be enabled in VUnit. As I mentioned in my previous reply to you, since VUnit is not just a VHDL library but a complete tool it could do things like preprocessing and code generation on the fly. Code generation of to_string and check_equal on all records within a package is something that we are thinking about doing to save redundant code. We are still exploring this area.