Spelling fixes in C and C++ comments

This commit is contained in:
Larry Doolittle 2015-06-02 10:40:24 -07:00 committed by Stephen Williams
parent 05d591ccd6
commit 2739f83702
23 changed files with 37 additions and 37 deletions

View File

@ -41,7 +41,7 @@ void PTaskFunc::set_this(class_type_t*type, PWire*this_wire)
assert(this_type_ == 0);
this_type_ = type;
// Push a synthethis argument that is the "this" value.
// Push a synthesis argument that is the "this" value.
if (ports_==0)
ports_ = new vector<pform_tf_port_t>;

View File

@ -1335,7 +1335,7 @@ unsigned PECallFunction::test_width_method_(Design*des, NetScope*scope,
if (net == 0)
return 0;
// Look fonr built in string attributes.
// Look for built in string attributes.
if (net->data_type()==IVL_VT_STRING) {
if (method_name == "len") {
@ -3843,7 +3843,7 @@ NetExpr* PEIdent::elaborate_expr(Design*des, NetScope*scope,
}
// Maybe this is a method attached to an enumeration name? If
// this is system verilog, then test to see if the name is
// this is SystemVerilog, then test to see if the name is
// really a method attached to an object.
if (gn_system_verilog() && found_in==0 && path_.size() >= 2) {
pform_name_t use_path = path_;

View File

@ -1581,7 +1581,7 @@ void PGModule::elaborate_mod_(Design*des, Module*rmod, NetScope*scope) const
// Special case: If the output port is an unpacked
// array, then there should be no sub-ports and
// the passed pexxpression is processed
// the passed port expression is processed
// differently. Note that we are calling it the
// "r-value" expression, but since this is an
// output port, we assign to it from the internal object.

View File

@ -300,7 +300,7 @@ typedef enum ivl_lpm_type_e {
IVL_LPM_CONCAT = 16,
IVL_LPM_CONCATZ = 36, /* Transparent concat */
IVL_LPM_CMP_EEQ= 18, /* Case EQ (===) */
IVL_LPM_CMP_EQX= 37, /* Windcard EQ (==?) */
IVL_LPM_CMP_EQX= 37, /* Wildcard EQ (==?) */
IVL_LPM_CMP_EQZ= 38, /* casez EQ */
IVL_LPM_CMP_EQ = 10,
IVL_LPM_CMP_GE = 1,
@ -1285,8 +1285,8 @@ extern unsigned ivl_lpm_lineno(ivl_lpm_t net);
* magnitude compare, the signedness does matter. In any case, the
* result of the compare is always unsigned.
*
* The EQX and EQZ nodes are windcard compares, where xz bits (EQX) or
* z bits (EQZ) in the data(1) operand are treated as windcards. no
* The EQX and EQZ nodes are wildcard compares, where xz bits (EQX) or
* z bits (EQZ) in the data(1) operand are treated as wildcards. no
* bits in the data(0) operand are wild. This matches the
* SystemVerilog convention for the ==? operator.
*

View File

@ -115,7 +115,7 @@ PLI_INT32 tf_getlongtime(PLI_INT32 *high)
}
/*
* This function is not defined in the IEE standard, but is provided for
* This function is not defined in the IEEE standard, but is provided for
* compatibility with other simulators. On platforms that support this,
* make it a weak symbol just in case the user has defined their own
* function for this.

View File

@ -765,7 +765,7 @@ class NetNet : public NetObj, public PortType {
unsigned peek_eref() const;
// Assignment statements count their lrefs here. And by
// asignment statements, we mean BEHAVIORAL assignments.
// assignment statements, we mean BEHAVIORAL assignments.
void incr_lref();
void decr_lref();
unsigned peek_lref() const { return lref_count_; }
@ -2216,7 +2216,7 @@ class NetPartSelect : public NetNode {
*
* wire [7:0] foo = NetSubstitute(bar, bat, off);
*
* meaus that bar is a vector the same width as foo, bat is a narrower
* means that bar is a vector the same width as foo, bat is a narrower
* vector. The off is a constant offset into the bar vector. This
* looks something like this:
*
@ -2287,7 +2287,7 @@ class NetBUFZ : public NetNode {
*
* 0 -- Output (always returns 0 or 1)
* 1 -- Input
* 2 -- Input (windcard input for EQX and EQZ variants)
* 2 -- Input (wildcard input for EQX and EQZ variants)
*/
class NetCaseCmp : public NetNode {

View File

@ -893,7 +893,7 @@ static NetExpr* do_elab_and_eval(Design*des, NetScope*scope, PExpr*pe,
}
}
// If the context_width sent is is actually the minimim width,
// If the context_width sent is is actually the minimum width,
// then raise the context_width to be big enough for the
// lossless expression.
if (force_expand && context_width > 0) {

View File

@ -141,7 +141,7 @@ bool prefix_to_slice(const std::vector<netrange_t>&dims,
// Now similarly go through the prefix numbers, working
// through the dimensions until we run out. Accumulate a
// growing slice width (acc_wid) that is used to caculate the
// growing slice width (acc_wid) that is used to calculate the
// growing offset (acc_off).
list<long>::const_iterator icur = prefix.end();
do {

View File

@ -50,7 +50,7 @@ typedef named<verinum> named_number_t;
typedef named<PExpr*> named_pexpr_t;
/*
* The pform_range_t holds variable diimensions for type
* The pform_range_t holds variable dimensions for type
* declarations. The two expressions are interpreted as the first and
* last values of the range. For example:
*

View File

@ -808,8 +808,8 @@ bool NetCase::synth_async_casez_(Design*des, NetScope*scope,
sel_width, case_kind);
des->add_node(condit_dev);
condit_dev->set_line(*this);
// Note that the expression that may have windcards must
// go in the pin(2) input. This is the definiton of the
// Note that the expression that may have wildcards must
// go in the pin(2) input. This is the definition of the
// NetCaseCmp statement.
connect(condit_dev->pin(1), esig->pin(0));
connect(condit_dev->pin(2), guard->pin(0));

View File

@ -208,7 +208,7 @@ int target_design(ivl_design_t des)
assert(indent == 0);
fprintf(vlog_out, "endmodule /* ivl_root_scope */\n");
}
/* Emit the rest of the scope objets. */
/* Emit the rest of the scope objects. */
for (idx = 0; idx < nroots; idx += 1) emit_scope(roots[idx], 0);
free_emitted_scope_list();

View File

@ -415,7 +415,7 @@ static void draw_binary_vec4_land(ivl_expr_t expr)
fprintf(vvp_out, " %%or/r;\n");
/* Now push the right expression. Again, reduce to a single
bit if necessasry. */
bit if necessary. */
draw_eval_vec4(re);
if (ivl_expr_width(re) > 1)
fprintf(vvp_out, " %%or/r;\n");
@ -615,7 +615,7 @@ static void draw_binary_vec4_lor(ivl_expr_t expr)
fprintf(vvp_out, " %%or/r;\n");
/* Now push the right expression. Again, reduce to a single
bit if necessasry. */
bit if necessary. */
draw_eval_vec4(re);
if (ivl_expr_width(re) > 1)
fprintf(vvp_out, " %%or/r;\n");
@ -952,7 +952,7 @@ static void draw_select_pad_vec4(ivl_expr_t expr)
}
/*
* This function handles the speical case of a call to the internal
* This function handles the special case of a call to the internal
* functions $ivl_darray_method$pop_back et al. The first (and only)
* argument is the signal that represents a dynamic queue. Generate a
* %qpop instruction to pop a value and push it to the vec4 stack.

View File

@ -237,13 +237,13 @@ extern void draw_eval_real(ivl_expr_t ex);
extern int draw_eval_bool64(ivl_expr_t ex);
/*
* The draw_eval_string functio evaluates the expression as a string,
* The draw_eval_string function evaluates the expression as a string,
* and pushes the string onto the string stack.
*/
extern void draw_eval_string(ivl_expr_t ex);
/*
* The draw_eval_string functio evaluates the expression as an object,
* The draw_eval_string function evaluates the expression as an object,
* and pushes the object onto the object stack.
*/
extern int draw_eval_object(ivl_expr_t ex);

View File

@ -671,7 +671,7 @@ static int show_stmt_case(ivl_statement_t net, ivl_scope_t sscope)
/* Duplicate the case expression so that the cmp
instructions below do not completely erase the
value. Do this in fromt of each compare. */
value. Do this in front of each compare. */
fprintf(vvp_out, " %%dup/vec4;\n");
draw_eval_vec4(cex);
@ -767,7 +767,7 @@ static int show_stmt_case_r(ivl_statement_t net, ivl_scope_t sscope)
continue;
}
/* The referene value... */
/* The reference value... */
fprintf(vvp_out, " %%dup/real;\n");
/* The guard value... */
draw_eval_real(cex);
@ -2321,7 +2321,7 @@ int draw_process(ivl_process_t net, void*x)
fprintf(vvp_out, " .scope S_%p;\n", scope);
/* Generate the entry label. Just give the thread a number so
that we ar certain the label is unique. */
that we are certain the label is unique. */
fprintf(vvp_out, "T_%u ;\n", thread_count);
/* Draw the contents of the thread. */

View File

@ -753,7 +753,7 @@ composite_type_definition
/* The when...else..when...else syntax is not a general expression
in VHDL but a specific sort of assignment statement model. We
create Exppression objects for it, but the parser will only
create Expression objects for it, but the parser will only
recognize it it in specific situations. */
concurrent_conditional_signal_assignment /* IEEE 1076-2008 P11.6 */
: name LEQ waveform K_when expression else_when_waveforms ';'

View File

@ -263,7 +263,7 @@ static PLI_INT32 to_vec_calltf(ICARUS_VPI_CONST PLI_BYTE8*name)
offset));
vec_ptr->bval |= (bval >> (darr_word_size -
offset));
/* Start at the begining of the next vector part. */
/* Start at the beginning of the next vector part. */
} else {
offset = 0;
}

View File

@ -629,7 +629,7 @@ static unsigned initialize_table_model(vpiHandle callh, const char *name,
}
/*
* Routine to evalute the table model using the current input values.
* Routine to evaluate the table model using the current input values.
*/
static double eval_table_model(vpiHandle callh, p_table_mod table)
{

View File

@ -1962,7 +1962,7 @@ void compile_param_string(char*label, char*name, char*value,
bool local_flag,
long file_idx, long lineno)
{
// name and value become owned bi vpip_make_string_param
// name and value become owned by vpip_make_string_param
vpiHandle obj = vpip_make_string_param(name, value, local_flag, file_idx, lineno);
compile_vpi_symbol(label, obj);
vpip_attach_to_current_scope(obj);

View File

@ -512,7 +512,7 @@ extern void compile_port_info( unsigned index, int vpi_port_type, unsigned width
* given name.
*
* The vpi_type_code argument of compile_net() is one of the vpi
* object codes for the equivelent variable types. The supported codes
* object codes for the equivalent variable types. The supported codes
* are:
* vpiLogic -- 4-value logic
* vpiIntVar -- 2-value logic

View File

@ -71,7 +71,7 @@ void vvp_dff::recv_vec4(vvp_net_ptr_t port, const vvp_vector4_t&bit,
}
/*
* The recv_clear and recv_set function respond to asynchronout
* The recv_clear and recv_set function respond to asynchronous
* clear/set input by propagating the desired output.
*
* NOTE: Don't touch the d_ value, because that tracks the D input,

View File

@ -29,7 +29,7 @@
/*
* The core functor for a resolver node stores all the input values
* received by that node. This provides the necessary information
* for implementing the $countdrivers system call. For efficency,
* for implementing the $countdrivers system call. For efficiency,
* the resolver is implemented using a balanced quaternary tree, so
* the core functor also stores the current value for each branch
* of the tree, to eliminate the need to re-evaluate branches whose

View File

@ -136,7 +136,7 @@ static vpiHandle fill_in_net4(struct __vpiSignal*obj,
bool signed_flag, vvp_net_t*node);
/*
* The standard formating/conversion routines.
* The standard formatting/conversion routines.
* They work with full or partial signals.
*/

View File

@ -949,7 +949,7 @@ bool of_ASSIGN_VEC4_A_D(vthread_t thr, vvp_code_t cp)
unsigned wid = val.size();
const unsigned array_wid = cp->array->get_word_size();
// Abort if flags[4] is set. This can happen if the calulation
// Abort if flags[4] is set. This can happen if the calculation
// into an index register failed.
if (thr->flags[4] == BIT4_1)
return true;
@ -992,7 +992,7 @@ bool of_ASSIGN_VEC4_A_E(vthread_t thr, vvp_code_t cp)
unsigned wid = val.size();
const unsigned array_wid = cp->array->get_word_size();
// Abort if flags[4] is set. This can happen if the calulation
// Abort if flags[4] is set. This can happen if the calculation
// into an index register failed.
if (thr->flags[4] == BIT4_1)
return true;
@ -1038,7 +1038,7 @@ bool of_ASSIGN_VEC4_OFF_D(vthread_t thr, vvp_code_t cp)
int off = thr->words[off_index].w_int;
vvp_time64_t del = thr->words[del_index].w_uint;
// Abort if flags[4] is set. This can happen if the calulation
// Abort if flags[4] is set. This can happen if the calculation
// into an index register failed.
if (thr->flags[4] == BIT4_1)
return true;
@ -1080,7 +1080,7 @@ bool of_ASSIGN_VEC4_OFF_E(vthread_t thr, vvp_code_t cp)
int off = thr->words[off_index].w_int;
// Abort if flags[4] is set. This can happen if the calulation
// Abort if flags[4] is set. This can happen if the calculation
// into an index register failed.
if (thr->flags[4] == BIT4_1)
return true;