diff --git a/elab_expr.cc b/elab_expr.cc index be49e5c18..f26b3354e 100644 --- a/elab_expr.cc +++ b/elab_expr.cc @@ -4723,8 +4723,8 @@ NetExpr* PENewClass::elaborate_expr_constructor_(Design*des, NetScope*scope, NetExpr*obj, unsigned /*flags*/) const { // If there is an initializer function, then pass the object - // through that function first. Note tha the initializer - // function has no arguments other then the object itself. + // through that function first. Note that the initializer + // function has no arguments other than the object itself. if (NetScope*new1_scope = ctype->method_from_name(perm_string::literal("new@"))) { NetFuncDef*def1 = new1_scope->func_def(); ivl_assert(*this, def1); @@ -4866,7 +4866,7 @@ NetExpr* PENewCopy::elaborate_expr(Design*des, NetScope*scope, ivl_type_t obj_ty /* * A "null" expression represents class objects/handles. This brings - * up a ton of special cases, but we handle it here bu setting the + * up a ton of special cases, but we handle it here by setting the * expr_type_ and expr_width_ to fixed values. */ unsigned PENull::test_width(Design*, NetScope*, width_mode_t&) diff --git a/elab_sig.cc b/elab_sig.cc index 1b5c90f7a..4b8b0ec36 100644 --- a/elab_sig.cc +++ b/elab_sig.cc @@ -1260,7 +1260,7 @@ NetNet* PWire::elaborate_sig(Design*des, NetScope*scope) const // The trick here is that the parray type has an // arbitrary sub-type, and not just a scalar bit... netparray_t*use_type = elaborate_parray_type(des, scope, parray_type); - // Should not be getting packed dimensions other then + // Should not be getting packed dimensions other than // through the parray type declaration. ivl_assert(*this, packed_dimensions.empty()); diff --git a/elab_type.cc b/elab_type.cc index f1152e84a..c4c97eaa7 100644 --- a/elab_type.cc +++ b/elab_type.cc @@ -83,7 +83,7 @@ ivl_type_s* class_type_t::elaborate_type_raw(Design*, NetScope*scope) const /* * elaborate_type_raw for enumerations is actually mostly performed * during scope elaboration so that the enumeration literals are - * available at the right time. At tha time, the netenum_t* object is + * available at the right time. At that time, the netenum_t* object is * stashed in the scope so that I can retrieve it here. */ ivl_type_s* enum_type_t::elaborate_type_raw(Design*des, NetScope*scope) const diff --git a/elaborate.cc b/elaborate.cc index e4cbca214..ffd497a03 100644 --- a/elaborate.cc +++ b/elaborate.cc @@ -3051,7 +3051,7 @@ NetProc* PChainConstructor::elaborate(Design*des, NetScope*scope) const NetNet*var_this = scope->find_signal(perm_string::literal("@")); // If super.new is an implicit constructor, then there are no - // arguments (other then "this" to worry about, so make a + // arguments (other than "this" to worry about, so make a // NetEUFunc and there we go. if (NetScope*new_scope = class_super->method_from_name(perm_string::literal("new@"))) { NetESignal*eres = new NetESignal(var_this); diff --git a/lexor.lex b/lexor.lex index f3fee4168..7c7a79649 100644 --- a/lexor.lex +++ b/lexor.lex @@ -341,7 +341,7 @@ TU [munpf] } } - /* If this identifer names a previously declared package, then + /* If this identifier names a previously declared package, then return this as a PACKAGE_IDENTIFIER instead. */ if (rc == IDENTIFIER && gn_system_verilog()) { if (PPackage*pkg = pform_test_package_identifier(yylval.text)) { diff --git a/net_func_eval.cc b/net_func_eval.cc index e6229602a..d130f3723 100644 --- a/net_func_eval.cc +++ b/net_func_eval.cc @@ -138,7 +138,7 @@ NetExpr* NetFuncDef::evaluate_function(const LineInfo&loc, const std::vector"; cerr << endl; diff --git a/netlist.cc b/netlist.cc index bc59461e7..0bd8ca28a 100644 --- a/netlist.cc +++ b/netlist.cc @@ -755,7 +755,7 @@ const netclass_t* NetNet::class_type(void) const /* * "depth" is the number of index expressions that the user is using - * to index this identifer. So consider if Net was declared like so: + * to index this identifier. So consider if Net was declared like so: * * reg [5:0][3:0] foo; * diff --git a/netmisc.cc b/netmisc.cc index 4c2f58fa2..e6b414e61 100644 --- a/netmisc.cc +++ b/netmisc.cc @@ -1309,7 +1309,7 @@ NetExpr*collapse_array_exprs(Design*des, NetScope*scope, /* * Given a list of indices, treat them as packed indices and convert * them to an expression that normalizes the list to a single index - * expression over a canonical equivilent 1-dimensional array. + * expression over a canonical equivalent 1-dimensional array. */ NetExpr*collapse_array_indices(Design*des, NetScope*scope, NetNet*net, const list&indices) diff --git a/pform.cc b/pform.cc index 9a72eceab..c9e716f08 100644 --- a/pform.cc +++ b/pform.cc @@ -555,7 +555,7 @@ data_type_t* pform_test_type_identifier(const char*txt) // First look to see if this identifier is imported from // a package. If it is, see if it is a type in that // package. If it is, then great. If imported as - // something other then a type, then give up now becase + // something other than a type, then give up now because // the name has at least shadowed any other possible // meaning for this name. map::iterator cur_pkg; diff --git a/synth2.cc b/synth2.cc index 2f5081087..0062b1632 100644 --- a/synth2.cc +++ b/synth2.cc @@ -232,7 +232,7 @@ bool NetCase::synth_async(Design*des, NetScope*scope, unsigned mux_size = max_guard_value + 1; - // If the sel_width can select more then just the explicit + // If the sel_width can select more than just the explicit // guard values, and there is a default statement, then adjust // the mux size to allow for the implicit selections. if (statement_default && ((1U< mux_size)) { diff --git a/tgt-pcb/footprint.cc b/tgt-pcb/footprint.cc index 5ba01ab42..a05c52709 100644 --- a/tgt-pcb/footprint.cc +++ b/tgt-pcb/footprint.cc @@ -45,7 +45,7 @@ int load_footprints(void) } /* - * The fpparse funciton calls back the callback_fp_element function + * The fpparse function calls back the callback_fp_element function * for each Element that it parses. The check_footprint function * stores in the cur_footprint variable the name of the footprint that * we are trying to find in the file. The callback uses that name to diff --git a/vhdlpp/expression_emit.cc b/vhdlpp/expression_emit.cc index 07916d159..f6cd315d0 100644 --- a/vhdlpp/expression_emit.cc +++ b/vhdlpp/expression_emit.cc @@ -566,7 +566,7 @@ int ExpFunc::emit(ostream&out, Entity*ent, Architecture*arc) out << ")"; } else { - // If this function has an elaborated defintion, and if + // If this function has an elaborated definition, and if // that definition is in a package, then include the // package name as a scope qualifier. This assures that // the SV elaborator finds the correct VHDL elaborated diff --git a/vvp/class_type.h b/vvp/class_type.h index 8304f812e..5c4b4831b 100644 --- a/vvp/class_type.h +++ b/vvp/class_type.h @@ -52,7 +52,7 @@ class class_type : public __vpiHandle { void set_property(size_t idx, const std::string&name, const std::string&type); // This method is called after all the properties are - // defined. This calculates information about the defintion. + // defined. This calculates information about the definition. void finish_setup(void); public: diff --git a/vvp/opcodes.txt b/vvp/opcodes.txt index d3e702356..b89f41291 100644 --- a/vvp/opcodes.txt +++ b/vvp/opcodes.txt @@ -873,7 +873,7 @@ includes an implicit pop, but sometimes it is necessary to pop explicitly. The is the number of top positions on the stack to keep, -beforing starting to pop. This allows for popping positions other then +beforing starting to pop. This allows for popping positions other than the top of the stack. * %pow , ,