Zachary Snow
82217ec05c
updated lifetime representation; struct packers use automatic
2019-12-22 12:01:05 -05:00
Zachary Snow
fb5fd39388
support for inside expression ranges and wildcards
2019-12-08 17:36:25 -05:00
Zachary Snow
95299c6f56
conversion of structs with multi-dim fields ( resolves #53 )
2019-11-19 23:15:25 -05:00
Zachary Snow
3597f4a6be
support for methods (no conversion) and interface TFs
2019-10-19 16:22:46 -04:00
Zachary Snow
cf0e182e65
convert unpacked structs as though packed
...
- also expands struct literals containing repeat expressions
2019-10-14 22:01:55 -04:00
Zachary Snow
a1cd6941ae
apply patterns to substructures
2019-10-13 23:37:43 -04:00
Zachary Snow
de581ecaf5
initial support for types in struct patterns
2019-10-13 19:01:42 -04:00
Zachary Snow
08c38e6193
support time literals as expressions
2019-10-06 21:21:58 -04:00
Zachary Snow
1a394cff9c
support mintypmax expressions
2019-10-06 16:18:15 -04:00
Zachary Snow
0262a3d3c4
struct conversion visits non-asgn LHSs
2019-09-24 22:09:22 -04:00
Zachary Snow
f4181aba76
added pass-through support for strings
2019-09-24 22:09:18 -04:00
Zachary Snow
5d80c83092
support for module attributes ( resolves #39 )
2019-09-15 23:17:14 -04:00
Zachary Snow
f5d6683422
generalization of array dimension(s) system functions
2019-09-14 12:38:26 -04:00
Zachary Snow
bd2efb4201
support struct patterns with partial defaults ( resolves #35 )
2019-09-11 19:32:24 +02:00
Zachary Snow
66989b0446
language support for parameter type bindings
2019-09-09 07:38:14 +02:00
Zachary Snow
d11e898edb
Added ParamType decl; combined parameter and localparam under Param
2019-09-09 07:34:43 +02:00
Zachary Snow
92feef8759
standardized, shorter hash generation
2019-09-03 23:54:47 -04:00
Zachary Snow
97fda59c51
convert needless patterns to concats
2019-09-02 22:35:36 -04:00
Zachary Snow
1f7c70dfe1
language support for LHS streaming operators
2019-09-02 20:46:35 -04:00
Zachary Snow
04de45b08b
language support for streaming operators
2019-09-01 18:42:16 -04:00
Zachary Snow
086826714d
nicer error message for missing struct fields
2019-08-26 20:20:38 -04:00
Zachary Snow
81f5fb500f
added conversion for packed unions
2019-08-08 23:12:49 -04:00
Zachary Snow
4fd7b6c2f2
better support for struct array parameters
...
This includes support for
- parsing dimensioned alias parameters
- flattening non-var decls with multiple packed dimensions
- converting arrays of structs
- inferring struct types for decls with initializations
2019-08-06 23:11:09 -04:00
Zachary Snow
35ac09aa75
struct conversion handles complex expression nesting
2019-05-16 10:51:57 -04:00
Dave Eckhardt
dadcd6ae24
Wording tweaks in comments.
2019-05-15 23:02:52 -04:00
Zachary Snow
3bef2b9cdb
struct conversion handles alternate and mixed integer vector field types
2019-05-10 10:41:31 -04:00
Zachary Snow
bc23aebc55
added language support for package-scoped calls and typenames
2019-04-24 03:37:47 -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
4e34217472
struct conversion handles decls with unpacked dimensions
2019-04-23 15:48:25 -04:00
Zachary Snow
925f11cf31
expression traversal visits LHS range and bit expressions
2019-04-23 01:16:57 -04:00
Zachary Snow
d41dcb2bc9
struct conversion supports struct literals as task/function args
2019-04-22 13:58:14 -04:00
Zachary Snow
addc550028
minor code cleanup for struct conversion
2019-04-22 02:48:22 -04:00
Zachary Snow
a8f2cbbe29
struct conversion supports complex shadowing
2019-04-22 02:33:24 -04:00
Zachary Snow
05b7bdb99c
added conversion which moves top-level tasks and functions into modules
2019-04-22 01:18:25 -04:00
Zachary Snow
acebba58c9
struct conversion omits unused packing functions
2019-04-21 22:22:33 -04:00
Zachary Snow
d5a369baa0
struct conversion uses packing functions to force field width
2019-04-21 21:56:23 -04:00
Zachary Snow
b0eedfe318
$bits conversion handles basic expressions
2019-04-19 13:32:25 -04:00
Zachary Snow
9fcc8e3478
enum generate localparam values are also explicitly sized to avoid implicit cast/warnings
2019-04-19 01:02:07 -04:00
Zachary Snow
093a4d4dd9
fix Struct conversion handling of default patterns with struct arrays
2019-04-18 21:00:48 -04:00
Zachary Snow
75e2fba597
explicitly size literals in converted default struct patterns
2019-04-15 23:28:03 -04:00
Zachary Snow
c168ec4794
added some error checking for struct pattern conversion
2019-04-10 18:33:33 -04:00
Zachary Snow
377600078a
struct conversion attempts to size unsized constants when packing patterns
2019-04-10 14:07:38 -04:00
Zachary Snow
006e0e0830
fixed struct pattern field ordering
2019-04-10 14:06:44 -04:00
Zachary Snow
9a38225b1d
several major fixes surrounding packed arrays
...
- entirely new PackedArray conversion (always flattens)
- typedef and struct correctly order packed ranges when combining types
- Stmt LHS traversal no longer traverses nested statements to avoid double conversion
- Logic conversion applies to `initial` blocks`
- new and modified tests to cover these cases
2019-04-08 21:28:33 -04:00
Zachary Snow
fb3d68e339
propper support for indexed part select addressing
2019-04-05 13:53:52 -04:00
Zachary Snow
f13275bfa1
fix Struct and Interface conversion for expressions within LHSs
2019-04-02 01:00:02 -04:00
Zachary Snow
00d12c7ae5
fixed combined ranges incorrect upper bound calculation
2019-04-01 02:26:40 -04:00
Zachary Snow
0a3e9f4f49
more range-bit edge cases in Struct conversion
2019-03-31 17:35:00 -04:00
Zachary Snow
650c602be9
struct conversion handles bit expressions and expressions outside of assignments
2019-03-31 17:00:55 -04:00
Zachary Snow
7883e263f9
several conversion bug fixes
...
- convert default pattern used to fill a vector
- convert Logic in parameter and localparam types
- interface conversion should happen early for type resolution later on
- interface conversion handles renaming of usages of inlined decls
2019-03-31 15:01:10 -04:00