1、Institute of Artificial Intelligence and RoboticsSynplify pro综合综合西安交大SOC设计中心:沈云红Email: socman_http:/Institute of Artificial Intelligence and Robotics什么是综合?什么是综合?设计描述高层次描述:对整个系统的数学模型描述,它试图在系统设计的初始阶段,通过对系统行为描述的仿真来发现系统设计中存在的问题,此时考虑更多的是系统结构和工作过程能够达到设计规格的要求,而与具体的工艺和器件无关逻辑描述:对设计进行RTL级描述,导出逻辑表达式,并用功能仿真工具进行
2、仿真门级描述:设计的门级实现,相当于系统的逻辑原理图物理描述:或称版图描述,ASIC设计中表现为GDSII 文件综合指不同设计描述之间的转换Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and RoboticsIC设计中的综合设计中的综合Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and RoboticsIC设计中的综合设计中的综合高层次综合:将系统算法层的行为描述转化为寄存器传输层的结构描述逻辑综合:将寄存器传输层的的结构描述转化为
3、逻辑层的结构描述,以及将逻辑层的结构描述转化为电路的结构描述物理综合:将系统电路层的结构描述转化为版图层的物理描述Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and Robotics综合约束综合约束综合约束设计所期望达到的性能和面积的目标,在综合实现阶段附加约束,是为了便于控制综合实现过程,使设计满足运行速度,引脚位置等方面的要求附加合理的约束达到面积,速度,性能的良好折中约束原则面积和速度是设计效果最终的评定标准,在两者冲突时,采用速度优先Shenyunhong xjtusoc centerInstitute
4、of Artificial Intelligence and Robotics综合的策略综合的策略综合策略自顶向下的层次化综合处理:适合于中小规模设计优点:1.子模块的约束由综合工具自动进行,综合约束文件简单易行;2.能够全面考虑各个子模块之间的相互关系,从整体上进行时序优化,综合效果比较好缺点:1.综合时间长,消耗机器内存大;2.子模块的修改影响到整个设计,牵一发而动全身;3.子模块中包含多个时钟或有内部产生时钟,综合不能对每个时钟域进行约束和优化,综合效果差基于时间预算的综合处理:适合由成熟IP构成的设计优点:1.容易对整个设计进行综合;2.子模块的改变后只须对该模块重新综合;3.能很好的
5、处理多时钟;4.不同子模块综合目标不一致,综合结果最优缺点:1.需要处理多个综合批处理文件;2.可能忽视全局的关键路径,因为它在子模块也许不是关键路径;3.综合前要得到比较精确的子模块时序信息比较困难Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and Robotics综合的策略(续)综合的策略(续)自低向上的综合处理:适合大规模设计优点:1.站用机器内存小,并可以在多个机器上并行处理各个子模块;2.可以对各个子模块进行不同目标的优化,修改后只须对该模块重新综合;缺点:综合过程需要多次迭代直到时序“收敛”;综合策略
6、的选择取决于设计的特点,设计的规模,设计的总体结构综合的目标Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and RoboticsSynplify pro综合综合 FPGA的综合针对具体的FPGA器件,将RTL级的设计描述转化成门级描述 Synthesis=Translation+Optimization+Mapping对HDL源代码进行编译与逻辑层次上的优化,消除冗余逻辑对编译的结果进行逻辑映射与结构层次上的优化,生成逻辑网表特点综合速度快综合效果比较好 Synplify与Synplify pro Synplif
7、y简装版,后者包含了前者所有功能综合原理和机制完全相同Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and Robotics界面界面Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and Robotics新建工程(新建工程(1)Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and Robotics新建工程(新建工程(2)Shenyunhong xjtusoc
8、centerInstitute of Artificial Intelligence and Robotics新建工程(新建工程(3)Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and Robotics新建工程(新建工程(4)Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and Robotics代码错误检查代码错误检查包括两个层次语法错误检查综合错误检查推荐在代码调试阶段使用代码错误检查工具,及时发现问题Shenyunhong xjt
9、usoc centerInstitute of Artificial Intelligence and Robotics时序优化工具时序优化工具 Pipelining将较大的组合逻辑用寄存器分割成若干较小的逻辑,减少从输入到输出的时延自动优化乘法器,ROM等结构,提高工作频率 Retiming在不改变逻辑功能的前提下,自动用寄存器分割组合逻辑,在组合电路中插入平衡时延,提高芯片工作频率本质是寄存器在宏观上的移动,不影响整体的寄存器级数 Retiming的功能比Pipelining更强大,选定了Retiming就一定会自动选上PipeliningShenyunhong xjtusoc cente
10、rInstitute of Artificial Intelligence and RoboticsRetiming和和PipeliningShenyunhong xjtusoc centerInstitute of Artificial Intelligence and Robotics运行运行Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and Robotics分析运行结果分析运行结果Shenyunhong xjtusoc centerInstitute of Artificial Intelligence a
11、nd RoboticsPUSH/POP功能功能Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and RoboticsRTL与与Technology view Technology View是RTLView向具体器件进行结构映射的结果Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and RoboticsCross Probing功能功能Shenyunhong xjtusoc centerInstitute of Artificial In
12、telligence and Robotics显示分析关键路径显示分析关键路径Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and Robotics查看综合报表查看综合报表综合报表所含的信息基本编译信息有限状态机编译信息时序约束信息总体性能概括(Performance Summary)时钟参数信息(Clock Relationships)输入输出引脚信息(Input Ports and Output Ports)较差时钟路径的起点和终点信息(Starting Points and Ending Points wit
13、h Worst Slack)组合电路时序优化信息综合频率信息面积信息(资源消耗信息)Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and RoboticsShenyunhong xjtusoc centerInstitute of Artificial Intelligence and Robotics时序分析专家时序分析专家点到点的路径时序分析Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and Robotics为为设计添加约束(设计
14、添加约束(SDC)Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and Robotics添加约束参数添加约束参数Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and Robotics时间约束时间约束Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and Robotics添加的约束文件添加的约束文件保存SCOPE界面设置的参数,并选择将约束加于工程Shenyunhong xjtusoc centerInstitute of Artificial Intelligence and RoboticsThank you!Shenyunhong xjtusoc center