https://github.com/five-embeddev/riscv-isa-data
Machine readable ISA data
https://github.com/five-embeddev/riscv-isa-data
risc-v riscv ruby yaml
Last synced: about 1 year ago
JSON representation
Machine readable ISA data
- Host: GitHub
- URL: https://github.com/five-embeddev/riscv-isa-data
- Owner: five-embeddev
- License: unlicense
- Created: 2020-07-09T13:12:42.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-26T12:55:34.000Z (almost 3 years ago)
- Last Synced: 2024-11-07T01:39:18.654Z (over 1 year ago)
- Topics: risc-v, riscv, ruby, yaml
- Language: Ruby
- Homepage: https://five-embeddev.com/toolchain/2021/09/10/machine-readable-spec/
- Size: 336 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RISC-V ISA Data
Machine readable ISA data.
Descriptions are in YAML.
Used for https://five-embeddev.com/ quick references pages.
Used for code generation.
## Tests
Install `yamllint` and `yamlfix`.
e.g.
~~~
pip install yamlfix
sudo apt install yamllint
~~~
Run tests.
~~~
make test
~~~
## Examples
Generate a table of opcode data using Ruby.
~~~
cd examples/ruby
gem install liquid
./test.rb
~~~
This will create a file `result.html` from the template `template.html` using the data in `opcodes.yaml`.