Read the real ECP5 build report of ap_soc. Find what it used, how fast it might run, and what the report does not tell you.
Hardware context: The ECP5 build of ap_soc's digital chip (Yosys, nextpnr), no board. The real build report.
The build: Yosys 0.70+290 and nextpnr-ecp5, the whole digital chip with the RTL core. Device LFE5U-85F, speed grade 6, a 25 MHz target, seed 1. Nothing was loaded onto a board.
This worksheet uses named constants. The first three entries show how to record your decisions.
Replace each unresolved value of 65535 with your result.
Signals in the Timeline
| Signal | Width | Role |
|---|---|---|
question | 8 | input of each check |
Full specification
| Resource | Used | Available |
|---|---|---|
| Logic cells (TRELLIS_COMB) | 10,424 | 83,640 |
| Flip-flops (TRELLIS_FF) | 3,982 | 83,640 |
| Block RAM (DP16KD) | 34 | 208 |
| IO cells | 23 | 365 |
Lowest same-domain clock estimate after routing: 28.37 MHz. One DP16KD holds 16 Kbit of data (18 with parity bits), so 2 KiB. ap_soc has 64 KiB of SRAM and a 4 KiB ROM.
| Code | What the report cannot tell you |
|---|---|
| 1 | Board-level timing and pin constraints |
| 2 | That the design fits the device |
| 3 | That the memories became block RAM |
| 4 | How many logic cells were used |
| Entry | Your decision |
|---|---|
| BRAM_PERCENT | Per cent of the block RAMs used. (round down) |
| COMB_PERCENT | Per cent of the logic cells used. (round down) |
| SRAM_BLOCKS | Block RAMs needed for the 64 KiB SRAM. |
| ROM_BLOCKS | Block RAMs needed for the 4 KiB ROM. |
| LOWEST_MHZ | The lowest clock estimate, in whole MHz (round down). |
| MARGIN_PERCENT | By how many per cent does it beat the 25 MHz target? (round down) |
| UNCHECKED | What does this report not check? (code) |
| BLOCKS_FOR_S | A variant of the chip with S KiB of SRAM: how many DP16KD blocks does its SRAM need? |
Examples
Example 1
BRAM PERCENT- Input
Per cent of the block RAMs used. (round down)
- Output
matches = 1
34 of 208.
Example 2
COMB PERCENT- Input
Per cent of the logic cells used. (round down)
- Output
matches = 1
Used over available.
Example 3
SRAM BLOCKS- Input
Block RAMs needed for the 64 KiB SRAM.
- Output
matches = 1
64 KiB / 2 KiB.
Constraints and Contract
- Keep the parameter and named constants. Use the numeric codes and units on this page.
- For BLOCKS_FOR_S, enter a constant expression using S. Only this entry changes with the parameter. The supported integer range is 8 through 128, inclusive.
Hints
Hint 1
Used over available, per resource.
Hint 2
2 KiB of data per DP16KD.
Hint 3
An estimate from routing, not a board measurement.
What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.
12 checks on Icarus Verilog · server. Run the examples first, then check the full regression. Full checks use the server judge. Downloads contain your source only; samples require the simulation service. A passing result establishes the tested cases, not a proof for all possible inputs.
See all 2 problems on this path