Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

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

Altera_Forum
Honored Contributor II
1,408 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
681 Views

please help me ,I really can't solve it

0 Kudos
Altera_Forum
Honored Contributor II
681 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
681 Views

thank you ,i will try it ~:)

0 Kudos
Altera_Forum
Honored Contributor II
681 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