Skip to content

Handling extraneous commas (SystemVerilog) #163

@the-moog

Description

@the-moog

Existing code, which synthesises and simulates fine in Xilinx and Synopsys toolchains fails with hdlConverter.

The issue is extraneous commas in module parameter definitions and module instance signal connections.

This can be caused by `ifdefs removing parameters and are unused in a particular build.

e.g.
module X (input a, input b,); // Fails
module X (input a, input b); // Works

Similarly

X instX (.x(a), .y(b),); //Fails
X instX (.x(a), .y(b)); //Works

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