-
Notifications
You must be signed in to change notification settings - Fork 150
-
Notifications
You must be signed in to change notification settings - Fork 150
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
"No blackbox found" when trying to use a function from another package #677
Comments
Can you try and compile your package with |
@gergoerdi Can you confirm adding the flags works? |
Yes indeed. I have upgraded CLaSH and started using these flags and now I am able to build |
Oh and one more observation: I think the nicest way to do this would be if there was a way to specify CLaSH as the Haskell compiler in Cabal/Stack so that it would come with its own set of default flags. |
I've tried that a while ago and I remember it being not completely trivial. I should have written my thoughts down, because I don't remember why it was hard.. But yeah, I agree that it should be possible! |
I am trying to modularize my Space Invaders so that the Intel 8080 core can be put into a separate Cabal package. My aim with this is to reuse the Intel 8080 code in a Compucolor II project.
So I've set up a bunch of Cabal packages for
clash-utils
andclash-intel8080
, but when I try to use them in Space Invaders, CLaSH complains about a missing blackbox for my function (I assume it's just the first one it encounters):I've pushed the full repro to a branch; my
stack.yaml
file is as follows:The text was updated successfully, but these errors were encountered: