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

multiple topEntity error even when one topEntity was hided #103

Closed
Alaya-in-Matrix opened this issue Dec 12, 2015 · 1 comment
Closed

multiple topEntity error even when one topEntity was hided #103

Alaya-in-Matrix opened this issue Dec 12, 2015 · 1 comment

Comments

@Alaya-in-Matrix
Copy link

For example, I have a component and a system using that component, I want to test them seperately, so I defined "topEntity" for both modules, but the one in component module was not imported in system module:

module Component where

import CLaSH.Prelude

myNot :: Bool -> Bool
myNot = not

topEntity = myNot
module System where

import CLaSH.Prelude
import Component hiding(topEntity)


topEntity x y = x && (myNot y)

When trying to generate verilog code, I still get multiple topEntity error.

@Alaya-in-Matrix Alaya-in-Matrix changed the title multiple topEntity error even when the other topEntity was hided multiple topEntity error even when one topEntity was hided Dec 12, 2015
@Alaya-in-Matrix
Copy link
Author

Ah... seems that this issue has been posted in #22

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

1 participant