Commit Graph

82 Commits

Author SHA1 Message Date
Guojie Luo 1dde3554d1 Update SyntaxTable again 2022-04-28 20:42:47 +08:00
Guojie Luo afd3edfe79 Update SyntaxTable 2022-04-28 20:14:27 +08:00
Yanting Zhang f574007efd Update net_variable_assignment.rs 2022-04-28 19:20:02 +08:00
Yanting Zhang 274a910714 Update net_variable_assignment.rs
add drv value to syntax_table
2022-04-28 19:15:40 +08:00
Yanting Zhang b55516af5c Update always_statement.rs 2022-04-27 21:40:26 +08:00
Yanting Zhang b3cff5de98 Update always_statement.rs 2022-04-27 21:37:39 +08:00
Yanting Zhang 648e6dbd3c Update always_statement.rs 2022-04-27 21:16:34 +08:00
Yanting Zhang e430bd2ee7 Update always_statement.rs 2022-04-27 21:12:19 +08:00
Yanting Zhang 6a38b092d0 add value to syntax_table 2022-04-27 21:09:00 +08:00
Guojie Luo 76d7e98cec Move ModuleDeclaration to public 2022-04-27 16:35:47 +08:00
Guojie Luo ac58094568 Add tags for binary and unary operators 2022-04-26 20:51:00 +08:00
Yanting Zhang 828260b9ef Update tags.rs
add "~" unary operator
2022-04-26 20:30:48 +08:00
Yanting Zhang d7e3520d16 add binary operator "|" 2022-04-26 19:53:40 +08:00
Yanting Zhang 93ed3319d2 Update tags.rs 2022-04-26 19:41:30 +08:00
Yanting Zhang d2f9b38472 Update tags.rs 2022-04-26 19:22:39 +08:00
Guojie Luo 8e8196a791 Add collect_tag in Tools 2022-04-25 06:22:22 +08:00
Guojie Luo 9379c4ed26 Add line_count() method in CodeReporter 2022-04-25 02:13:53 +08:00
Guojie Luo b8fa36580c Add the "case" keyword 2022-04-24 22:16:58 +08:00
Guojie Luo e704762697 Maitain SyntaxTable in NetVariableAssignment 2022-04-24 14:07:38 +08:00
Guojie Luo c03f62e8fa Update SyntaxTable 2022-04-24 11:26:52 +08:00
Guojie Luo 01e15ce040 Add struct SyntaxTable 2022-04-24 09:29:53 +08:00
Guojie Luo 6c87b4d5f7 Support wire assignment in entity 2022-04-10 17:04:28 +08:00
Guojie Luo 848d9e48a8 Restructure symbol declaration 2022-04-10 15:30:48 +08:00
Guojie Luo 22b24e174d Restructure process declaration and instantiation 2022-04-10 13:29:28 +08:00
Guojie Luo eb2b2da020 Separate module and symbol declarations 2022-04-10 11:58:11 +08:00
Guojie Luo 7ab655df9b Fix a bug in case statement 2022-04-01 10:01:04 +08:00
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