commit | b280c0aed517b3dae0d46a5a66d265af0fa12496 | [log] [tgz] |
---|---|---|
author | Rupert Swarbrick <rswarbrick@lowrisc.org> | Mon Jul 20 10:24:41 2020 +0100 |
committer | Rupert Swarbrick <rswarbrick@gmail.com> | Wed Jul 22 10:37:43 2020 +0100 |
tree | 942d071950f07e30408ad05016d9a4d08b6e4809 | |
parent | be4bcb794760b1a0647aa73b678d86a278620f73 [diff] |
[otbn] A disassembly wrapper around riscv32-unknown-elf-objdump This doesn't support some of the clever formatting flags that objdump has (mainly because I've never yet used them), but it does support the standard syntax. Output looks like this: 00000000 <d0inv>: 0: 8000702b bn.xor w0, w0, w0 4: 0010402b bn.addi w0, w0, 1 8: 00006e8b bn.mov w29, w0 c: 00d4107b loopi 256, 13 10: 01de103b bn.mulqacc.Z w28.0, w29.0, 0 14: 03de203b bn.mulqacc w28.1, w29.0, 1 18: 89de20bb bn.mulqacc.so w1.L, w28.0, w29.1, 1 1c: 05de003b bn.mulqacc w28.2, w29.0, 0 20: 0bde003b bn.mulqacc w28.1, w29.1, 0 24: 11de003b bn.mulqacc w28.0, w29.2, 0 28: 07de203b bn.mulqacc w28.3, w29.0, 1 2c: 0dde203b bn.mulqacc w28.2, w29.1, 1 30: 13de203b bn.mulqacc w28.1, w29.2, 1 34: b9de20bb bn.mulqacc.so w1.U, w28.0, w29.3, 1 38: 0000e0ab bn.and w1, w1, w0 3c: 801eeeab bn.or w29, w29, w1 40: 0000002b bn.add w0, w0, w0 44: 01df9eab bn.sub w29, w31, w29 48: 00008067 ret 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).