Commit graph

81 commits

Author SHA1 Message Date
512fc82399
ci: add npc difftest
Some checks failed
Run CTests within npc / build-abstract-machine (push) Failing after 4m13s
2024-04-05 11:51:14 +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
xin
642444b384 Merge branch 'master' into npc
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Has been cancelled
2024-03-26 03:12:30 +00:00
xin
1cd55fb7cb Merge pull request 'pa2.2: klib and difftest' (#1) from pa2 into master
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Has been cancelled
Reviewed-on: #1
2024-03-26 03:00:49 +00:00
d5feb71b50
nemu: try difftest
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 7m47s
2024-03-26 01:53:17 +08:00
d5521806d9
ci: init
Some checks failed
Build abstract machine with nix / build-abstract-machine (push) Failing after 7m49s
2024-03-26 00:23:13 +08:00
2cc992a181
am: build with nix 2024-03-25 17:33:04 +08:00
8545a92c1f
pa2.2: nemu small fixes 2024-03-25 17:02:12 +08:00
da0c42422d
build: init cmake build system for am 2024-03-25 16:56:16 +08:00
18db852763 pa2.2: fix ftrace switch 2024-03-20 20:11:21 +08:00
a62a132587 pa2.2: cleanup includes 2024-03-20 20:07:28 +08:00
9229e4318e pa2.2: add ftrace 2024-03-20 19:46:54 +08:00
0f7c6fd508
pa2.2: add memory tracer 2024-03-13 18:14:17 +08:00
c917083554
pa2.2: add ITRACE buffer 2024-03-13 16:54:00 +08:00
f1a575b2fd
npc: basic architecture implementation 2024-03-13 14:53:31 +08:00
d67fb1138a
npc: Register File 2024-03-11 21:41:45 +08:00
tracer-ysyx
64f891308e > configure(npc)
ysyx_22040000 李心杨
 Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar  1 12:35:11 UTC 2024 x86_64 GNU/Linux
  18:16:48  up   3:36,  2 users,  load average: 0.28, 0.25, 0.34
2024-03-07 18:16:48 +08:00
833cf7b6d1
pa2.1: add M extension support, finish pa2.1 2024-03-07 13:19:12 +08:00
e764133868
pa2.1: support RV32I instructions 2024-03-06 12:50:56 +08:00
3c7c5f060e
build: initial support for building nemu, am-kernels with nix 2024-03-04 12:05:43 +08:00
f9808d0a40
before pa2 2024-03-04 11:57:52 +08:00
86ba43a25b
fix: see NJU-ProjectN/nemu#85 2024-03-03 20:58:29 +08:00
12f5ba0897
NJU-ProjectN/am-kernels ics2021 initialized without tracing
NJU-ProjectN/am-kernels bb725d6f8223dd7de831c3b692e8c4531e9d01af kernels,demo,donut: only clear screen before drawing
2024-03-03 11:26:08 +08:00
504d270947 pa1.3: watchpoint support 2024-02-08 20:07:03 +08:00
2675a647b0
fix: change x paddr to vaddr 2024-02-05 22:53:39 +08:00
4aa536e1ef
pa1.2: fix include and word type 2024-01-13 11:42:35 +08:00
ebece52aec
pa1.2: remove unused expr parsing code 2024-01-13 10:39:51 +08:00
e19e89f70e
pa1.2: add unit tests 2024-01-13 10:38:20 +08:00
9cca9de2a8
pa1.2: use flex and bason to implement expr parser 2024-01-12 22:16:35 +08:00
69264e69c6
pa1.1: add handler for x, info, si 2024-01-11 23:00:49 +08:00
4770b4ce97
fix: failed at quit 2024-01-11 17:36:00 +08:00
1af1dbcd20
fix: always false assertion 2024-01-11 17:29:23 +08:00
096cc220d1
nemu: basic devShell 2024-01-11 17:14:41 +08:00
fd3838a61d
fix: unnecessary chisel test 2024-01-11 15:15:33 +08:00
4a38cb566b
refactor: clean SegControllerGenerator 2024-01-10 21:45:50 +08:00
674702b552
fix counter error 2024-01-10 20:54:34 +08:00
1118f64668
Add ps/2 keyboard module 2024-01-10 20:20:45 +08:00