Commit graph

89 commits

Author SHA1 Message Date
ccfd443e5d update(docs): add docs on validator 2025-03-31 17:53:44 +09:00
cba5b8594b Refactor error msg 2025-03-28 03:50:37 +00:00
b5d165a3f5 Refactor const def 2025-03-27 16:08:42 +00:00
e6e7ada193 run formatter (diff are maybe due to edition) 2025-03-27 19:19:05 +09:00
b9f6dc6c23 update rust edition 2025-03-27 19:07:18 +09:00
1104f826fc release 0.3.0 2025-03-27 18:52:52 +09:00
5c7aa91d56 fix(generator): avoid constant name duplication of mask and value 2025-03-27 18:22:30 +09:00
fa777f43fb Allow mask definition in register with fields, iff they match 2025-03-27 09:09:47 +00:00
205b08400b Allow definition of overlapped register with non-overlapped fields 2025-03-13 13:12:49 +00:00
8732afd297 update(bin): add doccomments to subcommands 2025-03-11 19:49:16 +09:00
d0d5299101 update(bin): enable flatmap in bin feature 2025-03-11 19:48:55 +09:00
76595d0c92 change(validator): add AddressOutofRange error 2025-02-22 23:52:45 +09:00
06a5429583 refactor(integrated): remove printlns in fn generate 2025-02-22 23:52:18 +09:00
9971774a01 fix: use super::RegisterInterface 2025-02-22 04:46:03 +09:00
f8c653a1cc Add validator and flattened map generator 2025-02-21 15:47:34 +00:00
605228e2b5 update(CHANGELOG): on multiple backends 2025-02-20 22:07:19 +09:00
dd119ccdb8 Multiple backends 2025-02-20 13:01:02 +00:00
testuser
e62d935829 fmt: 2025-02-20 15:18:18 +09:00
testuser
34e1528745 refactor(generator): change CodeGenError name 2025-02-20 15:13:56 +09:00
122f7a4b3e bump to 0.2.0 2025-02-12 22:14:00 +09:00
9555b743f9 Xml metadata embedding 2025-02-12 13:10:48 +00:00
f714b42249 update(README): add badges 2025-02-10 22:32:01 +09:00
82d9978987 update CHANGELOG 2025-02-10 22:24:11 +09:00
25dba869db refactor: loosen dep compat & separate bin as feature 2025-02-10 22:21:05 +09:00
3fc6bd14fe bump to v0.1.0 2025-02-07 19:48:18 +09:00
72371e52bf update: Cargo.toml 2025-02-07 19:46:49 +09:00
a652b40228 Prepare for release (Refine cli, writing docs) 2025-02-07 10:37:18 +00:00
c4407639a0 Add CI 2025-02-07 09:10:04 +00:00
b0ceb39278 new: embed generation metadata (generator & xml) 2025-02-07 17:49:34 +09:00
d41bc7c1b0 add: dependencies 2025-02-07 17:47:49 +09:00
76c19d194d new: file IO & formatting & update docs with an example 2025-02-06 20:58:59 +09:00
a6c56ef9d6 refactor: make only top level codegen is public and CodeGen private 2025-02-06 18:54:11 +09:00
testuser
472723016c update(generator): return error when block has multiple 2025-02-03 19:55:05 +09:00
testuser
ae01a30cb0 fix(generator): add explicit cast to change types of array size & ptr offset 2025-02-03 19:41:45 +09:00
testuser
d85642dcec new(generator): multiple register 2025-02-03 19:09:35 +09:00
testuser
7aba746503 fix(main): error dir name was changed 2025-02-03 17:53:35 +09:00
testuser
b5a189f9a1 new(codegen_register): add docs 2025-02-03 17:51:54 +09:00
testuser
3e72513b75 fix(generator): syntax for top level doccment 2025-02-03 17:51:15 +09:00
testuser
76310c64a3 clippy lint 2025-02-03 04:44:31 +09:00
testuser
6ff047563c new(main): add filesystem io 2025-02-03 04:39:01 +09:00
testuser
fd106e3355 new(generator): separate modules for each blocks (not yet implemented file io) 2025-02-03 03:07:40 +09:00
cb67f9648b fix: add explicit casting in single Ux field generation (Now, it atually passed compiling!) 2025-02-02 16:58:32 +09:00
d2f9cd603f fix: missing interpolation (impl CodeGen for Register, Debug) 2025-02-02 16:57:37 +09:00
cba4b3af05 fix: missing interpolation (impl CodeGen for Block, RegisterInterface) 2025-02-02 16:57:07 +09:00
9e7a83242b fix: add parent_name to CodeGen to properly refer to parent name, and add Reg to register children
One more: if parent is RegisterInterface, lifetime param is omitted
2025-02-02 16:55:37 +09:00
5f7db47fcf fix: missing interpolation (generate_single_ux_field, mask -> #mask_name) 2025-02-02 16:51:12 +09:00
fe6ce5a0dd fix: missing interpolation (generate_multiple_bool_field, BANK121_GTY_CHANNEL_MASK) 2025-02-02 16:50:33 +09:00
71c25dd379 fix: missing interpolation (reg_type_def_with_field, GtyDelayBank123) 2025-02-02 16:49:54 +09:00
cc0fe59b28 fix: missing interpolation (reg_type_def_masked, SlId) 2025-02-02 16:48:53 +09:00
9a882fdab1 new: printto file in main 2025-02-02 16:48:15 +09:00