Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Got .dsp0_tile statement for ipcon tile 0 7730736. #231

Open
xobs opened this issue Aug 20, 2019 · 6 comments
Open

Error: Got .dsp0_tile statement for ipcon tile 0 7730736. #231

xobs opened this issue Aug 20, 2019 · 6 comments

Comments

@xobs
Copy link
Contributor

xobs commented Aug 20, 2019

I'm getting the above error whenever I try to run icepack on Windows.

PS> icepack build/blink.asc blink.bin
Error: Got .dsp0_tile statement for ipcon tile 0 7535064.
PS>

I'm running icestorm cfac9f9 (which I'm packaging up at https://github.com/xobs/toolchain-icestorm/releases ). This doesn't happen when I use the icepack.exe from 5ab07ed (as packaged by https://github.com/FPGAwars/toolchain-icestorm/releases ) with the exact same blink.asc file.

@xobs
Copy link
Contributor Author

xobs commented Aug 20, 2019

It should be noted that this happens regardless of the design I use -- It's happening on everything from a simple "blink" to a full SoC. None of these use DSPs.

@daveshah1
Copy link
Contributor

It would be handy to have the blink.asc file too just to check.

@xobs
Copy link
Contributor Author

xobs commented Aug 20, 2019

Github won't let me attach blink.asc here, so here's a gist with it: https://gist.github.com/xobs/086a1e85de3a5022f936f00c750645e0

@daveshah1
Copy link
Contributor

Seems like some very odd istream behaviour - afaics it must be coming from this line https://github.com/cliffordwolf/icestorm/blob/master/icepack/icepack.cc#L770. Looks like that blink.asc has Unix line endings (unless mangled by gist), not sure how a native Windows istream handles that.

@xobs
Copy link
Contributor Author

xobs commented Aug 20, 2019

That's a good idea, but it looks like gist is mangling the line endings. vim indicates it's a dos file, as generated by nextpnr-ice40. If I convert the line endings to unix and re-run icepack, there is no change.

@cliffordwolf
Copy link
Collaborator

GitHub does allow posting .zip files. So just zipping it would probably be the easiest way of sharing that file exactly as it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants