Thanks to visit codestin.com
Credit goes to github.com

Skip to content

More netlisting validity checks #82

@dan-fritchman

Description

@dan-fritchman

Driving (hypothetical) example: if you have, say, a Module whose name is "" (the empty string)... that's not gonna work.
(OK that's dan-fritchman/Hdl21#176.)

There is some art to be applied regarding where to paper-over these problems versus have them produce errors. Current examples include:

  • Characters we think will be illegal, e.g. in a Module named M(params) are generally replaced with underscores (M_params_).
  • Everything else (I think?) goes through unmodified.

I'm not sure exactly what the right line is.
But at minimum, don't output the known-invalid stuff as though it's valid netlist-text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions