In PR file management method 1, you specify unique entity and file name pairs for each persona in the project. For example:
- Define the apple persona in the apple.sv file
- Define the orange persona in the orange.sv file
- Define the banana persona in the banana.sv file
In the base PR revision RTL, you specify "apple" as the PR persona for both PR regions:
When you set the base persona to [apple, apple] by setting u_fruit_0 and u_fruit_1 as the PR partition and regions, you can easily change the persona occupying the PR region using the Entity Rebinding (ENTITY_REBINDING) option in the Design Partitions Window, or by editing the .qsf directly, as the following examples show:
To specify the orange persona for a PR implementation (impl) revision:
set_instance_assignment -name ENTITY_REBINDING orange -to u_fruit_0 set_instance_assignment -name ENTITY_REBINDING orange -to u_fruit_1
To specify the banana persona for another PR implementation (impl) revision:
set_instance_assignment -name ENTITY_REBINDING banana -to u_fruit_0 set_instance_assignment -name ENTITY_REBINDING banana -to u_fruit_1
To specify different personas for each PR region in an implementation revision:
set_instance_assignment -name ENTITY_REBINDING orange -to u_fruit_0 set_instance_assignment -name ENTITY_REBINDING banana -to u_fruit_1
For each implementation revision, you must ensure that you include the corresponding source file in the project ().