Skip to content

drcachesim/cache_simulator to support YAML-formatted configuration files #7710

@DmitrySPetrov

Description

@DmitrySPetrov

Currently self-written configuration file parser is used.
This format is very simple and is not convenient for big configuration files.
Suggestion: Use YAML format instead.

Pros:

  • YAML format is more clear and readable, both single-line and multi-line,
  • YAML format support various features like mappings and aliases which are useful to model real-world hardware, for instance, server multicore processors.

Cons:

  • Extra 3-rd party dependency,
  • API change.

Suggested implementation:

  • Use third-party libfyaml parser to read configuration files,
  • Mark current configuration file format as deprecated and suggest to use YAML-formatted configuration.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions