Spelling fixes

Mostly comments.
One user-visible string ("Evalutated to ") changed in the debug_eval_tree case.
This commit is contained in:
Larry Doolittle 2014-01-28 15:50:27 -08:00 committed by Stephen Williams
parent 77a01f65d0
commit be17bfc0e9
14 changed files with 16 additions and 16 deletions

View File

@ -4723,8 +4723,8 @@ NetExpr* PENewClass::elaborate_expr_constructor_(Design*des, NetScope*scope,
NetExpr*obj, unsigned /*flags*/) const NetExpr*obj, unsigned /*flags*/) const
{ {
// If there is an initializer function, then pass the object // If there is an initializer function, then pass the object
// through that function first. Note tha the initializer // through that function first. Note that the initializer
// function has no arguments other then the object itself. // function has no arguments other than the object itself.
if (NetScope*new1_scope = ctype->method_from_name(perm_string::literal("new@"))) { if (NetScope*new1_scope = ctype->method_from_name(perm_string::literal("new@"))) {
NetFuncDef*def1 = new1_scope->func_def(); NetFuncDef*def1 = new1_scope->func_def();
ivl_assert(*this, def1); 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 * 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. * expr_type_ and expr_width_ to fixed values.
*/ */
unsigned PENull::test_width(Design*, NetScope*, width_mode_t&) unsigned PENull::test_width(Design*, NetScope*, width_mode_t&)

View File

@ -1260,7 +1260,7 @@ NetNet* PWire::elaborate_sig(Design*des, NetScope*scope) const
// The trick here is that the parray type has an // The trick here is that the parray type has an
// arbitrary sub-type, and not just a scalar bit... // arbitrary sub-type, and not just a scalar bit...
netparray_t*use_type = elaborate_parray_type(des, scope, parray_type); 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. // through the parray type declaration.
ivl_assert(*this, packed_dimensions.empty()); ivl_assert(*this, packed_dimensions.empty());

View File

@ -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 * elaborate_type_raw for enumerations is actually mostly performed
* during scope elaboration so that the enumeration literals are * 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. * 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 ivl_type_s* enum_type_t::elaborate_type_raw(Design*des, NetScope*scope) const

View File

@ -3051,7 +3051,7 @@ NetProc* PChainConstructor::elaborate(Design*des, NetScope*scope) const
NetNet*var_this = scope->find_signal(perm_string::literal("@")); NetNet*var_this = scope->find_signal(perm_string::literal("@"));
// If super.new is an implicit constructor, then there are no // 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. // NetEUFunc and there we go.
if (NetScope*new_scope = class_super->method_from_name(perm_string::literal("new@"))) { if (NetScope*new_scope = class_super->method_from_name(perm_string::literal("new@"))) {
NetESignal*eres = new NetESignal(var_this); NetESignal*eres = new NetESignal(var_this);

View File

@ -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. */ return this as a PACKAGE_IDENTIFIER instead. */
if (rc == IDENTIFIER && gn_system_verilog()) { if (rc == IDENTIFIER && gn_system_verilog()) {
if (PPackage*pkg = pform_test_package_identifier(yylval.text)) { if (PPackage*pkg = pform_test_package_identifier(yylval.text)) {

View File

@ -138,7 +138,7 @@ NetExpr* NetFuncDef::evaluate_function(const LineInfo&loc, const std::vector<Net
if (flag) { if (flag) {
if (debug_eval_tree) { if (debug_eval_tree) {
cerr << loc.get_fileline() << ": NetFuncDef::evaluate_function: " cerr << loc.get_fileline() << ": NetFuncDef::evaluate_function: "
<< "Evalutated to "; << "Evaluated to ";
if (res) cerr << *res; if (res) cerr << *res;
else cerr << "<nil>"; else cerr << "<nil>";
cerr << endl; cerr << endl;

View File

@ -755,7 +755,7 @@ const netclass_t* NetNet::class_type(void) const
/* /*
* "depth" is the number of index expressions that the user is using * "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; * reg [5:0][3:0] foo;
* *

View File

@ -1309,7 +1309,7 @@ NetExpr*collapse_array_exprs(Design*des, NetScope*scope,
/* /*
* Given a list of indices, treat them as packed indices and convert * Given a list of indices, treat them as packed indices and convert
* them to an expression that normalizes the list to a single index * 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, NetExpr*collapse_array_indices(Design*des, NetScope*scope, NetNet*net,
const list<index_component_t>&indices) const list<index_component_t>&indices)

View File

@ -555,7 +555,7 @@ data_type_t* pform_test_type_identifier(const char*txt)
// First look to see if this identifier is imported from // First look to see if this identifier is imported from
// a package. If it is, see if it is a type in that // a package. If it is, see if it is a type in that
// package. If it is, then great. If imported as // 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 // the name has at least shadowed any other possible
// meaning for this name. // meaning for this name.
map<perm_string,PPackage*>::iterator cur_pkg; map<perm_string,PPackage*>::iterator cur_pkg;

View File

@ -232,7 +232,7 @@ bool NetCase::synth_async(Design*des, NetScope*scope,
unsigned mux_size = max_guard_value + 1; 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 // guard values, and there is a default statement, then adjust
// the mux size to allow for the implicit selections. // the mux size to allow for the implicit selections.
if (statement_default && ((1U<<sel_width) > mux_size)) { if (statement_default && ((1U<<sel_width) > mux_size)) {

View File

@ -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 * for each Element that it parses. The check_footprint function
* stores in the cur_footprint variable the name of the footprint that * 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 * we are trying to find in the file. The callback uses that name to

View File

@ -566,7 +566,7 @@ int ExpFunc::emit(ostream&out, Entity*ent, Architecture*arc)
out << ")"; out << ")";
} else { } 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 // that definition is in a package, then include the
// package name as a scope qualifier. This assures that // package name as a scope qualifier. This assures that
// the SV elaborator finds the correct VHDL elaborated // the SV elaborator finds the correct VHDL elaborated

View File

@ -52,7 +52,7 @@ class class_type : public __vpiHandle {
void set_property(size_t idx, const std::string&name, const std::string&type); void set_property(size_t idx, const std::string&name, const std::string&type);
// This method is called after all the properties are // 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); void finish_setup(void);
public: public:

View File

@ -873,7 +873,7 @@ includes an implicit pop, but sometimes it is necessary to pop
explicitly. explicitly.
The <skip> is the number of top positions on the stack to keep, The <skip> 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. the top of the stack.
* %pow <bit-l>, <bit-r>, <wid> * %pow <bit-l>, <bit-r>, <wid>