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

trouble with Quartus II error

Altera_Forum
Honored Contributor II
1,104 Views

i write a testbench for a decoder but when i compile this file in quartus,this error comes out. 

 

error: can't synthesize current design -- top partition does not contain any logic 

 

but the same design files can be compiled in modelsim successfully.  

 

who can tell me why? how to solve it?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
375 Views

 

--- Quote Start ---  

i write a testbench for a decoder but when i compile this file in quartus,this error comes out. 

 

error: can't synthesize current design -- top partition does not contain any logic 

 

but the same design files can be compiled in modelsim successfully.  

 

who can tell me why? how to solve it? 

--- Quote End ---  

 

 

Hi, 

 

did you try to synthesize the testbench ? The testbench has no inputs or outputs. I expect 

that Quartus will remove all your logic, because no output depends on an input. A Testbench is only used for simulation. 

 

Kind regards 

 

GPK
0 Kudos
Altera_Forum
Honored Contributor II
375 Views

 

--- Quote Start ---  

Hi, 

 

did you try to synthesize the testbench ? The testbench has no inputs or outputs. I expect 

that Quartus will remove all your logic, because no output depends on an input. A Testbench is only used for simulation. 

 

Kind regards 

 

GPK 

--- Quote End ---  

 

 

 

 

 

 

thank you very much! now i knows.
0 Kudos
Reply