Skip to content

Drop the fallback to directly processing YAML files in loading exception codes if there is no resolved codes file. #1145

@AliAlaa88

Description

@AliAlaa88

Describe the bug
Fallback to directly processing YAML files in loading exception codes if there is no resolved codes file produces invalid code.

To Reproduce
Steps to reproduce the behavior:

  1. On Branch 'Ali/Sverilog'
  2. Remove the --resolved-codes from the sh in the sverilog task in the Tasks.rake file
  3. Run do gen:sverilog

Text output/Error Messages
This is an example of output error in the generated .svh

  localparam logic [5:0] CAUSE_ENVIRONMENT_CALL_FROM_<%__IF_EXT?(:H)__%>V<%__END__%>U_MODE = 6'h08;
  localparam logic [5:0] CAUSE_ENVIRONMENT_CALL_FROM_<%__IF_EXT?(:H)__%>H<%__END__%>S_MODE = 6'h09;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions