FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5741 Discussions

Error (10147): Verilog HDL error at ColQueue.v(39): identifier "ColQueue" cannot be u

Altera_Forum
Honored Contributor I
1,597 Views

Hi there! 

 

I made 3 queues to push pixel data in, with Mega Wizard. 

 

It is asynchronous FIFO, and target is MAX II. 

 

How is the solution of below issue? 

plz help! 

 

 

Error (10147): Verilog HDL error at ColQueue.v(39): identifier "ColQueue" cannot be used in expression 

 

I get it with Quartus 9.1sp2 and 10.0.
0 Kudos
7 Replies
Altera_Forum
Honored Contributor I
162 Views

This compilation error does not happen when the module was not used.  

But if there are syntax error, even if the module are not used, compilation is failed. 

 

So, this problem is not came from syntax error, I think, Rather than the MegaWizard setting. 

 

Plz Help! 

Thx!
Altera_Forum
Honored Contributor I
162 Views

TO_BE_DONE

Altera_Forum
Honored Contributor I
162 Views

You didn't mention in which expression the error is generated. If you are using colqueue for another object than the module name, it would be plausible. 

 

P.S.: I see, you posted the code in the meantime. Can you please clearly indicate the reported error location?
Altera_Forum
Honored Contributor I
162 Views

This is the problem Part. 

Error (10147): Verilog HDL error at ColQueue.v(39): identifier "ColQueue" cannot be used in expression 

 

Now I have edited above post to add the problem part. 

 

Thanks a lot! 

 

PS: this error happens after Error (10147). 

I think 10147 error causes below error. 

Error: Can't elaborate user hierarchy "InputLayer:comb_3|InputsideQueueArray:IQAentity"
Altera_Forum
Honored Contributor I
162 Views

I looked for colqueue in source codes, 

but there nothing but only in below and generated file. 

 

--- Quote Start ---  

ColQueue Queue_Red ( 

.wrclk ( Wrtcmplt ), 

.rdclk ( Req ), 

.data ( Redin[3:0] ), 

.rdreq ( Req ), 

.wrreq ( Wrtcmplt ), 

.empty ( Remp ), 

.full ( Rful ), 

.q ( RedOt[3:0] ) 

); 

 

ColQueue Queue_Gre ( 

.wrclk ( Wrtcmplt ), 

.rdclk ( Greq ), 

.data ( Grein[3:0] ), 

.rdreq ( Greq ), 

.wrreq ( Wrtcmplt ), 

.empty ( Gemp ), 

.full ( Gful ), 

.q ( GreOt[3:0] ) 

); 

ColQueue Queue_Blu ( 

.wrclk ( Wrtcmplt ), 

.rdclk ( Blreq ), 

.data ( Bluin[3:0] ), 

.rdreq ( Blreq ), 

.wrreq ( Wrtcmplt ), 

.empty ( Bemp ), 

.full ( Bful ), 

.q ( BluOt[3:0] ) 

); 

--- Quote End ---  

Altera_Forum
Honored Contributor I
162 Views

Curiously, the errors is caused by a misplaced always @ in line 23 of InputsideQueueArray.v 

always @ColQueue Queue_Red ( 

.wrclk ( Wrtcmplt ), 

 

If you remove the line, you'll notice more errors (wrong port names), but they are quite normal.
Altera_Forum
Honored Contributor I
162 Views

Thank you, sir! 

 

My report, that I get same advice from a engineer who I am so respecting, has delayed, 

because I had wanted to post so after make it more clear why I have done so and how to remove "quite usual error". 

 

But, it is so better to report quickly, I'm sorry for not having reported so more quickly. 

 

And, your advice was exactly and clear! 

 

Thanks a lot!
Reply