Skip to content

Rtl_iofile ioformat doesn't propagate to Verilog test bench #96

Description

@tjomiv

Creating a new instance of rtl_iofile and setting the parameter ioformat to some value doesn't correctly propagate to the generated Verilog test bench.

E.g., setting the ioformat to %b

_ = rtl_iofile(self, name, ..., ioformat = '%b')

should cause the given ioformat to propagate to function rtl_io() in https://github.com/TheSystemDevelopmentKit/rtl/blob/master/rtl/sv/verilog_iofile.py, which generates the file IO operations in the Verilog test bench. Currently the default value %d is used for every file read, which causes issues with some data types.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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