Skip to content

Add CONVFUNC_1 support #35

@ApexGP

Description

@ApexGP

See #31 (comment) .

Hi, @ldoolitt . I've managed to make a patch to deal with this issue. You can apply it and see how it goes.

By introducing wrap_sgn_expr(), now vhd2vl will parse conv_integer and to_integer with an $unsigned() or $signed identifier (disabled if implicit) like

assign u = $unsigned(s);
assign i = $signed(s);

If everything is going well, I'll create a PR.

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