Spelling fixes
Mostly comments, but includes user-visible debug messages.
(cherry picked from commit b0c4a87133)
This commit is contained in:
parent
19b68f6332
commit
b40b6fb50d
|
|
@ -686,7 +686,7 @@ NetExpr* PEBinary::elaborate_expr_base_rshift_(Design*des,
|
|||
}
|
||||
|
||||
// Special case: shift is negative (so do a left shift)
|
||||
// and is greater then the output width. Replace the
|
||||
// and is greater than the output width. Replace the
|
||||
// expression with a constant-0.
|
||||
if (shift < 0 && (0-shift) >= use_wid) {
|
||||
if (debug_elaborate)
|
||||
|
|
@ -2265,7 +2265,7 @@ NetExpr* PEIdent::elaborate_expr_param_part_(Design*des, NetScope*scope,
|
|||
|
||||
if (! parts_defined_flag) {
|
||||
if (debug_elaborate)
|
||||
cerr << get_fileline() << ": debug: Part select of paramter "
|
||||
cerr << get_fileline() << ": debug: Part select of parameter "
|
||||
<< "has x/z bits, so resorting to 'bx result." << endl;
|
||||
|
||||
long wid = 1 + labs(par_msv-par_lsv);
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ NetExpr* NetEBAdd::eval_tree(int prune_to_width)
|
|||
|
||||
if (debug_eval_tree) {
|
||||
cerr << get_fileline() << ": debug: "
|
||||
<< "Partially evalutate " << *this
|
||||
<< "Partially evaluate " << *this
|
||||
<< " using (a+2)-1 --> (a+1) transform." << endl;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -552,7 +552,7 @@ static void get_nexuses_from_expr(ivl_expr_t expr, set<ivl_nexus_t> &out)
|
|||
/*
|
||||
* Attempt to identify common forms of wait statements and produce
|
||||
* more idiomatic VHDL than would be produced by the generic
|
||||
* draw_wait funciton. The main application of this is a input to
|
||||
* draw_wait function. The main application of this is a input to
|
||||
* synthesis tools that don't synthesise the full VHDL language.
|
||||
* If none of these patterns are matched, the function returns false
|
||||
* and the default draw_wait is used.
|
||||
|
|
|
|||
|
|
@ -1853,7 +1853,7 @@ static struct vector_info draw_number_expr(ivl_expr_t exp, unsigned wid)
|
|||
|
||||
/*
|
||||
* This little helper function generates the instructions to pad a
|
||||
* vector in place. It is assumed that the calling functio has set up
|
||||
* vector in place. It is assumed that the calling function has set up
|
||||
* the first sub_sidth bits of the dest vector, and the signed_flag is
|
||||
* true if the extension is to be signed.
|
||||
*/
|
||||
|
|
@ -2456,7 +2456,7 @@ static void draw_select_expr_dest(ivl_expr_t exp, struct vector_info dest,
|
|||
|
||||
/* If the shift expression is not present, then this is really
|
||||
a pad expression, and that can be handled pretty
|
||||
easily. Evalutate the subexpression into the destination,
|
||||
easily. Evaluate the subexpression into the destination,
|
||||
then pad in place. */
|
||||
if (shift == 0) {
|
||||
struct vector_info subv;
|
||||
|
|
|
|||
|
|
@ -3399,7 +3399,7 @@ ostream& operator <<(ostream&out, vvp_scalar_t a)
|
|||
|
||||
/*
|
||||
* This function is only called if the actual interface function rules
|
||||
* out some of the eazy cases. If we get here, we can assume that
|
||||
* out some of the easy cases. If we get here, we can assume that
|
||||
* neither of the values is HiZ, and the values are not exactly equal.
|
||||
*/
|
||||
vvp_scalar_t fully_featured_resolv_(vvp_scalar_t a, vvp_scalar_t b)
|
||||
|
|
|
|||
Loading…
Reference in New Issue