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

Verilog HDL Module Instantiation error at hx8kdemo.v(65) #259

Open
YapWC opened this issue Apr 26, 2024 · 1 comment
Open

Verilog HDL Module Instantiation error at hx8kdemo.v(65) #259

YapWC opened this issue Apr 26, 2024 · 1 comment

Comments

@YapWC
Copy link

YapWC commented Apr 26, 2024

Hi there,

Currently I am trying to synthesize PICORV32 onto DE0 Nano FPGA using Quartus Prime Lite.

I have no problem synthesizing with synth_area_top.v it was successful.

However when it comes to hx8kdemo.v I get an error as shown below.

image
Verilog HDL Module Instantiation error at hx8kdemo.v(65): cannot elaborate array of instances because the declaration for the instantiated module has not been analyzed.

I am not sure if I missed adding any files into the project that caused so? Appreciate if anyone could provide me a guide in this case.

@jix
Copy link
Member

jix commented May 8, 2024

The "hx8k" refers to the Lattice iCE40HX-8k FPGA and the error you get is for the SB_IO module which is an IO primitive of that FPGA family. When targeting an Altera/Intel FPGA you would need to replace it with the corresponding vendor specific primitive.

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

2 participants