在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 3959|回复: 9

ALINT代码标准化检查库文件

[复制链接]
发表于 2010-7-15 18:16:05 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
软件及支持库下载
VDHL教程下载
Verilog教程下载
发表于 2010-7-23 15:17:43 | 显示全部楼层
谢谢分享
发表于 2011-10-1 11:49:52 | 显示全部楼层
谢谢楼主分享!!
发表于 2013-3-2 21:55:33 | 显示全部楼层
下不了,邮箱tommy12012@126.com,各位帮忙发一下
发表于 2014-6-17 11:26:37 | 显示全部楼层
回复 4# tommy12012


    Integration of ALINT with Active-HDLIntroduction
Active-HDL is provided with an interface to Aldec’s ALINT design analysis tool. By using this functionality, you can launch the design linting process directly from Active-HDL.
Depending upon the specified options, the interface generates a set of macro files that open the design in ALINT, or both open the design and run the compilation-time and simulation-time linting. Alternatively, the operations performed by ALINT can be controlled by a custom macro.
Note: Source files that are shared between Active-HDL and ALINT (libraries, configuration files, etc.) are stored separately. This ensures that no files are overwritten, or mistakenly removed.
How to setup the interface

  • Prior to specifying your settings in Active-HDL, verify that you have the latest version of ALINT installed on your machine.  

  • Open your desired design in Active-HDL

  • Point to the ALINT installation directory:

    • Go to Tools | Preferences

    • Under the Linting category, select ALINT

    • Browse for the proper installation directory


                                   
    登录/注册后可看大图

    Figure 1. Pointing to the ALINT Installation Directory in the Preferences window

  • Specify your Linting Design Settings to point to ALINT as your linter:

    • Go to Design | Settings

    • Under the Linting category, select ALINT


                                   
    登录/注册后可看大图

    Figure 2. Linting Design Settings Setting up the options
    You have the option to Generate macro or Use custom macro.

    • The Generate macro option controls the linting process performed by ALINT by generic macro files created by Active-HDL. These macro files are responsible for controlling particular stages of the design linting (i.e: preparing the design structure for ALINT, compilation-time linting, simulation-time linting, etc.). The sequence of launching the macros is defined in the main macro file (run.do), stored in the design folder. Under this option, you can:

      • Disable/Enable the Use default compilation and simulation rules option which controls whether the design can only be opened in ALINT without running the linting process, or the design can be opened and the complete linting process is performed.  

      • Specify additional libraries to be referenced during the linting process.

    • The Use custom macro option allows you to choose a custom macro file that may contain commands for preparing the design structure for ALINT, compiling the source files, launching the linting process with desired options, etc.
    How to run the process  

  • Perform the linting process:

    • In the Simulation menu, select Run in Aldec ALINT


                                   
    登录/注册后可看大图

    Figure 3. Start the linting process within the Active-HDL Simulation menu

  • View your results in ALINT


                               
登录/注册后可看大图

Figure 4. Results in ALINT
In ALINT, you can observe your workspace and design created in the Design Manager window. ALINT also creates a violation database (AVDB) file. This file shows the breakdown of the errors and warnings that occured for each design unit. In the console window, you can observe the messages stating the generation of macro files (run.do, create_workspace.do, compile_workspace.do, and  initialize_simulation.do). The run.do file is what generates the other macros that create the workspace, compile the workspace, and initialize the simulation. These macro files can also be viewed in the Design Manager.  

                               
登录/注册后可看大图

Figure 5. Generated macro files
For future usage, you can modify the macro files and use them to run your simulations.
发表于 2014-6-17 11:28:40 | 显示全部楼层
Integration of ALINT with Active.docx (249.38 KB, 下载次数: 7 ) 回复 4# tommy12012
发表于 2014-6-17 11:32:19 | 显示全部楼层
Collecting Code Coverage in Active.docx (731.68 KB, 下载次数: 9 ) 回复 6# oilsite
发表于 2015-11-2 10:37:03 | 显示全部楼层
谢谢分享啊
发表于 2021-10-10 01:35:30 | 显示全部楼层
thanks
发表于 2021-10-10 08:44:53 | 显示全部楼层
thanks
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条


小黑屋| 手机版| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2025-1-4 08:27 , Processed in 0.026129 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表