Skip to content

Conversation

nbdd0121
Copy link
Contributor

This is yet another PR in attempt to modularize and break down opentitanlib.

DIF/top-specific logic is quite independent from anything else, this makes it a good candidate to modularize.

@nbdd0121 nbdd0121 requested review from jwnrt and pamaury October 17, 2025 14:10
@nbdd0121 nbdd0121 requested review from a team and msfschaffner as code owners October 17, 2025 14:10
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hardened bools are not moved to ot_hal as they're a concept only in ROM/ROM_EXT and is not related to IP/top.

This is the new place for hardware abstractions.

Signed-off-by: Gary Guo <[email protected]>
@nbdd0121 nbdd0121 force-pushed the ot_hal branch 2 times, most recently from bef2346 to 038f43a Compare October 17, 2025 14:55

# Hack to make bindgen generate less for English Breakfast.
new = REPO_TOP / 'sw/host/opentitanlib/bindgen/BUILD'
new = REPO_TOP / 'sw/host/ot_hal/bindgen/BUILD'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: I believe that the prepare_sw.py script is already broken, we have not been able to make it work over the MT transition. There is a PR to make verilator work again without this #28012 But I guess it doesn't really hurt to change it.

Copy link
Contributor

@pamaury pamaury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me if it helps split opentitanlib :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants