Skip to content

Assertion failed when translating safe/Arbiter/main.v #6

@nianzelee

Description

@nianzelee

Hello,

I ran into an assertion failure when I tried to translate the file safe/Arbiter/main.v by the following command:

./v2c-bin/v2c verilog-c/safe/Arbiter/main.v --module main main.c

The error is:

v2c: /users/rajdeep/cbmc/trunk/src/util/std_expr.h:206: symbol_exprt& to_symbol_expr(exprt&): Assertion `expr.id()==dstring(57, 0) && !expr.has_operands()' failed.
Aborted (core dumped)

I downloaded v2c (version 0.1, accessed 2022-09-05) from this website and the input Verilog file is at commit 0b46ae0. My OS is Ubuntu 20.04.

Could you please let me know how to obtain the translated C file safe/Arbiter/main.c?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions