Skip to content

Commit

Permalink
Issue a warning instead of a syntax error for blif delay constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
Coloquinte committed Jan 23, 2024
1 parent ddfd867 commit c634d59
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions frontends/blif/blifparse.cc
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,16 @@ void parse_blif(RTLIL::Design *design, std::istream &f, IdString dff_name, bool
continue;
}

if (!strcmp(cmd, ".area") || !strcmp(cmd, ".delay") || !strcmp(cmd, ".wire_load_slope") || !strcmp(cmd, ".wire") ||
!strcmp(cmd, ".input_arrival") || !strcmp(cmd, ".default_input_arrival") || !strcmp(cmd, ".output_required") ||
!strcmp(cmd, ".default_output_required") || !strcmp(cmd, ".input_drive") || !strcmp(cmd, ".default_input_drive") ||
!strcmp(cmd, ".max_input_load") || !strcmp(cmd, ".default_max_input_load") || !strcmp(cmd, ".output_load") ||
!strcmp(cmd, ".default_output_load"))
{
log_warning("Blif delay constraints (%s) are not supported.", cmd);
continue;
}

if (!strcmp(cmd, ".inputs") || !strcmp(cmd, ".outputs"))
{
char *p;
Expand Down

0 comments on commit c634d59

Please sign in to comment.