-
-
Notifications
You must be signed in to change notification settings - Fork 771
boards/opentitan: bump opentitan commit sha #3408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Bumps the opentitan commit sha to match the latest RTL version as of this commit. The changes have been tested using Verilator as per usual. However, the `rsa.elf` does not build, thus OTBN needs testing. Signed-off-by: Wilfred Mallawa <[email protected]>
With the latest build of Opentitan, it requires Vivado 2020.2 LabEdition which has `updatemem`. This is used to splice the bitsream and is required in the build process for `otbn_rsa_X" Signed-off-by: Wilfred Mallawa <[email protected]>
623b11f
to
dd4adea
Compare
Ensure the correct objcopy is being passed to run script Signed-off-by: Wilfred Mallawa <[email protected]>
@alistair23 When using the latest version of tock/boards/opentitan/src/otbn.rs Line 162 in 550b2dc
I found this because tock/chips/lowrisc/src/otbn.rs Line 179 in 550b2dc
elf2tab tag v0.10.0 . I've added a small change in this PR to avoid the bloat that comes with it.
|
Simple bounds check to see if the imem size can fit the destination register set. Signed-off-by: Wilfred Mallawa <[email protected]>
f88abd0
to
b3bc9c8
Compare
Just tested! Works for me, let's merge this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
Pull Request Overview
Bumps the opentitan commit sha to match the latest RTL version as of this commit lowrisc/opentitan@8a3159dbeb743a64c6898e1e8ecac4f18808c00c.
Notes: I've not gotten theVivado 2020.2 LabEdition is required now for this, build process usesrsa.elf
to build, thus OTBN needs testing.updatemem
for some splicing. I've updated the README in this PR to reflect.Testing Strategy
By running the unit tests on Verilator. ( This took ~8hrs 😢 )
TODO or Help Wanted
Test using rsa.elfShould we provide the
rsa.tbf
? So people don't need to Vivado?Documentation Updated
/docs
, or no updates are required.Formatting
make prepush
.