[Discuss OpenCPI] ocpigen - tests.cxx - assert(attrs)

From: Dominic Walters <waltersdom_at_googlemail.com>
Date: Tue, 09 Feb 21 13:46:46 +0000

Hi,

I'm trying to build a test for a HDL Worker and I keep hitting a failed
assertion check in tools/ocpigen/src/tests.cxx.

The check is done on line 1383 of tools/ocpigen/src/tests.cxx ·
release-2.0.1 · OpenCPI / OpenCPI · GitLab
<https://gitlab.com/opencpi/opencpi/-/blob/release-2.0.1/tools/ocpigen/src/tests.cxx>
.

Any suggestions as to what I'm doing wrong? I can't really tell what
"attrs" is doing in that code.
To my knowledge:
 * I have set every property of the worker (either by using the default of
a parameter, by defining "value", or by defining "generate"). In cases.txt
every property has a value or a file it is generated in.
 * I am generating input for every port.
 * The worker is built for my simulation platform.

I have had this check fail in the past, but unfortunately I can't remember
how I fixed/avoided it.

Thanks.


Received on Tue Feb 09 2021 - 13:46:46 CST

This archive was generated by hypermail 2.3.0 : Fri Jun 05 2026 - 08:45:25 CDT