Function collectLeafResources¶ Defined in File tools.h Function Documentation¶ void collectLeafResources(const hierarchy &node, fpga &flat_fpgas)¶ 递归收集层次结构中所有叶子 FPGA 的资源向量。 Parameters: node – [in] 当前层次节点。 flat_fpgas – [out] 叶子资源会追加到其 resources 列表中。