Commit Graph

68 Commits

Author SHA1 Message Date
Zachary Snow 64a2610b76 explicitly default function input types to 2019-03-06 15:07:22 -05:00
Zachary Snow 4c49bd1138 function return type logic to implicit conversion 2019-03-06 14:36:16 -05:00
Zachary Snow 9699f5bf16 preliminary struct conversion; return conversion 2019-03-06 01:13:36 -05:00
Zachary Snow 4d3669d356 added support for other procedural loops 2019-03-04 21:34:32 -05:00
Zachary Snow de728f3060 added some support for a few key non-synthesizable constructs 2019-03-04 21:04:22 -05:00
Zachary Snow ff81267132 added conversion for genvar iteration AsgnOps 2019-03-04 19:58:54 -05:00
Zachary Snow 460c0ee497 broader operator support; other parser cleanup 2019-03-04 18:25:14 -05:00
Zachary Snow 4394dc1737 Fix PackedArray conversion after recursive Expr and LHS 2019-03-04 16:10:01 -05:00
Zachary Snow e1799de5f9 Expr bits and ranges are recursive (as they should have been) 2019-03-04 15:46:21 -05:00
Zachary Snow 59efba06ac LHSs are recursive (as they should have been) 2019-03-04 15:16:53 -05:00
Zachary Snow b95af2b6d1 support for automatic functions 2019-03-04 14:25:38 -05:00
Zachary Snow 729a75cd11 support for interfaces; new "declaration parser" 2019-03-04 02:58:00 -05:00
Zachary Snow b2e0c4fa97 preliminary support for structs 2019-03-01 20:32:46 -05:00
Zachary Snow ab91eaafd7 initial version of enum conversion 2019-02-28 22:44:31 -05:00
Zachary Snow 816d959fc8 rewrite Typedef conversion to use Traverse 2019-02-28 20:30:21 -05:00
Zachary Snow fd0bccfbd8 rewrote PackedArray to properly handle the various scenarios 2019-02-28 19:48:58 -05:00
Zachary Snow a6cd3626f5 small pre-refactor PackedArray fixes 2019-02-28 18:04:34 -05:00
Zachary Snow e1d6da00dd moved some expression traversal logic from PackedArray to Traverse 2019-02-28 17:12:37 -05:00
Zachary Snow 945923b3fd cleaned up command line args module a bit 2019-02-28 14:06:35 -05:00
Zachary Snow 7bc81ef67b directory re-org; streamline build setup 2019-02-28 13:52:31 -05:00
Zachary Snow 107291e705 significant refactor of packed array flatten conversion; now supports module items in generate blocks 2019-02-28 00:16:53 -05:00
Zachary Snow cf23267783 split up Yosys and VTR targeting 2019-02-26 15:03:49 -05:00
Zachary Snow 3a507d5fbc conversion for splitting up port declaration variables 2019-02-26 13:55:34 -05:00
Zachary Snow cda40a13d0 more fleshed out Traverse module 2019-02-25 16:19:55 -05:00
Zachary Snow 8f5620da8e my eyes are open 2019-02-25 04:03:03 -05:00
Zachary Snow 751b3ad3fc initial work on Traverse AST transformations 2019-02-25 02:36:37 -05:00
Zachary Snow 65e288fce8 added initial Readme; tweaked copyright notice 2019-02-24 14:59:00 -05:00
Zachary Snow 27147c5489 some tweaks to output formatting 2019-02-24 03:19:02 -05:00
Zachary Snow 50b7bf2839 huge pass at revamping AST to be more general, easy to work with 2019-02-24 03:06:40 -05:00
Zachary Snow e795109f5f preliminary support for enums 2019-02-23 21:24:13 -05:00
Zachary Snow b81341c0ac support for casex and casez, and their conversions 2019-02-23 15:10:25 -05:00
Zachary Snow b01003fab1 cleaner PAF output; PAF puts new items right after the old ones 2019-02-22 17:21:16 -05:00
Zachary Snow f895f4f045 fix some silly edge cases in round-tripping output 2019-02-22 13:55:48 -05:00
Zachary Snow 546657d2c3 added (very hacky) PackedArrayFlatten conversion; convert logics in generate 2019-02-21 20:12:34 -05:00
Zachary Snow 0c08b9aebb preliminary support for multi-dimensional vector types 2019-02-20 16:03:04 -05:00
Zachary Snow 2ee5b6e039 suport for in module instantiations 2019-02-20 15:22:26 -05:00
Zachary Snow 5fae85e6cd very preliminary support for typedefs 2019-02-18 03:59:17 -05:00
Zachary Snow f11f1efea1 address warnings in Preprocess.hs 2019-02-18 02:28:44 -05:00
Zachary Snow 4762d40f58 cleanup in Lex.x and Tokens.hs 2019-02-18 02:23:56 -05:00
Zachary Snow 659461b8d2 always construct conversion; more modular conversion approach 2019-02-18 01:38:16 -05:00
Zachary Snow 35a75cc46f more proper support for always constructs and event_controls 2019-02-18 00:26:43 -05:00
Zachary Snow d47c5493a3 added logic to module items; toying with initial Conversion 2019-02-17 23:39:01 -05:00
Zachary Snow d36e5bfe0b minor cleanup in AST and Parse.y 2019-02-17 21:17:00 -05:00
Zachary Snow d34dc7dfeb support for arithmetic shifts 2019-02-17 20:52:01 -05:00
Zachary Snow d4c6c0d014 support for multiple module instantiations on one line and for module instantiations with no ports 2019-02-17 18:50:56 -05:00
Zachary Snow 06b47b06ee preliminary support for generators 2019-02-17 18:33:20 -05:00
Zachary Snow b0d573c51f removed BitVec exprs to preserve number formatting 2019-02-17 14:54:12 -05:00
Zachary Snow a3937a2719 fix preproccessing multi-line defines messing up line numbers 2019-02-17 14:39:33 -05:00
Zachary Snow 738c2b9efc support for functions with no block decls; fix parse of block reg decls 2019-02-17 03:30:51 -05:00
Zachary Snow 57630b77bd preliminary support for functions 2019-02-14 23:29:42 -05:00