Skip to content

Delays incorrectly printed on output to verilog #82

Open
@jandreasen3

Description

@jandreasen3

Missing '#' needs to be added to AST code generator templates that include ldelay and rdelay.
Bug produces verilog code that cannot be compiled and run.

        modified:   blockingsubstitution.txt
        modified:   nonblockingsubstitution.txt
        modified:   substitution.txt

For example,
{% if ldelay != '' %}{{ ldelay }} {% endif %}{{ left }} <= {% if rdelay != '' %}{{ rdelay }} {% endif %}{{ right }};
should change to
{% if ldelay != '' %}#{{ ldelay }} {% endif %}{{ left }} <= {% if rdelay != '' %}#{{ rdelay }} {% endif %}{{ right }};

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions