Skip to content

Commit

Permalink
Merge branch 'parallaxsw:master' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
akashlevy authored Dec 20, 2024
2 parents 5acd298 + 96b7e08 commit 26fd6b9
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 26fd6b9

Please sign in to comment.