Skip to content

Enum names not saved in the vcd #1283

@ArcSpecter

Description

@ArcSpecter

For some tpical enums used for FSMs looking like:
localparam integer XBAR_W_FSM_STATES = 7; typedef enum logic [$clog2( XBAR_W_FSM_STATES )-1:0] { S_IDLE, S_QUEUE_WAIT, S_QUEUE_READ, S_REQ_WAIT, S_WRITE, S_BRESP } xbar_state_t;
The vcd does not contain the enum names for states, one has to do manual mapping with text files, its doable but painful during the development when you change/add states.

So is it the way it supposed to work or will it be fixed? I heard verilator does export enum names, so I wonder if iverilog would be planned to do same.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions