From 371c5d932d6931395a8bac8f3c031bebf756e417 Mon Sep 17 00:00:00 2001 From: Larry Doolittle Date: Fri, 6 Jul 2007 12:46:32 -0700 Subject: [PATCH] Correct wrong or misleading comments. --- elab_expr.cc | 4 ++-- elab_net.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/elab_expr.cc b/elab_expr.cc index db6a0a57c..fa4577256 100644 --- a/elab_expr.cc +++ b/elab_expr.cc @@ -1193,7 +1193,7 @@ NetExpr* PEIdent::elaborate_expr_net_word_(Design*des, NetScope*scope, NetESignal*res = new NetESignal(net, word_index); res->set_line(*this); - // Detect that the word has a bin/part select as well. + // Detect that the word has a bit/part select as well. index_component_t::ctype_t word_sel = index_component_t::SEL_NONE; if (name_tail.index.size() > 1) @@ -1334,7 +1334,7 @@ NetExpr* PEIdent::elaborate_expr_net_idx_up_(Design*des, NetScope*scope, } /* - * Part select up, i.e. net[ +: ] + * Part select indexed down, i.e. net[ -: ] */ NetExpr* PEIdent::elaborate_expr_net_idx_do_(Design*des, NetScope*scope, NetESignal*net, NetScope*found_in)const diff --git a/elab_net.cc b/elab_net.cc index ba0dcb00e..b39a49497 100644 --- a/elab_net.cc +++ b/elab_net.cc @@ -1721,7 +1721,7 @@ NetNet* PEIdent::process_select_(Design*des, NetScope*scope, // If there are more index items then there are array // dimensions, then treat them as word part selects. For // example, if this is a memory array, then array dimensions - // is 1 and + // is the first and part select the remainder. unsigned midx, lidx; if (! eval_part_select_(des, scope, sig, midx, lidx)) return sig;