Permalink
Please sign in to comment.
Browse files
Major rewrite of indexed part selects.
This patch is a major rewrite of the indexed part selects (+: and -:). It made the following enhancements: 1. Make indexed part selects work correctly with both big and little endian vectors. 2. Add a warning flag that warns about constant out of bounds/or 'bx indexed selects. 3. Moved the -: parameter code to its own routine. 4. Added support for straddling before part selects in a CA. 5. Added more assert(! number_is_unknown) statements. 6. Add warning for &PV<> select with a signed index signal that is less than the width of an int. This will be fixed later. 7. Add support for loading a 'bx/'bz constant into a numeric register. 8. Add a number of signed value fixes to the compiler/code generator. 9. Major fix of draw_select_expr() in the code generator.
- Loading branch information...
Showing
with
482 additions
and 107 deletions.
- +6 −0 PExpr.h
- +244 −67 elab_expr.cc
- +72 −8 elab_lval.cc
- +37 −9 elab_net.cc
- +4 −5 netlist.cc
- +2 −2 netlist.h
- +14 −1 tgt-vvp/draw_vpi.c
- +94 −15 tgt-vvp/eval_expr.c
- +9 −0 tgt-vvp/vvp_scope.c

Oops, something went wrong.
0 comments on commit
2b17366