commit | 74d2e299afc3d557c179c2350616d313aa828462 | [log] [tgz] |
---|---|---|
author | Rupert Swarbrick <rswarbrick@lowrisc.org> | Fri Jan 08 15:20:09 2021 +0000 |
committer | Rupert Swarbrick <rswarbrick@gmail.com> | Wed Jan 20 14:37:09 2021 +0000 |
tree | 4969a4f3acd4b495e6548d6a10beef388aaac31b | |
parent | dce30cf724cc53b6d5378241b201a338ab904481 [diff] |
[otbn] Auto-generate decode information in ISA Remove the (slightly bit-rotted) manual decode information and automatically generate the relevant information in the operand tables. The results look like ADD's grd operand: unsigned(GRD) ANDI's imm operand: signed(IMM) SW's offset operand: signed({OFFSET_1, OFFSET_0}) BEQ's offset operand: PC + signed({OFFSET_3, OFFSET_2, OFFSET_1, OFFSET_0, 1'b0}) LOOP's bodysize operand: unsigned(BODYSIZE) + 1 The big YAML changes are removing the decode blocks and renaming the variables in the "operation" pseudo-code to match the operand names. Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).