Commit graph

127 commits

Author SHA1 Message Date
4c540bd109
nemu,build: build libnemu with nix
All checks were successful
Build abstract machine with nix / build-packages (abstract-machine) (push) Successful in 9s
Build abstract machine with nix / build-packages (nemu) (push) Successful in 20s
Build abstract machine with nix / build-packages (nemu-lib) (push) Successful in 9s
Build abstract machine with nix / build-packages (rv32Cross.abstract-machine) (push) Successful in 8s
Build npc tests / npc-build (flow) (push) Successful in 8s
Build npc tests / npc-build (flow-simlib) (push) Successful in 9s
2024-08-15 18:36:23 +08:00
0e408882b2
am,fix: printf cannot correctly handle trailing zeros
All checks were successful
Build abstract machine with nix / build-packages (abstract-machine) (push) Successful in 16s
Build abstract machine with nix / build-packages (nemu) (push) Successful in 7s
Build abstract machine with nix / build-packages (nemu-lib) (push) Successful in 7s
Build abstract machine with nix / build-packages (rv32Cross.abstract-machine) (push) Successful in 12s
Build npc tests / npc-build (flow) (push) Successful in 8s
Build npc tests / npc-build (flow-simlib) (push) Successful in 9s
2024-08-15 17:38:12 +08:00
3d64dbd200
am,build: put libm into am-native export interface
All checks were successful
Build abstract machine with nix / build-packages (abstract-machine) (push) Successful in 16s
Build abstract machine with nix / build-packages (nemu) (push) Successful in 7s
Build abstract machine with nix / build-packages (nemu-lib) (push) Successful in 7s
Build abstract machine with nix / build-packages (rv32Cross.abstract-machine) (push) Successful in 11s
Build npc tests / npc-build (flow) (push) Successful in 8s
Build npc tests / npc-build (flow-simlib) (push) Successful in 9s
- TODO: don't no why libm is needed, need further investigation.
2024-08-15 16:38:56 +08:00
1f3e64bb37
am,build: fix typo
All checks were successful
Build abstract machine with nix / build-packages (abstract-machine) (push) Successful in 16s
Build abstract machine with nix / build-packages (nemu) (push) Successful in 7s
Build abstract machine with nix / build-packages (nemu-lib) (push) Successful in 7s
Build abstract machine with nix / build-packages (rv32Cross.abstract-machine) (push) Successful in 12s
Build npc tests / npc-build (flow) (push) Successful in 7s
Build npc tests / npc-build (flow-simlib) (push) Successful in 9s
2024-08-15 16:13:42 +08:00
bc04c05081
am,build: propagate SDL to dependents 2024-08-15 16:13:15 +08:00
b403f8a40b
ci: fix am native tests
All checks were successful
Build abstract machine with nix / build-packages (abstract-machine) (push) Successful in 17s
Build abstract machine with nix / build-packages (nemu) (push) Successful in 8s
Build abstract machine with nix / build-packages (nemu-lib) (push) Successful in 7s
Build abstract machine with nix / build-packages (rv32Cross.abstract-machine) (push) Successful in 12s
Build npc tests / npc-build (flow) (push) Successful in 8s
Build npc tests / npc-build (flow-simlib) (push) Successful in 10s
2024-08-15 14:55:51 +08:00
5ba306c74e
npc,ci: fix wrong working directory
Some checks failed
Build abstract machine with nix / build-packages (abstract-machine) (push) Failing after 13s
Build abstract machine with nix / build-packages (nemu) (push) Successful in 8s
Build abstract machine with nix / build-packages (nemu-lib) (push) Successful in 8s
Build abstract machine with nix / build-packages (rv32Cross.abstract-machine) (push) Successful in 8s
Build npc tests / npc-build (flow) (push) Successful in 2m29s
Build npc tests / npc-build (flow-simlib) (push) Successful in 1m45s
2024-08-14 17:18:07 +08:00
64aee9ae21
npc,ci: add npc to nix packages
Some checks failed
Run CTests within npc / npc-test (flow) (push) Failing after 8s
Build abstract machine with nix / build-packages (abstract-machine) (push) Failing after 14s
Build abstract machine with nix / build-packages (nemu) (push) Successful in 41s
Build abstract machine with nix / build-packages (nemu-lib) (push) Successful in 9s
Build abstract machine with nix / build-packages (rv32Cross.abstract-machine) (push) Successful in 8s
Run CTests within npc / npc-test (flow-simlib) (push) Failing after 7s
2024-08-14 17:01:37 +08:00
8ee1551dc2
refactor: remove submodules
Some checks failed
Run CTests within npc / npc-test (push) Failing after 9m51s
Build abstract machine with nix / build-abstract-machine (push) Failing after 11m41s
2024-08-13 20:11:38 +08:00
96ae890632
nemu,chore: reformat c/c++ code 2024-08-13 18:49:08 +08:00
a5790308f0
npc,feat: add csr
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 1m1s
Run CTests within npc / npc-test (push) Failing after 56s
2024-08-11 20:25:42 +08:00
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