Skip to content

Commit

Permalink
Merge branch 'parallaxsw:master' into sidebranch
Browse files Browse the repository at this point in the history
  • Loading branch information
akashlevy authored Dec 20, 2024
2 parents a761521 + 96b7e08 commit a226f03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/VerilogNamespace.cc
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ verilogToSta(const char *verilog_name)
// Ignore leading '\'.
verilog_name = &verilog_name[1];
size_t verilog_name_length = strlen(verilog_name);
if (verilog_name[verilog_name_length - 1] == ' ')
if (isspace(verilog_name[verilog_name_length - 1]))
verilog_name_length--;
string sta_name;
for (size_t i = 0; i < verilog_name_length; i++) {
Expand Down

0 comments on commit a226f03

Please sign in to comment.