mibuild/altera_quartus: set top_level_entity

This commit is contained in:
Florent Kermarrec 2014-04-11 23:27:02 +02:00 committed by Sebastien Bourdeauducq
parent 600ce55f91
commit 82e4980f5c
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ def _build_qsf(named_sc, named_pc):
r += _format_qsf(sig, pins[0], others, resname)
if named_pc:
r += "\n" + "\n\n".join(named_pc)
r += "set_global_assignment -name top_level_entity top\n"
return r
def _build_files(device, sources, vincpaths, named_sc, named_pc, build_name):