Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- 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