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

file include issue on functions.vh #45

Open
gxflying opened this issue Aug 15, 2019 · 0 comments
Open

file include issue on functions.vh #45

gxflying opened this issue Aug 15, 2019 · 0 comments

Comments

@gxflying
Copy link

I thought it's wired that the functions.vh file was included in async_fifo_fwft.v inside the module
while all other .v file like translation_xilinx.v -> trellis.vh -> functions.vh, included in the front of the file.
AND when simulation, it will generate a error "function not decleared" when building,
ps: in my file list async_fifo_fwft.v is the first file, when move the `include "functions.vh" row to the header of the file , it's OK。
BUT, it should NOT dependent on the file position in the file list, should not it ?

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