Skip to content
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

New IP integration (AES) #128

Open
Inky-13 opened this issue Nov 8, 2024 · 1 comment
Open

New IP integration (AES) #128

Inky-13 opened this issue Nov 8, 2024 · 1 comment

Comments

@Inky-13
Copy link

Inky-13 commented Nov 8, 2024

I am currently trying to add an AES IP to this SoC. Is there any documentation on how to do this? Else, could I get some guidance as to where to start?

I am trying to use the IP from the OpenTitan's project would this be the easiest way to start doing this?

Any help would be appreciated.

@marnovandermaas
Copy link
Contributor

You can add a device to this enum:


You should also add it to the memory address space like the UART:
localparam logic [31:0] UART_SIZE = 4 * 1024; // 4 KiB
localparam logic [31:0] UART_START = 32'h80001000;
localparam logic [31:0] UART_MASK = ~(UART_SIZE-1);

You can use vendoring to vendor in the AES from OpenTitan, we already import some of them in this repo: https://github.com/lowRISC/ibex-demo-system/blob/main/vendor/lowrisc_ip.vendor.hjson
All of this will be a bit fiddly but you should be able to figure it out if you copy what you see in the rest of the repo. Once you've vendored things in you should be able to do everything else in ibex_demo_system.sv.

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

No branches or pull requests

2 participants