Commit Graph

156 Commits

Author SHA1 Message Date
Guojie Luo 929abdaf85 Remove empty blocks after process creation 2022-04-01 02:29:31 +08:00
Guojie Luo 382673adbc Support bitfield access in struct Expression 2022-03-31 21:59:00 +08:00
Guojie Luo 4835e10241 Support conditional expression 2022-03-31 21:43:22 +08:00
Guojie Luo b216fa34d4 Add struct Number 2022-03-31 20:14:57 +08:00
Guojie Luo 1ae3c4c0ab Try num-bigint = "0.3.3" 2022-03-25 23:57:15 +08:00
Guojie Luo d545473016 Try num = "0.3.1" 2022-03-25 23:50:09 +08:00
Guojie Luo 332f496f73 Try num_bigint::BigInt 2022-03-25 23:42:41 +08:00
Guojie Luo 47889d1f9a Add license file 2022-03-25 23:35:04 +08:00
Guojie Luo f3f7113dc5 Debug case statement by supporting other semantics 2022-03-22 17:57:37 +08:00
Guojie Luo 83dfd6e618 Add a preliminary codegen of case statement 2022-03-22 10:27:05 +08:00
Guojie Luo 47b085e249 Simplify some code 2022-03-22 08:48:58 +08:00
Guojie Luo 24c3b5128d Refine error messages 2022-03-22 08:08:45 +08:00
Guojie Luo 0ddac7d312 Fix a bug in conditional statement 2022-03-21 23:26:17 +08:00
Guojie Luo c0191515e6 Change package name back to cst-to-llhd 2022-03-21 18:31:06 +08:00
Guojie Luo 206ec141a2 Make minor updates 2022-03-20 14:22:33 +08:00
Guojie Luo b496ac1eb4 Remove unnecessary set_name() for values 2022-03-20 14:03:36 +08:00
Guojie Luo e70336f2ec Fix a bug in the codegen of conditional statement 2022-03-20 10:55:58 +08:00
Guojie Luo 2437c8bfd5 Finish preliminary codegen for the counter example 2022-03-20 00:03:33 +08:00
Guojie Luo b9d071bda9 Add preliminary codegen for number 2022-03-19 20:54:23 +08:00
Guojie Luo 1ef1323927 Add preliminary codegen for conditional statement 2022-03-19 18:43:19 +08:00
Guojie Luo cd015524b0 Prepare for codegen of conditional statement 2022-03-19 17:04:40 +08:00
Guojie Luo dcf133128f Rename intermediate variables in processes 2022-03-19 00:46:28 +08:00
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