YosysHQ / icestorm

Project IceStorm - Lattice iCE40 FPGAs Bitstream Documentation (Reverse Engineered)
ISC License
965 stars 224 forks source link

Error: Got .io_tile statement for logic tile #258

Closed zzdts closed 4 years ago

zzdts commented 4 years ago

At the end of make , icepack errors happen:

icepack top.asc top.bin
Error: Got .io_tile statement for logic tile 1 -1855121696.

platform: macos Catalina 10.15.5

daveshah1 commented 4 years ago

This looks similar to #231, but I don't know if the root cause was ever identified - do you remember if you fixed it @xobs ?

xobs commented 4 years ago

Never did figure out the root cause of it. Those packages were attempts to build this project under Windows and not cross-compiled so we could build it under Conda, but there were other issues with that build system so I abandoned the attempt and never looked into what caused that problem.

zzdts commented 4 years ago

Asc file line ending with unix type.
I cp top.asc to ubuntu and run "icepack top.asc top.bin" ,it works well.

zzdts commented 4 years ago

I fond this project and the build system support macos https://github.com/FPGAwars/toolchain-icestorm It's works well on Mac. @xobs @daveshah1

xobs commented 4 years ago

We've taken that and adapted it to work with more tools, including nextpnr. The resulting toolchains are built daily and are available at https://github.com/open-tool-forge/fpga-toolchain