From 8a568055f6bfff9eca5c8ca3f909afb95310881b Mon Sep 17 00:00:00 2001 From: Larry Doolittle Date: Tue, 29 Mar 2011 08:18:22 -0700 Subject: [PATCH] Spelling fixes All are in comments and .txt files except for one in the Architecture::Statement dump message. --- ivlpp/ivlpp.txt | 2 +- netlist.h | 2 +- pform.cc | 2 +- tgt-vhdl/stmt.cc | 4 ++-- vhdlpp/debug.cc | 2 +- vhdlpp/expression.h | 8 ++++---- vhdlpp/parse_api.h | 2 +- vvp/README.txt | 8 ++++---- vvp/vvp_net.cc | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/ivlpp/ivlpp.txt b/ivlpp/ivlpp.txt index d8b7d7506..38a0b39f2 100644 --- a/ivlpp/ivlpp.txt +++ b/ivlpp/ivlpp.txt @@ -49,7 +49,7 @@ valid options include: -f Read ivlpp input files from a file list. There can be no - more then one file list. + more than one file list. -I Add a directory to the include path. Normally, only "." is diff --git a/netlist.h b/netlist.h index d10469d8c..042be10ae 100644 --- a/netlist.h +++ b/netlist.h @@ -1669,7 +1669,7 @@ class NetExpr : public LineInfo { // rise/fall/decay: Attach these delays to the driver for the // expression output. // - // drive0/drive1: Attach these strengths tp the driver for + // drive0/drive1: Attach these strengths to the driver for // the expression output. virtual NetNet*synthesize(Design*des, NetScope*scope, NetExpr*root); diff --git a/pform.cc b/pform.cc index e800e1de7..0a23a4647 100644 --- a/pform.cc +++ b/pform.cc @@ -116,7 +116,7 @@ void parm_to_defparam_list(const string¶m) if (*value == '"') { // string type char *buf = strdup (value); char *buf_ptr = buf+1; - // Parse untill another '"' or '\0' + // Parse until another '"' or '\0' while (*buf_ptr != '"' && *buf_ptr != '\0') { buf_ptr++; // Check for escape, especially '\"', which does not mean the diff --git a/tgt-vhdl/stmt.cc b/tgt-vhdl/stmt.cc index de27ac749..1053ed00f 100644 --- a/tgt-vhdl/stmt.cc +++ b/tgt-vhdl/stmt.cc @@ -116,7 +116,7 @@ static int draw_stask_display(vhdl_procedural *proc, switch (*p) { case 'm': - // TOOD: we can get the module name via attributes + // TODO: we can get the module name via attributes cerr << "Warning: no VHDL translation for %m format code" << endl; break; @@ -1603,7 +1603,7 @@ int draw_utask(vhdl_procedural *proc, stmt_container *container, // TODO: adding some comments to the output would be helpful - // TOOD: this completely ignores parameters! + // TODO: this completely ignores parameters! draw_stmt(proc, container, ivl_scope_def(tscope), false); return 0; diff --git a/vhdlpp/debug.cc b/vhdlpp/debug.cc index 5bcdb4cca..5357e8651 100644 --- a/vhdlpp/debug.cc +++ b/vhdlpp/debug.cc @@ -116,7 +116,7 @@ void Architecture::dump(ostream&out, perm_string of_entity) const void Architecture::Statement::dump(ostream&out) const { - out << " Architecutre::Statement at file=" << get_fileline() << endl; + out << " Architecture::Statement at file=" << get_fileline() << endl; } void Signal::dump(ostream&out) const diff --git a/vhdlpp/expression.h b/vhdlpp/expression.h index b62497c05..f58ec86ad 100644 --- a/vhdlpp/expression.h +++ b/vhdlpp/expression.h @@ -37,9 +37,9 @@ class Expression : public LineInfo { Expression(); virtual ~Expression() =0; - // The emit virtual method is called bu architecture emit to + // The emit virtual method is called by architecture emit to // output the generated code for the expression. The derived - // class fills in the details of what exactly happend. + // class fills in the details of what exactly happened. virtual int emit(ostream&out, Entity*ent, Architecture*arc) =0; // The evaluate virtual method tries to evaluate expressions @@ -49,9 +49,9 @@ class Expression : public LineInfo { virtual bool evaluate(int64_t&val) const; // This method returns true if the drawn Verilog for this - // expression is a primary. A containing expressin can use + // expression is a primary. A containing expression can use // this method to know if it needs to wrap parentheses. This - // is somewhile optional, so it is better to return false if + // is somewhat optional, so it is better to return false if // not certain. The default implementation does return false. virtual bool is_primary(void) const; diff --git a/vhdlpp/parse_api.h b/vhdlpp/parse_api.h index 73ce4201d..1193d8fb9 100644 --- a/vhdlpp/parse_api.h +++ b/vhdlpp/parse_api.h @@ -54,7 +54,7 @@ extern int yylex(void); extern int yyparse(void); /* - * Use this functio during parse to generate error messages. The "loc" + * Use this function during parse to generate error messages. The "loc" * is the location of the token that triggered the error, and the fmt * is printf-style format. */ diff --git a/vvp/README.txt b/vvp/README.txt index 7142941d8..a45854ded 100644 --- a/vvp/README.txt +++ b/vvp/README.txt @@ -282,7 +282,7 @@ general syntax of a variable is: