Skip to content

Commit

Permalink
Fix spelling of separator
Browse files Browse the repository at this point in the history
  • Loading branch information
rswarbrick authored and nbdd0121 committed Nov 24, 2023
1 parent 508c4a2 commit e5dac43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dv/uvm/core_ibex/scripts/report_lib/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def parse_xcelium_cov_report(cov_report: str) -> Dict[str, Dict[str, Dict[str, i
metric_info.append((metric_info_match.group(1),
metric_info_match.group(2)))

# Skip header seperator line
# Skip header separator line
metrics_start_line = line_no + 2

if metrics_start_line == -1:
Expand Down
6 changes: 3 additions & 3 deletions dv/verilator/pcount/cpp/ibex_pcounts.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const std::vector<std::string> ibex_counter_names = {
"Divide Wait"};

std::string ibex_pcount_string(bool csv) {
char seperator = csv ? ',' : ':';
char separator = csv ? ',' : ':';
std::string::size_type longest_name_length;

if (!csv) {
Expand All @@ -42,14 +42,14 @@ std::string ibex_pcount_string(bool csv) {
longest_name_length = std::max(longest_name_length, counter_name.length());
}

// Add 1 to always get at least once space after the seperator
// Add 1 to always get at least once space after the separator
longest_name_length++;
}

std::stringstream pcount_ss;

for (int i = 0; i < ibex_counter_names.size(); ++i) {
pcount_ss << ibex_counter_names[i] << seperator;
pcount_ss << ibex_counter_names[i] << separator;

if (!csv) {
int padding = longest_name_length - ibex_counter_names[i].length();
Expand Down

0 comments on commit e5dac43

Please sign in to comment.