Skip to content

Commit

Permalink
Reorganize signal part select handling, and add support for
Browse files Browse the repository at this point in the history
 indexed part selects.

 Expand expression constant propagation to eliminate extra
 sums in certain cases.
  • Loading branch information
steve committed Nov 10, 2005
1 parent bebcc05 commit c02b3b8
Show file tree
Hide file tree
Showing 5 changed files with 398 additions and 172 deletions.
29 changes: 28 additions & 1 deletion PExpr.h
Expand Up @@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: PExpr.h,v 1.71 2005/10/04 04:09:25 steve Exp $"
#ident "$Id: PExpr.h,v 1.72 2005/11/10 13:28:11 steve Exp $"
#endif

# include <string>
Expand Down Expand Up @@ -256,6 +256,26 @@ class PEIdent : public PExpr {
NetScope*scope,
const NetExpr*par,
NetScope*found) const;
NetExpr*elaborate_expr_net(Design*des,
NetScope*scope,
NetNet*net,
NetScope*found) const;
NetExpr*elaborate_expr_net_part_(Design*des,
NetScope*scope,
NetNet*net,
NetScope*found) const;
NetExpr*elaborate_expr_net_idx_up_(Design*des,
NetScope*scope,
NetNet*net,
NetScope*found) const;
NetExpr*elaborate_expr_net_idx_do_(Design*des,
NetScope*scope,
NetNet*net,
NetScope*found) const;
NetExpr*elaborate_expr_net_bit_(Design*des,
NetScope*scope,
NetNet*net,
NetScope*found) const;
hname_t path_;

public:
Expand Down Expand Up @@ -523,6 +543,13 @@ class PECallFunction : public PExpr {

/*
* $Log: PExpr.h,v $
* Revision 1.72 2005/11/10 13:28:11 steve
* Reorganize signal part select handling, and add support for
* indexed part selects.
*
* Expand expression constant propagation to eliminate extra
* sums in certain cases.
*
* Revision 1.71 2005/10/04 04:09:25 steve
* Add support for indexed select attached to parameters.
*
Expand Down

0 comments on commit c02b3b8

Please sign in to comment.