Zachary Snow
dbbf71c65a
revised struct pattern representation
...
- pattern keys now represented as TypeOrExpr
- support for simple integer struct pattern keys
2021-06-20 15:32:12 -04:00
Zachary Snow
642803a707
expression traversals no longer visit types by default
2021-02-11 17:07:58 -05:00
Zachary Snow
ad18c583ab
support default pattern unbased unsized port bindings
2020-12-07 16:23:26 -07:00
Zachary Snow
a170536382
unbased-unsized binding nested struct performance fix
2020-08-20 20:24:45 -04:00
Zachary Snow
e4135bb896
use strict State and Writer monads
2020-08-11 19:14:18 -04:00
Zachary Snow
698e3b0b54
fix unbased unsized binding conversion for instances with type parameters
2020-07-27 19:04:41 -06:00
Zachary Snow
8e1693d396
yosys-compatible unbased unsized binding conversion
2020-07-25 14:54:33 -06:00
Zachary Snow
21ebbb5a19
use repeats for converted unbased-unsized literals
...
- reduces the number of cast functions which are generated
- adjust package_function_cast to preserve cast converage
- fix issue where cast functions would be generated before localparam
substitution within a procedure
2020-07-24 21:29:59 -06:00
Zachary Snow
e5e99b291b
Revert "avoid unnecessary unased-unsized casts in assignments"
...
This reverts commit 51f2d2bb33 .
2020-07-17 19:15:34 -06:00
Zachary Snow
51f2d2bb33
avoid unnecessary unased-unsized casts in assignments
2020-07-13 18:55:47 -06:00
Zachary Snow
d88c516d33
enhanced handling of number literals
...
- number literals are parsed rather than stored as strings
- fix array query functions used on non-trivial number literals
- more efficient expression simplification recursion
- expanded constant folding scenarios
2020-07-12 15:06:27 -06:00
Zachary Snow
9520894720
unbased unsized conversion refactor
...
- support ubased unsized bound to ports using injected constants
- explicit context-aware literal sizing for complex expressions
- fix infinite loop case in NestPI conversion
- elaborate size-casts of converted literals
2020-07-06 22:11:53 -06:00
Zachary Snow
8cfd05de1a
unbased unsized literals are context-aware
2020-06-14 21:43:32 -04:00
Zachary Snow
a8346f2f88
actually fix unbased unsized literals in ternary exprs
2020-06-06 17:01:27 -04:00
Zachary Snow
80bfbc1e8a
fix unbased unsized literals in ternary exprs
2020-06-05 21:40:59 -04:00
Zachary Snow
142df3b5f6
fixed handling of unbased unsized literals ( resolves #43 )
2019-09-18 23:39:09 -04:00
Zachary Snow
33dc4b3f88
conversions are applied per-file
...
- NestTF refactored to cover all package items
- fixed issue where type traverse skipped typedefs
2019-04-23 18:51:39 -04:00
Zachary Snow
c8894cebde
random documentation and cleanup
2019-04-23 00:23:32 -04:00
Zachary Snow
7f8c2e336b
simple conversion for unbased unsized literals
2019-03-19 13:40:25 -04:00