other usage of docker image
This commit is contained in:
parent
e31eae3f9e
commit
a91e590d6d
16
README.md
16
README.md
|
@ -9,8 +9,8 @@ It supports RV32IMAC Instruction set by now.
|
||||||
[![travis](https://travis-ci.org/mariusmm/RISC-V-TLM.svg?branch=master)](https://travis-ci.org/mariusmm/RISC-V-TLM)
|
[![travis](https://travis-ci.org/mariusmm/RISC-V-TLM.svg?branch=master)](https://travis-ci.org/mariusmm/RISC-V-TLM)
|
||||||
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/0f7ccc8435f14ce2b241b3bfead772a2)](https://www.codacy.com/app/mariusmm/RISC-V-TLM?utm_source=github.com&utm_medium=referral&utm_content=mariusmm/RISC-V-TLM&utm_campaign=Badge_Grade)
|
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/0f7ccc8435f14ce2b241b3bfead772a2)](https://www.codacy.com/app/mariusmm/RISC-V-TLM?utm_source=github.com&utm_medium=referral&utm_content=mariusmm/RISC-V-TLM&utm_campaign=Badge_Grade)
|
||||||
[![license](https://img.shields.io/badge/license-GNU--3.0-green.svg)](https://github.com/mariusmm/RISC-V-TLM/blob/master/LICENSE)
|
[![license](https://img.shields.io/badge/license-GNU--3.0-green.svg)](https://github.com/mariusmm/RISC-V-TLM/blob/master/LICENSE)
|
||||||
|
[![Docker](https://img.shields.io/docker/automated/mariusmm/riscv-tlm.svg?style=flat)](https://hub.docker.com/r/mariusmm/riscv-tlm)
|
||||||
[![Twitter URL](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/mariusmonton)
|
[![Twitter URL](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/mariusmonton)
|
||||||
|
|
||||||
---
|
---
|
||||||
Table of Contents
|
Table of Contents
|
||||||
=================
|
=================
|
||||||
|
@ -71,7 +71,7 @@ This is a preliminar and incomplete version.
|
||||||
|
|
||||||
Task to do:
|
Task to do:
|
||||||
- [x] Implement all missing instructions (Execute)
|
- [x] Implement all missing instructions (Execute)
|
||||||
- [x] Implement CSRs (where/how?)
|
- [x] Implement CSRs ~~(where/how?)~~
|
||||||
- [ ] Add full support to read file with memory contents (to memory.h)
|
- [ ] Add full support to read file with memory contents (to memory.h)
|
||||||
- [ ] .elf files
|
- [ ] .elf files
|
||||||
- [x] .hex files (only partial .hex support)
|
- [x] .hex files (only partial .hex support)
|
||||||
|
@ -107,6 +107,9 @@ And then you can execute the simulator:
|
||||||
$ ./RISCV_TLM asm/BasicLoop.hex
|
$ ./RISCV_TLM asm/BasicLoop.hex
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Arguments
|
||||||
|
-D loglevel: 3 for detailed (INFO) log, 0 to ERROR log level
|
||||||
|
-f filename .hex filename to use
|
||||||
|
|
||||||
## Docker container
|
## Docker container
|
||||||
|
|
||||||
|
@ -138,6 +141,14 @@ $ docker run -v /tmp:/tmp -it mariusmm/riscv-tlm /bin/bash
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
```
|
||||||
|
...
|
||||||
|
console 2:
|
||||||
|
$ docker run -v /tmp/tmp -it mariusmm/riscv-tlm /usr/src/riscv64/RISC-V-TLM/RISCV_TLM /tmp/file.hex
|
||||||
|
```
|
||||||
|
|
||||||
Performance is not affected by running the simulator inside the container
|
Performance is not affected by running the simulator inside the container
|
||||||
|
|
||||||
## Test
|
## Test
|
||||||
|
@ -178,6 +189,7 @@ There are several ways to contribute to this project:
|
||||||
* Test
|
* Test
|
||||||
* Pull request are welcome (see TODO list)
|
* Pull request are welcome (see TODO list)
|
||||||
* Good documentation
|
* Good documentation
|
||||||
|
* RTL-Level simulation
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue