question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

icebreaker board: Failed to expand region (0, 0) |_> (25, 31) of 5491 ICESTORM_LCs

See original GitHub issue

I am facing issue with building for Icebreaker board: python3 -m litex_boards.targets.icebreaker --build

icebreaker_error

I am using : Yosys version Yosys 0.22+82 (git sha1 2cdbb85da, clang 10.0.0-4ubuntu1 -fPIC -Os)

nextpnr-ice40 nextpnr-ice40 -- Next Generation Place and Route (Version nextpnr-0.4-28-gac17c36b)

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tcal-xcommented, Nov 21, 2022

Hi @disdi , the error message is a bit cryptic, but it’s just saying that your mapped design uses more resources than are available. In this case, you’ve used 5481 ICESTORM_LCs while the target FPGA has only 5280.

The default CPU variant does not fit on the target FPGA. While you might wonder why they don’t make the default to be something that fits for this board, I think the reasoning is that it would cause confusion if every board had a different default. So globally, the default cpu type is VexRiscv, and the default variant is “full”.

These are some recipes that should work, using smaller CPUs:

VexRiscv, “minimal”:

python3 -m litex_boards.targets.icebreaker --build --cpu-variant=minimal

or VexRiscv, “lite”:

python3 -m litex_boards.targets.icebreaker --build --cpu-variant=lite

or bit-serial SERV:

python3 -m litex_boards.targets.icebreaker --build --cpu-type=serv
0reactions
disdicommented, Nov 24, 2022

Closing this issue for now

Read more comments on GitHub >

github_iconTop Results From Across the Web

make icebreaker_prog failed · Issue #4 - GitHub
I use the Yosys 0.9+2406 (git sha1 819f1d8c, clang 6.0.0-1ubuntu2 -fPIC -Os) ... ERROR: Failed to expand region (0, 0) |_> (25, 31)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found