Commit graph

116 commits

Author SHA1 Message Date
ba18436c6c
npc,chore: reformat scala code 2024-08-09 19:58:28 +08:00
d9efde7a44
npc: add cmake-format for verilate macro
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 40s
Run CTests within npc / npc-test (push) Failing after 42s
2024-08-02 12:08:03 +08:00
de9f770d08
npc,refactor: remove original difftest wrapper, cleanup code
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 53s
Run CTests within npc / npc-test (push) Failing after 48s
2024-08-02 11:18:52 +08:00
85d7840804
npc: split gdbstub api into seperate file 2024-08-01 18:53:17 +08:00
fed4ac225d
abstract-machine,nemu: add keyboard support
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 49s
Run CTests within npc / npc-test (push) Failing after 54s
2024-07-26 13:44:52 +08:00
c9ad69a32d
nemu: break before executing instruction
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 45s
Run CTests within npc / npc-test (push) Failing after 47s
2024-07-25 17:56:30 +08:00
385d448746
abstract-machine(nemu): support context switch 2024-07-25 17:16:41 +08:00
ef51673020
refactor: move cross compile to seperate flake attribute
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 46s
Run CTests within npc / npc-test (push) Failing after 48s
2024-07-23 17:16:40 +08:00
422ff9e006
refactor: drop internal difftest support 2024-07-23 17:15:35 +08:00
f852ee8689
chore: update dependency
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 7m12s
Run CTests within npc / npc-test (push) Failing after 6m24s
2024-07-22 18:37:31 +08:00
b317827c3c
chore: clang format 2024-07-22 17:45:49 +08:00
f5ea31f676
chore(nemu): default to use unix socket for gdbstub 2024-07-18 19:21:17 +08:00
d46cd7b4ae
feat(npc): port to export gdbstub api 2024-07-18 19:16:15 +08:00
8ffab061ed
feat: export gdbstub api to be used by difftest
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 1m41s
Run CTests within npc / npc-test (push) Failing after 2m25s
2024-07-16 14:40:01 +08:00
5a97fab28f
feat: add diffu as submodule 2024-07-16 14:35:35 +08:00
2ab098d181
npc: drop sdb, use gdb as frontend 2024-07-10 20:27:09 +08:00
7c982b238b
nemu: update devShell deps
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 1m10s
Run CTests within npc / npc-test (push) Failing after 1m37s
2024-07-09 20:43:47 +08:00
3acab0a751
npc: wip, cannot build 2024-07-09 20:42:01 +08:00
29a9850210
chore: update gitignore and submodules
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 2m30s
Run CTests within npc / npc-test (push) Failing after 2m40s
2024-07-09 18:44:26 +08:00
955f1f2d79
klib: printf support 2024-07-09 17:26:11 +08:00
f38674ce79
nemu: use NEMU_IMAGES_PATH as image search paths 2024-07-09 17:06:15 +08:00
7f0d1ba75a
feat(nemu): gdb remote debug 2024-04-25 16:54:27 +08:00
a54c0d6480
build: build am for multiple platform in parallel 2024-04-14 14:39:57 +08:00
6ab5d4c156
build: fix rules and dependencies
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 14m31s
Run CTests within npc / npc-test (push) Failing after 15m23s
2024-04-12 16:39:50 +08:00
4bc4c34af4
build: pin sbt version 2024-04-12 15:22:47 +08:00
8665aaf7d2
fix(npc): fix branch, load memory and slt related instructions 2024-04-12 14:10:32 +08:00
9f64a88f8d
feat(npc): add mtrace 2024-04-12 09:35:41 +08:00
4c07b66093
build: fix ysyx tracker
The git tracker for npc is not working since I refactor build system at commit f02d5eb2.
2024-04-11 14:07:05 +08:00
e99236f711
feat(npc): ebreak support through external inst matching 2024-04-11 11:44:54 +08:00
55230247b2
fix(npc): jalr wrong imm 2024-04-11 09:21:17 +08:00
89847cfdb4
feat(npc): difftest execution abstraction layer 2024-04-10 20:12:41 +08:00
e828e140cd
feat(sdb): support sdb
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Successful in 2m41s
Run CTests within npc / npc-test (push) Has been cancelled
2024-04-09 17:03:21 +08:00
8500df8a6e
feat(npc): implement all riscv32i intructions (untested) 2024-04-08 22:51:51 +08:00
50f7d4d7b9
ci: fix action cache
All checks were successful
Build abstract machine with nix / build-abstract-machine (push) Successful in 1m48s
Run CTests within npc / npc-test (push) Successful in 2m34s
2024-04-05 14:53:20 +08:00
xin
ca06354f16 Merge pull request 'Add difftest support to npc' (#3) from npc-debug-tools into master
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Successful in 3m58s
Run CTests within npc / npc-test (push) Failing after 8m21s
Reviewed-on: #3
2024-04-05 05:14:44 +00:00
e1438e25ed
ci: add npc difftest
All checks were successful
Run CTests within npc / npc-test (push) Successful in 8m53s
Build abstract machine with nix / build-abstract-machine (pull_request) Successful in 4m37s
2024-04-05 12:58:16 +08:00
6f7d7ba383
chore: move components to seperate folder 2024-04-05 10:40:55 +08:00
c242e8c507
chore: move npc devshell to root directory 2024-04-05 10:23:28 +08:00
f02d5eb2f1
build: split CMakeLists
- Put add_custom_command into seperate ChiselBuild module. Otherwise
  final target cannot correctly depends on scala sources.
2024-04-05 02:12:30 +08:00
849f2bb5f3
feat: difftest framework 2024-04-05 00:16:58 +08:00
97cf418c86
refactor: move to dpi module for memory access 2024-04-03 22:42:39 +08:00
a478ef7639
export memory read and write functions 2024-04-02 16:15:16 +08:00
a91adb3a7d
wrap verilated model 2024-04-02 14:30:14 +08:00
db66021248
Class wrapper for regiters 2024-04-02 13:35:29 +08:00
84c8de8461
npc: reg file access through vpi 2024-03-29 10:35:49 +08:00
dc2cb010ce
ci: run only on push to master
All checks were successful
Build abstract machine with nix / build-abstract-machine (push) Successful in 1m21s
2024-03-26 13:34:52 +08:00
e2602b5bad
ci: fix push to cachix
All checks were successful
Build abstract machine with nix / build-abstract-machine (push) Successful in 8m25s
2024-03-26 13:06:25 +08:00
2209c26dce
nemu: fix some memory bug
All checks were successful
Build abstract machine with nix / build-abstract-machine (push) Successful in 8m7s
2024-03-26 12:43:03 +08:00
b02b1d2e37
ci: build with submodules turned on for nix
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 8m23s
2024-03-26 11:39:49 +08:00
xin
c29cbf8090 Merge pull request 'npc: basic architecture implementation' (#2) from npc into master
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 7m45s
Reviewed-on: #2
2024-03-26 03:12:58 +00:00