packages/chip/docs/board/fpga/firesim-bringup.md
Status: planning, M5+ cloud-burst path
Owner: board/fpga
Platform decision: see docs/board/fpga/platform-selection.md
FireSim is the cloud-burst alternative to owning a VCU118. It compiles the
same Chipyard-generated Rocket+Gemmini target to AWS F1 (f1.2xlarge,
f1.4xlarge, f1.16xlarge) or F2 once it is generally available, and runs
it at hardware speed for long benchmark sweeps that would tie up an on-prem
board for days.
This document is the bring-up runbook. It assumes the program has decided to
use FireSim per the platform-selection decision; if VCU118 is the chosen
path, follow board/fpga/vcu118/README.md instead.
us-east-1 or us-west-2. F1 quota is
off by default; request Running On-Demand F instances >= 16 vCPU two
weeks before first build.ec2:*, s3:* on the bucket, and fpga:* for AGFI
creation.| Tier | Instance | Purpose |
|---|---|---|
| Manager | c5.4xlarge | Chipyard build, Vivado, AGFI submit. |
| Build farm | z1d.2xlarge+ | Vivado synthesis (offload, optional). |
| Run farm | f1.2xlarge | Bitstream execution, one Rocket+Gem. |
| Run farm (large) | f1.16xlarge | 8 simulators in parallel. |
Vivado is required on the build instance even in the cloud path; FireSim wraps it but does not replace it.
Before any cloud spend, run the same target in metasim on the manager (or a developer laptop) to confirm functional correctness:
cd $CHIPYARD/sims/firesim
./scripts/build-setup.sh
source sourceme-f1-manager.sh
firesim setupexample
firesim runworkload --runworkload-overrides metasim
Expected: Linux boots in metasim in roughly 10-30 minutes wall-clock per simulated boot, depending on host core count.
firesim buildbitstream --hwdb-entry rocket_gemmini_f1
Wall-clock budget: 6-10 hours for a first-time XCVU9P build (Vivado synth + implementation + AFI ingestion by AWS). Subsequent rebuilds with the same shell are 4-6 hours.
firesim launchrunfarm
firesim infrasetup
firesim runworkload --hwdb-entry rocket_gemmini_f1 \
--workload-name linux-uniform
Expected wall-clock for Linux boot to userland shell on F1: 30-90 seconds at the simulated SoC clock of ~80-100 MHz. This is the headline win versus metasim and the reason F1 is worth the cost.
f1.2xlarge on-demand: ~$1.65/h. Always set a max-runtime guard on the
workload runner.firesim terminaterunfarm is the most common cost surprise.
Add a CloudWatch alarm on EC2 hours-per-day for the FireSim tag.docs/board/fpga/platform-selection.mdboard/fpga/vcu118/README.mddocs/generators/chipyard/README.md