Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16614 Discussions

error in compling verilog module

Altera_Forum
Honored Contributor II
1,992 Views

I write this module and when compile it get error "Error (12153): Can't elaborate top-level user hierarchy" 

file attached. 

can any one help me?
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
742 Views

Hi, 

 

Just wonder if you have tried to add your file to the Quartus II and then set this file as top level entity? It seems like Quartus II could not identify the top level file during compilation.
0 Kudos
Altera_Forum
Honored Contributor II
742 Views

Hi  

I set this file as top entity but still give this error. 

 

Thanks!
0 Kudos
Altera_Forum
Honored Contributor II
742 Views

Hi  

change  

always@(posedge csi_clockreset_clk or csi_clockreset_reset_n) 

to 

always@(posedge csi_clockreset_clk or negedge csi_clockreset_reset_n)  

and correct.
0 Kudos
Reply