@@ -25,7 +25,7 @@ solutions.
2525 After generating the floorplan solutions, you can compile the project with a specific
2626floorplan solution with the ``tapa compile `` command by specifying the ``--floorplan-path `` option.
2727The application will be reorganized according to the floorplan solution, and pipeline
28- will be added.
28+ will be added. An xo file and floorplan constrain xdc file will be generated.
2929
3030.. code-block :: bash
3131
@@ -52,3 +52,43 @@ and add pipeline to the project for each floorplan solution generated.
5252 --clock-period 3.00 \
5353 --part-num xcu55c-fsvh2892-2L-e \
5454 --pipeline-config pipeline_config.json
55+
56+ The ``--floorplan-config `` option specifies the floorplan DSE configuration file.
57+ An example of a floorplan DSE configuration file is as follows:
58+
59+ .. code-block :: json
60+
61+ {
62+ "max_seconds" : 1000 ,
63+ "dse_range_min" : 0.7 ,
64+ "dse_range_max" : 0.88 ,
65+ "partition_strategy" : " flat" ,
66+ "cell_pre_assignments" : {},
67+ "cpp_arg_pre_assignments" : {
68+ "a" : " SLOT_X1Y0:SLOT_X1Y0" ,
69+ "b_0" : " SLOT_X2Y0:SLOT_X2Y0" ,
70+ "b_1" : " SLOT_X2Y0:SLOT_X2Y0" ,
71+ "c_.*" : " SLOT_X2Y0:SLOT_X2Y0"
72+ },
73+ "sys_port_pre_assignments" : {
74+ "ap_clk" : " SLOT_X2Y0:SLOT_X2Y0" ,
75+ "ap_rst_n" : " SLOT_X2Y0:SLOT_X2Y0" ,
76+ "interrupt" : " SLOT_X2Y0:SLOT_X2Y0" ,
77+ "s_axi_control_.*" : " SLOT_X2Y1:SLOT_X2Y1"
78+ },
79+ "grouping_constraints" : [],
80+ "reserved_slot_to_cells" : {},
81+ "partition_schedule" : [],
82+ "slot_to_rtype_to_min_limit" : {
83+ "SLOT_X0Y2:SLOT_X0Y2" : {
84+ "LUT" : 0.85
85+ }
86+ },
87+ "slot_to_rtype_to_max_limit" : {},
88+ "ignore_narrow_edge_threshold" : 1
89+ }
90+
91+ The ``cpp_arg_pre_assignments `` field specifies the pre-assignments of the C++ top function
92+ arguments to the slots. If the top port is an array, you can either specify each element
93+ individually or use a regex pattern to match the elements. ``sys_port_pre_assignments `` specifies
94+ the pre-assignments of the verilog system ports to the slots.
0 commit comments