KGrykiel
3b89387e0a
Debugger fix ( #32 )
...
fixed an issue where debugger had an error when trying to dump registers. It tried to use get() method instead of get_f() method. Also changed format of floating point registers to show up as floats instead of Hex.
1 year ago
Sasha Lopoukhine
07265f26c9
allow for infinite registers in sw/lw instructions ( #31 )
1 year ago
Alban Dutilleul
801b165e70
fix various semantic mismatchs in RV32F ( #27 )
1 year ago
Alban Dutilleul
7e34855ad1
format using black ( #28 )
1 year ago
Anton Lydike
26d7f65cc1
add deployment github workflow
1 year ago
Anton Lydike
2ec134f612
bump version to 2.1.0
1 year ago
Anton Lydike
be90879f86
Add support for floats ( #22 )
...
Adding a `Float32` datatype is necessary, since python makes no guarantees to the bitwidth of `float` (it's often a double)
Also adding the `RV32F` extension with most operations implemented, and support for floating point registers.
1 year ago
Sasha Lopoukhine
5a23804ad8
add py.typed file for riscemu to declare itself as a typed python package ( #21 )
...
* add py.typed to setup.py package_data
* create py.typed file
* move py.typed
1 year ago
Sasha Lopoukhine
a217705d1f
add a couple of type annotations in parser.py
1 year ago
Anton Lydike
d508e01a6b
misc: test python 3.8 in CI, add cfg arg to RiscemuRunner
1 year ago
Anton Lydike
47a9b12263
misc: improve typing and structure
1 year ago
Anton Lydike
1c2dad94e2
main: major overhaul of how __main__ works
1 year ago
Anton Lydike
8ac4a56c08
libc: add tests and fix a bunch of bugs in string.s
1 year ago
Anton Lydike
41d17daeaf
syscall: reformat and fix exit() for signed integers
1 year ago
Anton Lydike
283bb1ae14
core: refactor how launch() works in preperation for libc integration
1 year ago
Anton Lydike
270c3e7090
assembler: fix bug with zero-termination of strings
1 year ago
Anton Lydike
86250157b7
regs: add __repr__
1 year ago
Anton Lydike
dfc0ed7862
updated .idea
1 year ago
Anton Lydike
d9058a0ca0
add lit gitignore
1 year ago
Anton Lydike
1bb0770061
remove lit artifact
1 year ago
Anton Lydike
1bd754953c
runtime: move start of libc into separate folder
1 year ago
Anton Lydike
a28bf834ac
runtime: add a basic stdlib and crt0 file
1 year ago
Anton Lydike
207cf918ef
syscall: add partial support for mmap2 syscall
1 year ago
Anton Lydike
c7e14a3b42
misc: annotations and dead code removal
1 year ago
Anton Lydike
7a4972d48f
fix jalr instruction to take arguments in the form of rd, rs, imm
1 year ago
Sasha Lopoukhine
25d059da09
add some typing annotations ( #20 )
...
* add some typing annotations
* minor additions
* import Optional
* format with black
* review comments
---------
Co-authored-by: Anton Lydike <me@antonlydike.de>
2 years ago
Anton Lydike
d6d3a18aa6
minor additions
2 years ago
Anton Lydike
1ea5bb2edc
more filechecks?
2 years ago
Anton Lydike
2f6073b4df
fix whitespace issues
2 years ago
Anton Lydike
189dc63ceb
add lit filecheck
2 years ago
Anton Lydike
0c37be3c4d
fix ci (pt3) ?
2 years ago
Anton Lydike
a51681811f
fix ci (pt2) ?
2 years ago
Anton Lydike
87968d08d9
fix ci?
2 years ago
Anton Lydike
94d01a97d9
add ci
2 years ago
Anton Lydike
448b19c144
add blame ignore commit
2 years ago
Anton Lydike
5515c7795c
format black
2 years ago
Anton Lydike
e1fbe4f11d
fix testing infra
2 years ago
Anton Lydike
dd77d1b387
minor cleanup
2 years ago
Anton Lydike
1b26497e4c
base: add debug instructions
2 years ago
Anton Lydike
b5ebe13528
release 2.0.5
2 years ago
Anton Lydike
51d23a1630
updated .idea files
2 years ago
Anton Lydike
636e06f243
add an unlimited register mode
2 years ago
Anton Lydike
86063d64d7
version update: 2.0.4
2 years ago
Anton Lydike
5caf0d604d
rv32i: respect conf.debug_instruction setting
2 years ago
Anton Lydike
36e8c9c9ce
misc: fixed a typo in a docstring
2 years ago
Emilien Bauer
f7e7c41034
Deploy RiscEmu in a JupyterLite distribution. ( #18 )
...
* Try and deploy a RiscEmu JupyterLite distribution.
* Add examples to the JupyterLite deployment.
* Add some demo notebooks and link to it in Readme.
Co-authored-by: Emilien Bauer <bauer.emilien@gmail.com>
2 years ago
K-W-Li
1d65b236f4
Fix sign issue in parse_rd_rs_rs ( #16 )
2 years ago
Anton Lydike
be0591ed25
release of 2.0.3
3 years ago
Anton Lydike
d353353748
fixed link in syscall docs
3 years ago
Anton Lydike
ce5b01d463
Parser: fixed error when labels where used outside of sections
3 years ago