Commit Graph

44 Commits

Author SHA1 Message Date
69adad54ad add test data 2024-07-24 11:54:23 +00:00
6c43aa77fb update gitignore 2024-07-24 02:49:29 +00:00
25c728b538 Merge branch 'DarkSharpness:main' into main 2024-07-24 10:32:56 +08:00
8434f3f137 fix: fix some bugs in tools 2024-07-24 10:32:27 +08:00
63ffb230d4 feat(modules): add a new modules demo 2024-07-24 10:31:53 +08:00
d6a4297284 Merge branch 'DarkSharpness:main' into main 2024-07-24 09:50:39 +08:00
65cae1aa77 chore(cmake): rename "demo" -> "alu" 2024-07-23 22:07:57 +08:00
5e5e0827a4 fix(tools): fix the to_signed method 2024-07-23 22:07:13 +08:00
c8194a314c docs(frame): cpu and module 2024-07-23 20:28:54 +08:00
888f33c235 build: add demo CMakeList.txt 2024-07-23 20:07:52 +08:00
2fc44f14c9 feat: fix compile error and update demo 2024-07-23 20:04:41 +08:00
80ff0d5682 style: use tab replace spaces
every one could change the length of tab but not of space
2024-07-23 18:46:37 +08:00
9038750dbe feat(frame): define module and cpu 2024-07-23 18:40:08 +08:00
edb0dae127 docs: enhanced document readability with the help of ChatGPT 2024-07-23 17:44:41 +08:00
d3572cc9dc docs: detail about the compiling command 2024-07-23 16:29:59 +08:00
7bc548d1ba setup devcontainer 2024-07-23 08:05:14 +00:00
4e9af85b89 fix(register): force to sync since the _M_assigned may not be available 2024-07-23 16:05:05 +08:00
192de26ad6 style: rename "tools" -> "tools.h" 2024-07-23 11:07:32 +08:00
ec8b3895ff feat(alu): add an alu demo 2024-07-12 11:36:09 +08:00
3572058025 feat(tool): add some in-hand functions 2024-07-12 11:35:32 +08:00
246d44f80c fix(op): fix some op and add more 2024-07-12 11:34:26 +08:00
d89885cd97 docs: add more document 2024-07-12 11:02:42 +08:00
2ec5bb6aec refactor(wire): use bit-field to restrict the value 2024-07-12 10:34:40 +08:00
6115549a7e feat(op): add more bit op 2024-07-12 10:31:57 +08:00
4760da41fb docs(README): add more details 2024-07-11 23:22:32 +08:00
28c57b6163 fix: add dark::Visitor to tools & make default ctor implicit for reflection 2024-07-11 23:20:17 +08:00
c62a48127e doc(README): add a readme 2024-07-11 23:00:02 +08:00
b40b23853b fix: fix the wrong type for static member "_Bit_Len" 2024-07-11 22:26:10 +08:00
4d287201b9 feat(tool): add a header to include all the utilities 2024-07-11 22:16:24 +08:00
0d3d27d202 fix(register): fix wrong rvalue binding (should be const ref) 2024-07-11 22:12:59 +08:00
3dce8b2c23 fix(wire): fix the wrong definition of wire function 2024-07-11 22:12:29 +08:00
f680da291d fix(concept): add the missing headers 2024-07-11 22:11:26 +08:00
72b0c5bcf0 feat(wire & register): implement these 2 components 2024-07-11 21:53:52 +08:00
7ebe48fe09 refactor(bit): change some concept constraints 2024-07-11 21:52:53 +08:00
5574542bfe feat(bit): complete operators for operation on bit type 2024-07-11 20:56:06 +08:00
1693df2820 refactor: redesign the type system | embrace the new bit_type concept 2024-07-11 20:38:05 +08:00
f3d2074a79 feat(bit): add at and subscript [] access for bit class 2024-07-11 18:48:42 +08:00
f8bb311fcb fix(sync): do not sync const objects 2024-07-11 18:48:02 +08:00
7d7602f6e9 feat(debug): disable debug in non-debug mode 2024-07-11 18:47:17 +08:00
d4a9987087 fix(bit): fix the wrong pass-by-value for non-bit types 2024-07-11 00:35:42 +08:00
4e43d84480 fix(hardware): disable Register from copy/move construct/assignment 2024-07-11 00:32:27 +08:00
5f82fe975c feat(bit): add a demo and add some functions for the bit class 2024-07-09 23:19:36 +08:00
39254c4557 feat(bit): complete a bit simulate library 2024-07-09 22:54:00 +08:00
68dd99a826 initial commit | complete a draft outline 2024-07-09 21:04:36 +08:00