https://github.com/brianredbeard/cva6-aws
https://github.com/brianredbeard/cva6-aws
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/brianredbeard/cva6-aws
- Owner: brianredbeard
- Created: 2023-12-14T20:43:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-14T21:05:07.000Z (over 2 years ago)
- Last Synced: 2025-03-17T07:17:33.544Z (over 1 year ago)
- Language: HCL
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CVA6 Development Bootstrapping on Amazon AWS
## About
This repository contains OpenTofu (neé Terraform) assets for bootstrapping a
[CVA6][cva6] development environment atop AWS. The CVA6 is an Application class
6-stage RISC-V CPU capable of booting Linux.
### Note
By default Amazon AWS accounts have the isntance limit for EC2 F1 instances set
to the value `0`. In order to enable this functionality one must open a
[support ticket][aws-support] requesting the limit be raised.
## Technical Details
FPGA Image generation and EC2 F1 instances are supported in the following
locations:
- `us-east-1` (N. Virginia, USA)
- `us-west-2` (Oregon, USA)
- `eu-west-1` (Ireland)
- `us-gov-west-1` (Nevada, USA; Gov-Cloud)
### Getting Started
To be completed:
- Incorporate information from Princeton OpenPiton
- https://github.com/PrincetonUniversity/openpiton?tab=readme-ov-file#running-openpiton-simulations-on-f1-instances-in-aws-step-guide
- Verify use of DynamoDB with the Terraform provider
To be documented:
- Provision AWS account
- Setup IAM
- Create unprivileged user
- Add ssh keys to user account
- Get instance limit fixed
- Setup S3 bucket to hold TF state & development assets
- Create S3 credential
- Configure S3 bucket
- Create an AMI instance
- Incorporate CVA6 assets
- Boot F1 instance
- Simulate the design
- Build the hardware design
- Generate the AFI
- Program the FPGA
- Compile the runtime of the design
- Bookkeping the AFI
[aws-support]: https://console.aws.amazon.com/support/home#/case/create
[cva6]: https://github.com/openhwgroup/cva6