Commit Graph

34 Commits

Author SHA1 Message Date
Guojie Luo 9682ad0340 Add UnitData in ModuleContext/UnitContext 2022-03-18 19:34:03 +08:00
Guojie Luo 80dc88afee Add preliminary codegen for event expression list 2022-03-18 08:45:13 +08:00
Guojie Luo 779405b22e Maintain sensitive list 2022-03-16 21:10:26 +08:00
Guojie Luo e8a6fedc99 Remove a variable in ModuleContext 2022-03-16 19:53:39 +08:00
Guojie Luo be64cf9b03 Add a few instructions for the always statement 2022-03-07 22:26:03 +08:00
Guojie Luo dbecb9889f Make minor modifications 2022-02-27 20:48:09 +08:00
张燕婷2001210542 2e49adf424 update tag.rs 2022-02-27 19:19:36 +08:00
张燕婷2001210542 ed5e74e695 update verilog-2005 2022-02-27 19:16:39 +08:00
Guojie Luo deb3ee2b23 Remove HashSet::from(...) 2022-02-27 11:20:21 +08:00
Guojie Luo 47d2307d1f Reorganize code for port & reg declaration 2022-02-27 10:43:02 +08:00
Guojie Luo 66cfb51cab Support process instantiation 2022-02-27 02:20:09 +08:00
Guojie Luo d172cbe5dd Add CaseStatement and NetVariableAssignment 2022-02-26 23:49:22 +08:00
Guojie Luo 429703ab70 Support parameter declaration 2022-02-26 17:53:13 +08:00
Guojie Luo 2f7a073c3a Support wire declaration 2022-02-26 16:48:03 +08:00
Guojie Luo 56747f67a4 Import input/output port extraction 2022-02-26 16:04:24 +08:00
Guojie Luo f3265cf832 Improve process instantiation 2022-02-26 13:53:11 +08:00
Guojie Luo f828f4177d Add EventExpressionList 2022-02-26 00:36:42 +08:00
Guojie Luo 84f1d283ed Keep track of r-values when visiting expressions 2022-02-26 00:16:43 +08:00
Guojie Luo 6974551843 Build and instantiate processes 2022-02-25 22:47:49 +08:00
Guojie Luo e46dbbcd7c Work on a correct instantiation of ExtUnit 2022-02-25 21:30:15 +08:00
Guojie Luo b0ffc2cfaa Make minor updates 2022-02-25 14:11:24 +08:00
Guojie Luo 5284760090 Make minor updates 2022-02-24 10:07:54 +08:00
Guojie Luo 975d44e212 Add more placeholders with TODO messages 2022-02-24 09:13:15 +08:00
Guojie Luo c93df679d3 Add empty methods to go through "fpga_hdl_defect/" 2022-02-24 08:19:27 +08:00
Guojie Luo 403d0d3112 Add cst::ProceduralTimingControlStatement 2022-02-21 23:18:34 +08:00
Guojie Luo cda478df3e Update executable x-lint 2022-02-19 17:43:44 +08:00
Guojie Luo 43ce73e5e2 Add executable x-lint 2022-02-19 15:29:58 +08:00
Guojie Luo d3c4fbc626 Update cst::AlwaysStatement 2022-02-19 12:50:51 +08:00
Guojie Luo dda95883e4 Add cst::AlwaysStatement 2022-02-19 10:41:17 +08:00
Guojie Luo 1f827c176f Add ModuleContext 2022-02-15 21:57:53 +08:00
Guojie Luo 92c19776cc Add one more test case 2022-02-14 22:00:45 +08:00
Guojie Luo 427b47d602 Improve the parsing of I/O ports 2022-02-14 20:04:27 +08:00
Guojie Luo 2bb1ff9f45 Create a preliminary codegen from CST to LLHD
TO-DO
* add a Context class to decouple the node analyzers
* learn codegen implementation from verible, moore, etc.
2022-02-12 21:09:47 +08:00
Guojie Luo 5be44ad94f Initial commit 2022-02-11 16:53:53 +08:00