- 1、本文档共41页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
电工电子,电器,安装,维修,电磁炉,线路图,电路图,元器件,监测,故障,单片,开关,电源,ADI
System Studio
PRIM models
© 2010 Synopsys, Inc. All Rights Reserved 11-May-10
Unit objectives
After completing this unit, you should be able to:
Apply the PRIM model syntax
Understand the structure of a PRIM model
Use functions in PRIM models
Employ user-defined types in PRIM models
2
PRIM model syntax
PRIM models are actually C / C++ syntax with a data-flow interface:
Interface: ports, parameters, and simulation phases
Call predefined System Studio functions and external function
Use all data types (ANSI C/C++, SystemC, complex, matrix,
vector, System Studio specific) and type parameters
One and two-dimensional arrays
PRIM interface enables additional optimizations
Code of the model is parsed and optimized for speed
System Studio clusters models that can be scheduled statically to
minimize scheduling overhead at simulation-time.
Note: pointer arithmetic is not supported directly
Designer does not need to deal with dynamic memory management
With the System Studio optimizations the benefits of pointer
arithmetic and variables will be lost
When you need pointer arithmetic, use external functions
3
Structure of a PRIM model
// description
prim_model m_name {
Header section defines the // header section
interface main_action{ . .
您可能关注的文档
- analog设计经典书籍-模拟CMOS集成电路设计(拉扎维)——复旦大学课件.pdf
- cadence学习资料-cadence1.pdf
- cadence学习资料-cadence仿真.pdf
- cadence学习资料-cadence入门教程.pdf
- IT电源管理芯datasheet-slua622.pdf
- IT电源管理芯datasheet-slvsbf8b.pdf
- IT电源管理芯datasheet-slvsbv8a.pdf
- IT电源管理芯datasheet-slvsby2.pdf
- IT电源管理芯datasheet-ucd9222.pdf
- IT电源管理芯datasheet-ucd9240.pdf
- 2024年文物保护工程从业资格真题带解析.docx
- 2025年青岛职业技术学院单招职业技能考试题库推荐.docx
- 2025年青岛职业技术学院单招职业技能测试题库附答案.docx
- 2025年青岛职业技术学院单招职业技能考试题库及答案1套.docx
- 2025年青岛职业技术学院单招职业技能测试题库推荐.docx
- 2025年青岛职业技术学院单招职业技能考试题库必考题.docx
- 2025年青岛职业技术学院单招职业倾向性考试题库附答案.docx
- 2025年青岛职业技术学院单招职业适应性测试题库推荐.docx
- 2025年青岛职业技术学院单招职业倾向性考试题库必考题.docx
- 2025年青岛职业技术学院单招职业技能测试题库及答案1套.docx
文档评论(0)