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

Multiple uses of core partition

mustafaarslan
初学者
2,535 次查看

Hi,

I am beginner at Quartus Prime Pro 22.2.

I have a .qdb file of core partition (only includes luts, ffs) from another project. I want to use that block in my project multiple times (etc 64 times).

In block-based design tutorial, I have to create a black-box module and create partition on black-box block. Then import .qdb file. Do I have to create 64 black-box modules and create 64 partitions? How do I use multiple times a final snapshot of a block?

0 项奖励
1 解答
ventt
员工
2,369 次查看

Hi,


Yes, @sstrell is right. If you want to import the design partition and reuse it multiple times, you would need to choose the synthesized snapshot.


Because the final snapshot preserves placement and routing (can be assigned to only one design partition) while the synthesized snapshot does not have physical preservation (can be assigned to more than one design partition).

You may check out the documentation for the difference of partition snapshot:

https://www.intel.com/content/www/us/en/docs/programmable/683247/19-4/partition-snapshot-preservation-and-reuse.html


Thanks.

Best Regards,

Ven Ting


在原帖中查看解决方案

0 项奖励
12 回复数
sstrell
名誉分销商 III
2,523 次查看

Yes.  Your .qdb should be the synthesized snapshot of your design.  In the destination (consumer) project, you would need to create a partition for each instance and select this .qdb for each of those partitions. 

0 项奖励
mustafaarslan
初学者
2,496 次查看

Thank you for your reply.

Can I add multiple partitions and .qdb files with just editing .qsf file? I think I can achieve my goal with editing .qsf file for multiple instance.

0 项奖励
sstrell
名誉分销商 III
2,486 次查看

Sure.  Copy and paste and customize the names.

0 项奖励
ventt
员工
2,427 次查看

Hi,


Yes, you would need to create a black-box module and instantiate 64 times in the top-level module.

You may add the partitions using GUI or editing the .qsf file.


Thanks.

Best Regards,

Ven Ting


0 项奖励
ventt
员工
2,404 次查看

Hi,


May I know any updates from you?


Thanks.

Best Regards,

Ven Ting


0 项奖励
mustafaarslan
初学者
2,397 次查看

Thanks for replies.

Editing .qsf file solves the adding multiple partitions. But Quartus gives me an error:

" The Partition Database File "../**_final.qdb" implements a partition that was preserved at the "final" snapshot and is assigned to 4 design partitions. Only Partition Database Files preserved at the "synthesized" snapshot can be imported into more than one design partition. "


My goal is decreasing the Compilation (mostly Fitter) time but do "synthesized" snapshots help in this situation? I expected a "final" snapshot can be used multiple times.  I wish Fitter can replace the final snapshots in the device map.

0 项奖励
sstrell
名誉分销商 III
2,393 次查看

You can't use a final snapshot because then all the copies would be placed in the exact location right on top of each other which obviously can't work.  You have to use the synthesized snapshot so each copy can be placed in its own unique location.

0 项奖励
ventt
员工
2,370 次查看

Hi,


Yes, @sstrell is right. If you want to import the design partition and reuse it multiple times, you would need to choose the synthesized snapshot.


Because the final snapshot preserves placement and routing (can be assigned to only one design partition) while the synthesized snapshot does not have physical preservation (can be assigned to more than one design partition).

You may check out the documentation for the difference of partition snapshot:

https://www.intel.com/content/www/us/en/docs/programmable/683247/19-4/partition-snapshot-preservation-and-reuse.html


Thanks.

Best Regards,

Ven Ting


0 项奖励
ventt
员工
2,117 次查看

Attached with the final & synthesized snapshot explanation.

0 项奖励
ventt
员工
2,354 次查看

Hi,


Is the link provided helpful? May I know any updates from you?

I look forward to hearing from you soon.


Thanks.

Best Regards,

Ven Ting


0 项奖励
mustafaarslan
初学者
2,346 次查看

I understand it, thank you for replies.

0 项奖励
ventt
员工
2,342 次查看

Hi,


I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.


Best Regards,

Ven Ting


p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 9/10 survey.


0 项奖励
回复