Permalink
Browse files

Merge branch 'master' of ssh://steve-icarus@icarus.com/home/u/icarus/…

…steve/git/verilog
  • Loading branch information...
2 parents 79feb44 + a2dc1e0 commit afa2478801e47ccdf72c378818c0aa00405591fe @steveicarus committed Jun 9, 2008
Showing with 665 additions and 337 deletions.
  1. +17 −0 PExpr.h
  2. +254 −105 elab_expr.cc
  3. +10 −1 elab_scope.cc
  4. +7 −0 netmisc.cc
  5. +5 −0 netmisc.h
  6. +7 −1 parse.y
  7. +11 −4 tgt-vvp/draw_vpi.c
  8. +9 −81 vpi/sys_finish.c
  9. +4 −45 vpi/sys_icarus.c
  10. +1 −1 vpi/sys_lxt.c
  11. +1 −1 vpi/sys_lxt2.c
  12. +106 −0 vpi/sys_priv.c
  13. +7 −0 vpi/sys_priv.h
  14. +4 −4 vpi/sys_time.c
  15. +1 −1 vpi/sys_vcd.c
  16. +1 −1 vpi/sys_vcdoff.c
  17. +28 −16 vpi/vams_simparam.c
  18. +13 −53 vpi/vcd_priv.c
  19. +0 −2 vpi/vcd_priv.h
  20. +41 −0 vvp/README.txt
  21. +134 −21 vvp/array.cc
  22. +2 −0 vvp/parse.y
  23. +1 −0 vvp/vpi_priv.h
  24. +1 −0 vvp/vvp_island.cc
View
@@ -306,6 +306,11 @@ class PEIdent : public PExpr {
private:
// Common functions to calculate parts of part/bit selects.
bool calculate_parts_(Design*, NetScope*, long&msb, long&lsb) const;
+ NetExpr* calculate_up_do_base_(Design*, NetScope*) const;
+ bool calculate_param_range_(Design*, NetScope*,
+ const NetExpr*msb_ex, long&msb,
+ const NetExpr*lsb_ex, long&lsb) const;
+
bool calculate_up_do_width_(Design*, NetScope*, unsigned long&wid) const;
private:
@@ -321,6 +326,18 @@ class PEIdent : public PExpr {
NetScope*found,
const NetExpr*par_msb,
const NetExpr*par_lsb) const;
+ NetExpr*elaborate_expr_param_part_(Design*des,
+ NetScope*scope,
+ const NetExpr*par,
+ NetScope*found,
+ const NetExpr*par_msb,
+ const NetExpr*par_lsb) const;
+ NetExpr*elaborate_expr_param_idx_up_(Design*des,
+ NetScope*scope,
+ const NetExpr*par,
+ NetScope*found,
+ const NetExpr*par_msb,
+ const NetExpr*par_lsb) const;
NetExpr*elaborate_expr_net(Design*des,
NetScope*scope,
NetNet*net,
Oops, something went wrong. Retry.

0 comments on commit afa2478

Please sign in to comment.