Commentary: Spelling (and grammar) fixes (#3846)

This commit is contained in:
Larry Doolittle 2023-01-08 15:17:24 -08:00 committed by GitHub
parent 520f6e5fdc
commit 2d6d1235d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
24 changed files with 27 additions and 27 deletions

View File

@ -69,7 +69,7 @@ elif [ "$CI_BUILD_STAGE_NAME" = "test" ]; then
if [ "$CI_OS_NAME" = "osx" ]; then if [ "$CI_OS_NAME" = "osx" ]; then
export VERILATOR_TEST_NO_GDB=1 # Pain to get GDB to work on OS X export VERILATOR_TEST_NO_GDB=1 # Pain to get GDB to work on OS X
# TODO below may no longer be requried as configure checks for -pg # TODO below may no longer be required as configure checks for -pg
export VERILATOR_TEST_NO_GPROF=1 # Apple Clang has no -pg export VERILATOR_TEST_NO_GPROF=1 # Apple Clang has no -pg
# export PATH="/Applications/gtkwave.app/Contents/Resources/bin:$PATH" # fst2vcd # export PATH="/Applications/gtkwave.app/Contents/Resources/bin:$PATH" # fst2vcd
file bin/verilator_bin file bin/verilator_bin
@ -85,7 +85,7 @@ elif [ "$CI_BUILD_STAGE_NAME" = "test" ]; then
"$MAKE" -j "$NPROC" -k "$MAKE" -j "$NPROC" -k
elif [ "$CI_OS_NAME" = "freebsd" ]; then elif [ "$CI_OS_NAME" = "freebsd" ]; then
export VERILATOR_TEST_NO_GDB=1 # Disable for now, ideally should run export VERILATOR_TEST_NO_GDB=1 # Disable for now, ideally should run
# TODO below may no longer be requried as configure checks for -pg # TODO below may no longer be required as configure checks for -pg
export VERILATOR_TEST_NO_GPROF=1 # gprof is a bit different on FreeBSD, disable export VERILATOR_TEST_NO_GPROF=1 # gprof is a bit different on FreeBSD, disable
fi fi

View File

@ -112,7 +112,7 @@ AC_MSG_CHECKING(whether to show and stop on compilation warnings)
AC_ARG_ENABLE([ccwarn], AC_ARG_ENABLE([ccwarn],
[AS_HELP_STRING([--enable-ccwarn], [AS_HELP_STRING([--enable-ccwarn],
[enable showing and stopping on compilation warnings [enable showing and stopping on compilation warnings
in Verilator binrary and Verilated makefiles])], in Verilator binary and Verilated makefiles])],
[case "${enableval}" in [case "${enableval}" in
yes) CFG_WITH_CCWARN=yes ;; yes) CFG_WITH_CCWARN=yes ;;
no) CFG_WITH_CCWARN=no ;; no) CFG_WITH_CCWARN=no ;;
@ -351,7 +351,7 @@ AC_SUBST(CFG_CXXFLAGS_PROFILE)
# Currently enable c++17/c++14 due to packaged SystemC dependency # Currently enable c++17/c++14 due to packaged SystemC dependency
# c++17 is the newest that Verilator is regularly tested to support # c++17 is the newest that Verilator is regularly tested to support
# c++11 is the oldest that Verilator supports # c++11 is the oldest that Verilator supports
# gnu is requried for Cygwin to compile verilated.h successfully # gnu is required for Cygwin to compile verilated.h successfully
#_MY_CXX_CHECK_SET(CFG_CXXFLAGS_STD_NEWEST,-std=gnu++20) #_MY_CXX_CHECK_SET(CFG_CXXFLAGS_STD_NEWEST,-std=gnu++20)
#_MY_CXX_CHECK_SET(CFG_CXXFLAGS_STD_NEWEST,-std=c++20) #_MY_CXX_CHECK_SET(CFG_CXXFLAGS_STD_NEWEST,-std=c++20)
case "$(which lsb_release 2>&1 > /dev/null && lsb_release -d)" in case "$(which lsb_release 2>&1 > /dev/null && lsb_release -d)" in

View File

@ -10,7 +10,7 @@
###################################################################### ######################################################################
# Run all steps needed to configure and start fuzzer # Run all steps needed to configure and start fuzzer
# Note that this assumes the system is a Debian-like Linux distrubution # Note that this assumes the system is a Debian-like Linux distribution
set -e set -e

View File

@ -10,7 +10,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(linter => 1); scenarios(linter => 1);
# Comple time only test # Compile time only test
lint( lint(
fails => 1, fails => 1,

View File

@ -94,7 +94,7 @@ sub _has_tabs {
if ($filename =~ /\.out$/) { if ($filename =~ /\.out$/) {
# Ignore golden files # Ignore golden files
} elsif ($contents =~ /[\001\002\003\004\005\006]/) { } elsif ($contents =~ /[\001\002\003\004\005\006]/) {
# Ignore binrary files # Ignore binary files
} elsif ($contents =~ /\t/) { } elsif ($contents =~ /\t/) {
return 1; return 1;
} }

View File

@ -49,7 +49,7 @@ sub _has_tabs {
if ($filename =~ /\.out$/) { if ($filename =~ /\.out$/) {
# Ignore golden files # Ignore golden files
} elsif ($contents =~ /[\001\002\003\004\005\006]/) { } elsif ($contents =~ /[\001\002\003\004\005\006]/) {
# Ignore binrary files # Ignore binary files
} elsif ($contents =~ /\t/) { } elsif ($contents =~ /\t/) {
return 1; return 1;
} }

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(vlt_all => 1); scenarios(vlt_all => 1);
while (1) { while (1) {
# Thi rule requires GNU make > 4.1 (or so, known broken in 3.81) # This rule requires GNU make > 4.1 (or so, known broken in 3.81)
#%__Slow.o: %__Slow.cpp #%__Slow.o: %__Slow.cpp
# $(OBJCACHE) $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(OPT_SLOW) -c -o $@ $< # $(OBJCACHE) $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(OPT_SLOW) -c -o $@ $<
if (make_version() < 4.1) { if (make_version() < 4.1) {

View File

@ -13,7 +13,7 @@ scenarios(vlt_all => 1);
top_filename("t/t_flag_csplit.v"); top_filename("t/t_flag_csplit.v");
while (1) { while (1) {
# Thi rule requires GNU make > 4.1 (or so, known broken in 3.81) # This rule requires GNU make > 4.1 (or so, known broken in 3.81)
#%__Slow.o: %__Slow.cpp #%__Slow.o: %__Slow.cpp
# $(OBJCACHE) $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(OPT_SLOW) -c -o $@ $< # $(OBJCACHE) $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(OPT_SLOW) -c -o $@ $<
if (make_version() < 4.1) { if (make_version() < 4.1) {

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1); scenarios(simulator => 1);
compile( compile(
# For Verilator, all PARAMs at all levels are overwridden # For Verilator, all PARAMs at all levels are overridden
# Error if parameter not found # Error if parameter not found
#verilator_flags2 => ['-GPARAM=10 -Gtop.t.x.HIER=20'], # HIER would error #verilator_flags2 => ['-GPARAM=10 -Gtop.t.x.HIER=20'], # HIER would error
verilator_flags2 => ['-GPARAM=10'], verilator_flags2 => ['-GPARAM=10'],

View File

@ -14,7 +14,7 @@ scenarios(vlt_all => 1);
# CI environment offers 2 VCPUs, 2 thread setting causes the following warning. # CI environment offers 2 VCPUs, 2 thread setting causes the following warning.
# %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads. # %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads.
# So use 6 threads here though it's not optimal in performace wise, but ok. # So use 6 threads here though it's not optimal in performance, but ok.
compile( compile(
v_flags2 => ['t/t_hier_block.cpp'], v_flags2 => ['t/t_hier_block.cpp'],

View File

@ -7,7 +7,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
# Lesser General Public License Version 3 or the Perl Artistic License # Lesser General Public License Version 3 or the Perl Artistic License
# Version 2.0. # Version 2.0.
# If a test fails, broken .cmake may distrub the next run # If a test fails, broken .cmake may disturb the next run
clean_objs(); clean_objs();
scenarios(simulator => 1); scenarios(simulator => 1);

View File

@ -7,7 +7,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
# Lesser General Public License Version 3 or the Perl Artistic License # Lesser General Public License Version 3 or the Perl Artistic License
# Version 2.0. # Version 2.0.
# This test makes sure that the intenral check of t_hier_block.v is correct. # This test makes sure that the internal check of t_hier_block.v is correct.
# --hierarchical option is not set intentionally. # --hierarchical option is not set intentionally.
# stats will be deleted but generation will be skipped if libs of hierarchical blocks exist. # stats will be deleted but generation will be skipped if libs of hierarchical blocks exist.
@ -18,7 +18,7 @@ top_filename("t/t_hier_block.v");
# CI environment offers 2 VCPUs, 2 thread setting causes the following warning. # CI environment offers 2 VCPUs, 2 thread setting causes the following warning.
# %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads. # %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads.
# So use 6 threads here though it's not optimal in performace wise, but ok. # So use 6 threads here though it's not optimal in performance, but ok.
compile( compile(
v_flags2 => ['t/t_hier_block.cpp'], v_flags2 => ['t/t_hier_block.cpp'],
verilator_flags2 => ['--stats', verilator_flags2 => ['--stats',

View File

@ -14,7 +14,7 @@ top_filename("t/t_hier_block.v");
# CI environment offers 2 VCPUs, 2 thread setting causes the following warning. # CI environment offers 2 VCPUs, 2 thread setting causes the following warning.
# %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads. # %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads.
# So use 6 threads here though it's not optimal in performace wise, but ok. # So use 6 threads here though it's not optimal in performance, but ok.
scenarios(vlt_all => 1); scenarios(vlt_all => 1);
compile( compile(

View File

@ -14,7 +14,7 @@ top_filename("t/t_hier_block.v");
# CI environment offers 2 VCPUs, 2 thread setting causes the following warning. # CI environment offers 2 VCPUs, 2 thread setting causes the following warning.
# %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads. # %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads.
# So use 6 threads here though it's not optimal in performace wise, but ok. # So use 6 threads here though it's not optimal in performance, but ok.
scenarios(vlt_all => 1); scenarios(vlt_all => 1);
compile( compile(

View File

@ -14,7 +14,7 @@ top_filename("t/t_hier_block.v");
# CI environment offers 2 VCPUs, 2 thread setting causes the following warning. # CI environment offers 2 VCPUs, 2 thread setting causes the following warning.
# %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads. # %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads.
# So use 6 threads here though it's not optimal in performace wise, but ok. # So use 6 threads here though it's not optimal in performance, but ok.
scenarios(vlt_all => 1); scenarios(vlt_all => 1);
compile( compile(

View File

@ -13,7 +13,7 @@ top_filename("t/t_hier_block.v");
# CI environment offers 2 VCPUs, 2 thread setting causes the following warning. # CI environment offers 2 VCPUs, 2 thread setting causes the following warning.
# %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads. # %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads.
# So use 6 threads here though it's not optimal in performace wise, but ok. # So use 6 threads here though it's not optimal in performance, but ok.
compile( compile(
v_flags2 => ['t/t_hier_block.cpp'], v_flags2 => ['t/t_hier_block.cpp'],

View File

@ -13,7 +13,7 @@ top_filename("t/t_hier_block.v");
# CI environment offers 2 VCPUs, 2 thread setting causes the following warning. # CI environment offers 2 VCPUs, 2 thread setting causes the following warning.
# %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads. # %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads.
# So use 6 threads here though it's not optimal in performace wise, but ok. # So use 6 threads here though it's not optimal in performance, but ok.
compile( compile(
v_flags2 => ['t/t_hier_block.cpp'], v_flags2 => ['t/t_hier_block.cpp'],

View File

@ -15,7 +15,7 @@ top_filename("t/t_hier_block.v");
# CI environment offers 2 VCPUs, 2 thread setting causes the following warning. # CI environment offers 2 VCPUs, 2 thread setting causes the following warning.
# %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads. # %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads.
# So use 6 threads here though it's not optimal in performace wise, but ok. # So use 6 threads here though it's not optimal in performance, but ok.
compile( compile(
v_flags2 => ['t/t_hier_block.cpp'], v_flags2 => ['t/t_hier_block.cpp'],
verilator_flags2 => ['--stats', verilator_flags2 => ['--stats',

View File

@ -3,7 +3,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
# DESCRIPTION: Verilator: Verilog Test driver/expect definition # DESCRIPTION: Verilator: Verilog Test driver/expect definition
# #
# Copyright 2017 by Todd Strader. This program is free software; you # Copyright 2017 by Todd Strader. This program is free software; you
# can predistribute it and/or modify it under the terms of either the GNU # can redistribute it and/or modify it under the terms of either the GNU
# Lesser General Public License Version 3 or the Perl Artistic License # Lesser General Public License Version 3 or the Perl Artistic License
# Version 2.0. # Version 2.0.
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 # SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0

View File

@ -29,7 +29,7 @@ execute(
file_grep("$Self->{obj_dir}/profile.vlt", qr/profile_data/i); file_grep("$Self->{obj_dir}/profile.vlt", qr/profile_data/i);
compile( compile(
# Intentinally no --prof-pgo here to make sure profile data can be read in # Intentionally no --prof-pgo here to make sure profile data can be read in
# without it (that is: --prof-pgo has no effect on profile_data hash names) # without it (that is: --prof-pgo has no effect on profile_data hash names)
v_flags2 => [" $Self->{obj_dir}/profile.vlt"], v_flags2 => [" $Self->{obj_dir}/profile.vlt"],
threads => 2 threads => 2

View File

@ -10,7 +10,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(vlt_all => 1); scenarios(vlt_all => 1);
# TODO below might no longer be requried as configure checks for -pg # TODO below might no longer be required as configure checks for -pg
if ($ENV{VERILATOR_TEST_NO_GPROF}) { if ($ENV{VERILATOR_TEST_NO_GPROF}) {
skip("Skipping due to VERILATOR_TEST_NO_GPROF"); skip("Skipping due to VERILATOR_TEST_NO_GPROF");
} else { } else {

View File

@ -12,7 +12,7 @@ scenarios(simulator => 1);
# CI environment offers 2 VCPUs, 2 thread setting causes the following warning. # CI environment offers 2 VCPUs, 2 thread setting causes the following warning.
# %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads. # %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads.
# So use 6 threads here though it's not optimal in performace wise, but ok. # So use 6 threads here though it's not optimal in performance, but ok.
compile( compile(
verilator_flags2 => ['--stats', "$Self->{t_dir}/t_split_var_0.vlt"], verilator_flags2 => ['--stats', "$Self->{t_dir}/t_split_var_0.vlt"],
threads => $Self->{vltmt} ? 6 : 1 threads => $Self->{vltmt} ? 6 : 1

View File

@ -13,7 +13,7 @@ top_filename("t/t_split_var_0.v");
# CI environment offers 2 VCPUs, 2 thread setting causes the following warning. # CI environment offers 2 VCPUs, 2 thread setting causes the following warning.
# %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads. # %Warning-UNOPTTHREADS: Thread scheduler is unable to provide requested parallelism; consider asking for fewer threads.
# So use 6 threads here though it's not optimal in performace wise, but ok. # So use 6 threads here though it's not optimal in performance, but ok.
compile( compile(
verilator_flags2 => ['--cc --trace --stats +define+TEST_ATTRIBUTES'], verilator_flags2 => ['--cc --trace --stats +define+TEST_ATTRIBUTES'],
threads => $Self->{vltmt} ? 6 : 1 threads => $Self->{vltmt} ? 6 : 1

View File

@ -13,7 +13,7 @@ scenarios(simulator => 1);
compile( compile(
); );
# No exeecution # No execution
ok(1); ok(1);
1; 1;