Forum Discussion
Altera_Forum
Honored Contributor
11 years agoThis is what I have understood..
In quartus it's possible to create a hyerarchical project. So that there is a top level project in which you can import several subprojects. To do this you need first to create a subproject, then you must export it as a design partition (project->export design partition, it will create a .qxp file) and create also the symbol file (file->create/update->create symbol files). Now open the top project and add the symbol file just created to your project's files. Start the synthesys and quartus will tell you that there is an undefined instance (which is the symbol just inserted). Now click on: Assignement ->Design partition window -> new. Add the instance of the symbol of the subproject. Now click on: Project->import design partition->select the subproj partition and add its .qxp Now you need only to compile the project. By the way importing multiple subprojects could give some problems. As a standard the design partitions netlists are set as post-fit. So it could be possible that when you try to compile the subprojects will try to use the same logic areas. So you need to set the netlist type as post-synthesis. In alternative one could use the logilock function and assign a specific area of the chip at each subproject. By the way I have some questions: 1- How one can design correctly the logilock region for a subproject ? I mean, I can create and compile my subproject and assign it a logiclock region that is the region that the fitter gives to it. Then I could do the same for another subproject. But when i put the two subprojects in the top project how can I ensure that the the two logilock regions will not overlap ? The best method probably is to assign the logiclock regions from the top project but you have to know the correct size and probably the needed block of the subproject.. it seems particularly tricky.. 2- You can set the design partiotion netlist type also as 'source'. By the way it seems not working.. what am I missing ? I'm still a little confused.. any suggestion is really appreciated ! Thank you.