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

help!!! A simple question of a verilog fresh man

Altera_Forum
Honored Contributor II
1,258 Views

i have typed the following codes into" .v file" 

but after compiled , the compiler showed me:" Error: Can't synthesize current design -- Top partition does not contain any logic" 

 

but i have make it the top level through "Project->Set top_level Entity " 

it still can't be solved ~~please help :p 

codes: 

module myand(a, b, c); 

// Input Port(s) 

input a,b; 

 

// Output Port(s) 

 

output c; 

 

assign c=a&b; 

 

// Additional Module Item(s) 

endmodule
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
531 Views

please help me ,I really can't solve it

0 Kudos
Altera_Forum
Honored Contributor II
531 Views

 

--- Quote Start ---  

please help me ,I really can't solve it 

--- Quote End ---  

 

 

Hi, 

 

check whether your toplevel is set to to "myand". have look to the attahed project. 

 

kind regards 

 

GPK
0 Kudos
Altera_Forum
Honored Contributor II
531 Views

thank you ,i will try it ~:)

0 Kudos
Altera_Forum
Honored Contributor II
531 Views

 

--- Quote Start ---  

Hi, 

 

check whether your toplevel is set to to "myand". have look to the attahed project. 

 

kind regards 

 

GPK 

--- Quote End ---  

 

thank you ,i will try it ~:)
0 Kudos
Reply