Skip to content

Commit 16fdbd1

Browse files
task: fix typos (#624)
relates to #623
1 parent 2b22350 commit 16fdbd1

File tree

24 files changed

+34
-34
lines changed

24 files changed

+34
-34
lines changed

arch/isa/globals.isa

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2844,7 +2844,7 @@ function amo {
28442844
returns Bits<N>
28452845
arguments
28462846
XReg virtual_address, # the virtual address to load from/store to
2847-
Bits<N> value, # the value for the second hald of the atomic operation
2847+
Bits<N> value, # the value for the second half of the atomic operation
28482848
AmoOperation op, # atomic operation to apply
28492849
Bits<1> aq, # acquire semantics? 0=no, 1=yes
28502850
Bits<1> rl, # release semantics? 0=no, 1=yes

arch/profile/RVB23U64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ extensions:
3939
presence: mandatory
4040
version: "~>1.0"
4141
note: |
42-
Commpressed (16-bit) may-be operations
42+
Compressed (16-bit) may-be operations
4343
Zcb:
4444
presence: mandatory
4545
version: "~>1.0"

backends/certificate_doc/templates/certificate.adoc.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ with the RVI TSC (Technical Steering Committee) organization who creates RISC-V
7171

7272
The CRDs refer to and augment information provided in existing ratified RVI standards.
7373

74-
There are a variety of certificates offered by RVI to accomodate the various RVI standards.
74+
There are a variety of certificates offered by RVI to accommodate the various RVI standards.
7575
There are certificates for processors, non-processor system IP (e.g., IOMMU),
7676
and system platforms (processor + system IP) hardware standards.
77-
There are multiple classes of processor certificates available to accomodate the wide range of
77+
There are multiple classes of processor certificates available to accommodate the wide range of
7878
RISC-V implementations from basic microcontrollers to advanced Applications-class processors.
7979

8080
Each CRD has a list of mandatory behaviors along with a list of optional behaviors.
@@ -152,7 +152,7 @@ Where:
152152
* <model> is 3-digit integer defined as follows:
153153
** The hundreds's digit indicates the series
154154
** The ten's digit identifies large differences in mandatory extensions (e.g., V, H) within the series
155-
** The one's digit indentifies small/medium differences in mandatory extensions (e.g., Zicond, PMP) within the series
155+
** The one's digit identifies small/medium differences in mandatory extensions (e.g., Zicond, PMP) within the series
156156
* <base> is optional and is 32 for RV32I, 64 for RV64I, and 32E for RV32E
157157
** If a CRD supports multiple bases and <base> is omitted in a reference, it applies to all supported bases
158158
** If a CRD only supports one base then <base> is generally omitted

backends/cpp_hart_gen/cpp/include/udb/bits.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ namespace udb {
258258
// exactly fits in a native type, so just cast it
259259
return static_cast<SignedStorageType>(unsigned_value);
260260
} else {
261-
// we have a native type, but some bits are unsed. need to sign extend
261+
// we have a native type, but some bits are unused. need to sign extend
262262
// the storage to the native width
263263
return static_cast<SignedStorageType>(sign_extend(unsigned_value));
264264
}

backends/cpp_hart_gen/cpp/include/udb/csr.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ namespace udb {
4141
const unsigned& xlen) = 0;
4242

4343
// write the field, applying any restrictions first
44-
// given teh effective xlen
44+
// given the effective xlen
4545
// virtual void sw_write(const uint64_t& field_write_value,
4646
// const unsigned& xlen) = 0;
4747

@@ -113,7 +113,7 @@ namespace udb {
113113
// no checks or transformations are applied
114114
virtual void hw_write(const uint64_t& value, const unsigned& xlen) = 0;
115115

116-
// cant this CSR be implemented when ext is not?
116+
// can't this CSR be implemented when ext is not?
117117
virtual bool implemented_without_Q_(const ExtensionName&) const = 0;
118118
};
119119
} // namespace udb

backends/cpp_hart_gen/cpp/include/udb/defines.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include <version>
77

88
// type to be used when you want to pass a string literal as a template
9-
// arugment
9+
// argument
1010
template <size_t N = 0>
1111
struct TemplateString {
1212
constexpr TemplateString(const char (&str)[N]) : size(N) {

backends/cpp_hart_gen/cpp/include/udb/version.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ namespace udb {
145145
OpKind m_kind;
146146
};
147147

148-
// default requiremnt is >= 0
148+
// default requirement is >= 0
149149
VersionRequirement() : m_op(OpKind::GTE), m_version(0, 0, 0, false) {}
150150

151151
constexpr VersionRequirement(const std::string_view& req)

backends/cpp_hart_gen/cpp/src/libhart_renode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct RenodeSocModel {
2424
uint64_t read_mcycle() { return 0; }
2525
uint64_t read_mtime() { return 0; }
2626

27-
// returns new value of mcycle (coudl be different than new_value)
27+
// returns new value of mcycle (could be different than new_value)
2828
uint64_t sw_write_mcycle(uint64_t new_value) { return 0; }
2929

3030
void cache_block_zero(uint64_t paddr) {}

backends/cpp_hart_gen/cpp/test/test_bits.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,22 +115,22 @@ TEST_CASE("Inversion", "[bits]") {
115115
REQUIRE((~Bits<129>(5)).get() == 0x1fffffffffffffffffffffffffffffffa_mpz);
116116
REQUIRE((~Bits<129>(5)).get<int64_t>() < 0);
117117
}
118-
TEST_CASE("64-bit Assignement", "[bits]") {
118+
TEST_CASE("64-bit Assignment", "[bits]") {
119119
Bits<64> a{5};
120120
Bits<64> b;
121121
b = a;
122122
REQUIRE(a.get() == b.get());
123123
REQUIRE(a.get() == 5);
124124
}
125-
TEST_CASE("65-bit Assignement", "[bits]") {
125+
TEST_CASE("65-bit Assignment", "[bits]") {
126126
Bits<65> a{5};
127127
Bits<65> b;
128128
b = a;
129129
REQUIRE(a.get() == b.get());
130130
REQUIRE(a.get() == 5);
131131
}
132132

133-
TEST_CASE("129-bit Assignement", "[bits]") {
133+
TEST_CASE("129-bit Assignment", "[bits]") {
134134
Bits<129> a{5};
135135
Bits<129> b;
136136
b = a;

backends/cpp_hart_gen/cpp/test/test_version.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ TEST_CASE("version ordering", "[version]") {
4747
REQUIRE(v2 >= v1);
4848
}
4949

50-
TEST_CASE("version ordering iwth pre", "[version]") {
50+
TEST_CASE("version ordering with pre", "[version]") {
5151
Version v1("2.1.3-pre"sv);
5252
Version v2("2.1.3"sv);
5353

0 commit comments

Comments
 (0)