NASM网际编译器手册
- 格式:doc
- 大小:140.00 KB
- 文档页数:34
驰骋即时通讯系统CCIM 1.0使用手册驰骋信息技术2012年4月目录1概要说明 (5)1.1版本说明 (5)1.2采用的开发技术 (5)1.3服务器端要求 (5)1.4客户端要求 (6)1.5性能指标 (6)1.6 CCIM与CC其它产品之间的关系 (6)2安装与数据维护 (7)2.1安装GPM (7)2.2系统安装 (7)2.2.0执行创建CCIM表脚本 (7)2.2.1服务器 (8)2.2.2客户端 (9)2.3与ccflow集成 (10)3功能使用说明 (10)3.1 CCIM功能概览 (10)3.1.1 控制面板 (10)3.1.2图标与说明 (11)3.2 CCIM基本功能操作展示 (12)3.2.1登录 (12)3.2.2文字聊天 (12)3.2.3发送文件 (13)3.2.4视频对话 (14)3.2.5对话记录/信息管理器 (15)3.2.6群发消息 (16)3.2.7创建组 (17)3.2.8我的工作 (17)3.2.9我的状态 (18)3.2.10签名 (18)3.2.11设置 (19)3.2.12网络硬盘 (19)3.2.13样式 (20)3.2.14色彩 (20)3.2.15最近联系人 (21)3.2.16关于 (21)3.2.17自动更新/升级 (22)4 CCIM的二次开发 (22)1概要说明1.1版本说明版本分类:CCIM企业版是应用于企业或者机关事业单位部的系统具有耗费资源少,方便维护,方便集成等。
CCIM与开源的驰骋工作流程引擎是高度集成的但是也可以独立使用。
说明:CCIM 对于200个以下是免费的,任何个人与单位不得反编译。
技术论坛:/showforum-2.aspx1.2采用的开发技术采用.net framework 2.0,C#,数据库采用SQL Server 2005或以上,暂时不支持oralce 与mysql用户。
CCIM不仅可以使用于企业部局域网,VPN,还能应用在外网上,可以穿透NAT。
July 20092003-2009 Cadence Design Systems, Inc. All rights reserved.Portions © Concept Engineering GmbH. Used by permission.Printed in the United States of America.Cadence Design Systems, Inc. (Cadence), 2655 Seely Ave., San Jose, CA 95134, USA.Product Encounter™ RTL Compiler contains technology licensed from, and copyrighted by: Concept Engineering GmbH, and is 1998-2006, Concept Engineering GmbH. All rights reserved.Open SystemC,Open SystemC Initiative,OSCI,SystemC,and SystemC Initiative are trademarks or registered trademarks of Open SystemC Initiative, Inc. in the United States and other countries and are used with permission.Trademarks:Trademarks and service marks of Cadence Design Systems,Inc.contained in this document are attributed to Cadence with the appropriate symbol. For queries regarding Cadence’s trademarks, contact the corporate legal department at the address shown above or call 800.862.4522. All other trademarks are the property of their respective holders.Restricted Permission:This publication is protected by copyright law and international treaties and contains trade secrets and proprietary information owned by Cadence.Unauthorized reproduction or distribution of this publication,or any portion of it,may result in civil and criminal penalties.Except as specified in this permission statement,this publication may not be copied,reproduced,modified,published,uploaded,posted,transmitted, or distributed in any way, without prior written permission from Cadence. Unless otherwise agreed to by Cadence in writing, this statement grants Cadence customers permission to print one (1) hard copy of this publication subject to the following conditions:1.The publication may be used only in accordance with a written agreement between Cadence and itscustomer.2.The publication may not be modified in any way.3.Any authorized copy of the publication or portion thereof must include all original copyright, trademark,and other proprietary notices and this permission statement.4.The information contained in this document cannot be used in the development of like products orsoftware, whether for internal or external use, and shall not be used for the benefit of any other party, whether or not for consideration.Patents:Cadence Product Encounter™RTL Compiler described in this document,is protected by U.S.Patents [5,892,687]; [6,470,486]; 6,772,398]; [6,772,399]; [6,807,651]; [6,832,357]; and [7,007,247]Disclaimer:Information in this publication is subject to change without notice and does not represent a commitment on the part of Cadence. Except as may be explicitly set forth in such agreement, Cadence does not make, and expressly disclaims, any representations or warranties as to the completeness, accuracy or usefulness of the information contained in this document. Cadence does not warrant that use of such information will not infringe any third party rights,nor does Cadence assume any liability for damages or costs of any kind that may result from use of such information.Restricted Rights:Use,duplication,or disclosure by the Government is subject to restrictions as set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or its successorContentsAlphabetical List of Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23 About This Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24 Additional References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24 How to Use the Documentation Set. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25 Reporting Problems or Errors in Manuals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 Customer Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 Cadence Online Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 Other Support Offerings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 Man Pages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 Command-Line Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 Getting the Syntax for a Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 Getting the Syntax for an Attribute. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 Searching for Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 Searching For Commands When Y ou Are Unsure of the Name . . . . . . . . . . . . . . . .29 Documentation Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 T ext Command Syntax. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .301Navigation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 basename. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32 cd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33 dirname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35 dirs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36filter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..37find . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 inout_mate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44 ll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45ls. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46 popd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50 pushd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51 pwd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52 vdir_lsearch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53 what_is. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .542General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57 alias . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..58 all_inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 all_outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 apropos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 clear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..62 date . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63 enable_transparent_latches. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64 exec_embedded_script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65 exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..67 get_attribute. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68 get_liberty_attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71 get_read_files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72 help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..73 include . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74 lcd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75 license . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76 license checkin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77 license checkout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78 license list. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79 lls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80 lpopd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81 lpushd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82 lpwd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83 man . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84 more. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85quit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87 rc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88 redirect. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92 reset_attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .94 resume. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96 sdc_shell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97 set_attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .98 shell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101 suppress_messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102 suspend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103 unsuppress_messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1043GUI Text. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105 General GUI T ext Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .106 gui_hide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .107 gui_info. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .107 gui_raise. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .107 gui_reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .107 .gui_selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108 gui_show . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108 gui_status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108 gui_update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108 HDL Viewer GUI Text Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109 gui_hv_clear. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110 gui_hv_get_file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110 gui_hv_load_file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110 gui_hv_set_indicators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .111 Schematic Viewer GUI T ext Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112 gui_sv_clear. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113 gui_sv_get_instance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113 gui_sv_grey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113 gui_sv_highlight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114 gui_sv_load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115 Physical Viewer GUI T ext Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116gui_pv_airline_add. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117 gui_pv_airline_delete. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118 gui_pv_airline_display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118 gui_pv_airline_raw_add. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119 gui_pv_clear. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119 gui_pv_highlight. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120 gui_pv_highlight_update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122 gui_pv_label. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122 gui_pv_redraw . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123 gui_pv_selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123 gui_pv_snapshot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123 gui_pv_zoom_fit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125 gui_pv_zoom_in. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125 gui_pv_zoom_out. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125 gui_pv_zoom_to. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1254Chipware Developer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .127 cwd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .128 cwd check. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .129 cwd create_check. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133 cwd report_check. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .135 hdl_create. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .137 hdl_create binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138 hdl_create component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140 hdl_create implementation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142 hdl_create library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .144 hdl_create operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145 hdl_create package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146 hdl_create parameter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .148 hdl_create pin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1505Input and Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .153 decrypt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .155encrypt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .156 export_critical_endpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .159 read_config_file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .161 read_cpf. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .162 read_def. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .163 read_dfm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .164 read_dft_abstract_model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .166 read_encounter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .167 read_hdl. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .168 read_io_speclist. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .172 read_netlist. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .173 read_saif. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .175 read_sdc. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .176 read_spef. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .178 read_tcf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .179 read_vcd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .180 restore_design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .181 write_atpg. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .183 write_bsdl. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .184 write_compression_macro. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .185 write_config_template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .186 write_def. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .187 write_design. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .188 write_dft_abstract_model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .189 write_do_ccd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .190 write_do_ccd compare_sdc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .191 write_do_ccd generate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .192 write_do_ccd propagate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .193 write_do_ccd validate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195 write_do_clp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .196 write_do_lec. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .198 write_do_verify cdc. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .200 write_encounter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .202 write_et_atpg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .205 write_et_bsv. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .206 write_et_mbist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .207write_et_rrfa. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .208 write_ets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .209 write_ett . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .210 write_forward_saif . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .211 write_hdl. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .212 write_io_speclist. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .215 write_saif . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .216 write_scandef. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .217 write_script. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .218 write_sdc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .221 write_sdf. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .224 write_set_load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .227 write_spef. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .228 write_tcf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .229 write_template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2306Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .233 clock_uncertainty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .234 create_mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .237 define_clock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .240 define_cost_group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .245 derive_environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .246 external_delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .248 generate_constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .252 multi_cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .254 path_adjust. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .259 path_delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .263 path_disable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .266 path_group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .269 propagate_constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .272 specify_paths. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .274 validate_constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2807Elaboration and Synthesis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .283 elaborate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .284 remove_assigns_without_optimization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .286 remove_inserted_sync_enable_logic. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .288 retime. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .289 set_remove_assign_options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .291 synthesize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2948Analysis and Report. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .301 all_connected. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .304 all des. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .305 all des inps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .306 all des insts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .307 all des outs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .308 all des seqs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .309 all lib. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .311 all lib bufs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .312 all lib ties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .313 analyze_library_corners. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .314 check_design. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .316 clock_ports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .321 compare_sdc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .322 fanin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .323 fanout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .326 report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .328 report area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .332 report boundary_opto. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .334 report buskeepers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .335 report cdn_loop_breaker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .336 report cell_delay_calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .338 report checks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .339 report clock_gating. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .342。
thinstation编译-回复关于thinstation编译的步骤和过程。
Thinstation是一个基于Linux的轻量级操作系统,专门设计用于将计算机转变为终端机,并通过网络连接到远程服务器上。
编译Thinstation可以让用户自定义系统的功能和配置,以满足特定需求。
在本文中,我将一步一步地回答关于Thinstation编译的过程和步骤。
1. 确认系统要求:在开始之前,我们需要确认计算机系统是否满足Thinstation的编译要求。
Thinstation通常需要一台运行Linux操作系统的计算机,并且需要安装一些必要的软件包,例如GCC编译器和一些开发工具。
2. 下载源代码:Thinstation的源代码可以从其官方网站上免费下载。
我们需要下载最新的稳定版本,并将其保存到本地计算机的适当位置。
3. 解压源代码:打开终端窗口,导航到你保存Thinstation源代码的目录,并使用以下命令将其解压缩:tar -zxvf thinstation-x.x.tar.gz这里的"x.x"代表你下载的Thinstation版本号。
4. 配置编译选项:在开始编译之前,我们需要配置一些编译选项,以便根据我们的需求进行定制。
这些选项可以通过编辑源代码目录下的`build.conf`文件来设置。
该文件包含了各种系统参数和配置选项,我们可以根据需要进行自定义修改。
5. 开始编译:配置完编译选项后,我们可以通过运行以下命令来开始编译Thinstation:./build lfs这个命令会自动编译源代码,并生成一个可用的系统镜像文件。
6. 等待编译完成:编译过程可能需要一些时间,具体取决于你的计算机性能和Thinstation 的版本大小。
请耐心等待,直到编译过程完全完成。
7. 查看编译结果:一旦编译过程完成,可以在源代码目录下的`/ts/build/out`文件夹中找到编译生成的镜像文件。
这个镜像可以按照需要在你的计算机上进行安装和使用。
NASM语法
NASM汇编语⾔的语法很简单,由4部分组成:
label:instruction operands; comment
这4部分都是可选的。
⼀条语句可以没有label,没有comment,甚⾄连instruction都可以没有,⽐如下⾯的语句只有⼀个label,对于NASM 来说,是合法的:
labeltest
⾄于操作数operands可选还是不可选,得根据instruction来决定。
⾏连接
如果⼀条语句需要跨越多⾏,只需要在语句末尾加上'\',那么多⾏语句被NASM当成⼀条语句:
mov eax \
12h;跨越多⾏
空格
⼀⾏语句⾥⾯的空格数量是没有限制的,⽐如上⾯语句中:后⾯可以有空格,也可以没有空格。
label
组成label的字符包括:字母数字 _ $ @ # ~ ? .
可以作为label⾸字符的只有:字母 . _ ?
其中⼀个label以开头,表明它仅仅是⼀个标识符,⽽不是关键字,⽐如eax表⽰标识符,⽽不是寄存器eax
label后⾯的:是可选的
Processing math: 100%。
Version3.6版本说明《版本说明_LMS3.0》包含了LMS3.0版本以及后续版本的版本说明,主要介绍了各版本的新增功能、已知问题等内容。
l版本说明LMS_3.6l版本说明LMS_3.5l版本说明LMS_3.4l版本说明LMS_3.3l版本说明LMS_3.2版本说明LMS_3.6发布概述发布日期:2022年7月15日本次发布支持分发、管理、回收云·界的威胁情报许可证;支持对vBDS产品的许可证进行校验;支持配置自定义证书用于网元设备的认证;并支持在VMware平台部署vLMS。
版本发布相关信息:https:///show_bug.cgi?id=29013平台和系统文件新增功能已知问题浏览器兼容性以下浏览器通过了WebUI测试,推荐用户使用:l IE11l Chrome获得帮助Hillstone-LMS许可证管理系统配有以下手册,请访问https://进行下载。
l《LMS许可证管理系统WebUI用户手册》服务热线:400-828-6655官方网址:https://版本说明LMS_3.5发布概述发布日期:2022年3月21日本次发布新增支持分发、管理、回收云·界的SR-IOV吞吐控制许可证;支持对vRAS、vOSG产品的许可证进行自动下发和回收;支持被管理设备以HTTPS方式通过LMS进行特征库升级;支持对到期/失联的许可证进行二次确认后回收,并支持页面提醒管理员;公网LMS支持许可证黑名单功能,可阻断非法VSN 进行验证;另外还支持与天翼云平台对接,实现自动化授权等业务等。
版本发布相关信息:https:///show_bug.cgi?id=27236平台和系统文件新增功能无。
浏览器兼容性以下浏览器通过了WebUI测试,推荐用户使用:l IE11l Chrome获得帮助Hillstone-LMS许可证管理系统配有以下手册,请访问https://进行下载。
l《LMS许可证管理系统WebUI用户手册》服务热线:400-828-6655官方网址:https://版本说明LMS_3.4发布概述发布日期:2021年4月19日本次发布主要新增支持导入多层压缩的.tar或.zip格式的许可证文件;支持导出许可证列表;支持配置基于UUID和SN的许可证安装策略;DHCP客户端支持启用无类别静态路由;新增防克隆检查和克隆惩罚机制;新增点数模式平台许可证和虚拟化产品点数许可证,并支持使用点数模式对虚拟化产品许可证进行计费;支持对华为云定制型号vFW的许可证进行管理和自动下发。
TRS WCM5.1快速入门手册目录1. 前言 (1)2. 文档管理 (1)2.1. 采集文档 (1)2.1.1. 设置文档的基本属性 (2)2.1.2. 编辑文档内容 (7)2.2. 对文档进行操作 (9)2.2.1. 编辑文档 (10)2.2.2. 删除文档 (10)2.2.3. 转发文档 (10)2.2.4. 改变状态 (10)2.2.5. 页面预览 (11)2.2.6. 发布文档 (11)2.2.7. 文档排序 (11)2.3. 发布管理 (11)3. 附录 (12)3.1. 文本处理软件使用方法 (12)3.2. 修改WCM系统登录密码 (15)1.前言本手册作为网站信息维护人员快速熟悉、使用TRS WCM的参考资料,着重介绍TRS WCM5.1的文档管理与发布的方法和技巧。
如需了解更多相关内容,请阅读TRS WCM用户手册。
2.文档管理2.1.采集文档在一般情况下,文档是依附于频道而存在的,因此对文档进行的任何操作都是在指定的频道下进行的。
采集文档时通常需要指定相应的频道,采集了文档之后的文档列表如下图所示:2.1.1. 设置文档的基本属性基本信息文档的基本信息主要包含有:文档类型、文档标题、文档作者、安全级别、文档来源、文档模板、撰写时间、相关词、关键词、文档摘要等。
文档类型:为用户录入的文档类型,系统定义了四种类型,即:HTML 内容()、普通()、链接()以及外部文件()。
系统默认的文档类型为HTML 内容。
普通类型:表示用户采集的文档是纯文本格式的内容。
它和“HTML 内容”类型的文档区别在于,普通类型的文档不允许用户录入图片等媒体信息,也不允许执行内容格式化,而“HTML 内容”类型的文档可以;链接类型:表示用户采集的文档是一个外部链接。
点击“链接”时,会立即弹出一个窗口,如图所示:用户可自己定义每页显示的条数(不受限制,默认为20)。
基于效率考虑,删除时最多只能同时删除100条详尽的检索选项。
soem-master 编译-概述说明以及解释1.引言【1.1 概述】在当今软件开发领域,构建可靠、高效的系统至关重要。
而Soem-master是一个用于实现EtherCAT(以太网通信技术)从站设备的软件堆栈。
它提供了在嵌入式系统中实现实时通信的解决方案。
所谓EtherCAT,是一种面向工业自动化领域的通信协议。
通过在传统以太网通信基础上的扩展和优化,EtherCAT能够实现高实时性和低延迟的数据传输。
它为工业自动化系统提供了一种高效、可靠的网络通信方式。
Soem-master作为一个用于实现EtherCAT从站的软件堆栈,为嵌入式系统提供了一种灵活且易于开发的解决方案。
它是基于EtherCAT协议规范而开发的,通过Soem-master,开发人员可以轻松地构建出具备实时通信能力的从站设备。
在利用Soem-master开发从站设备时,开发人员可以借助其提供的丰富接口和函数,快速实现对EtherCAT网络的访问和数据交换。
同时,Soem-master还提供了一系列用于处理EtherCAT协议的功能,如帧封装、数据解析等。
这些功能的集成使得开发者只需关注应用层的开发,而无需深入了解EtherCAT底层的技术细节。
总之,Soem-master是一个重要的软件堆栈,可以帮助开发者快速构建出具备实时通信能力的EtherCAT从站设备。
它为嵌入式系统的开发提供了强大的支持,有助于提高系统性能和可靠性。
随着工业自动化领域的不断发展,Soem-master的价值将更加凸显。
文章结构部分的内容如下:1.2 文章结构本文将按照以下结构来展开对soem-master 编译的详细介绍和解析:1. 引言:首先对本文的主题进行概述,明确文章所要讨论和分析的内容。
同时介绍文章的结构和目的,让读者了解文章的整体安排和预期结果。
2. 正文:接下来,从两个要点着手,对soem-master 编译进行深入分析。
在要点1中,我们将探讨如何准备所需的环境和工具,以及如何下载和配置所需的文件。
NASMx86汇编入门指南NASM x86汇编入门指南原文链接:内容1. 介绍2. 为什么写这篇文章3. NASM(The Netwide Assembler)汇编编译工具3.1 为什么使用NASM?3.2 如何安装NASM?4. Linux汇编介绍4.1 DOS和Linux汇编主要不同的地方4.2 一个汇编程序的组成4.3 linux系统调用4.3.1 阅读参考手册4.4 “Hello World!”汇编程序4.5 编译和链接汇编代码5. 更多的高级概念5.1 命令行参数和栈5.2 过程调用和跳转附录A 如何使用linux终端附录B 在linux安装NASM或其它汇编工具附录C 参考一、介绍本教程是介绍如何在linux环境下编写汇编代码的入门文章,为了适应不同的人,这里包含了两个版本。
1. 一步一步学习指导:这个版本详细的进行了解释,它假设你没有DOS基础,也没有使用过linux,并教给你一些基本技能,比如如何使用终端和DOS命令.2. 快速开始:如果你急于想体验linux汇编程序,编译并运行它,如果你有一些DOS汇编基础并能使用linux终端软件,你可以先看这篇教程。
它简单讲解了linux和DOS汇编的不同,以至于不会让你混淆它们。
这里,我们使用NASM作为汇编编译工具,关于它的细节可以看附录C:参考资料,来获取更多信息。
二、为什么写这篇文章?最主要的原因是为了使得在linux下编写汇编程序比DOS下变得更容易、更好更实用,并且,还将教给你一些linux方面知识(除非你已经对它很熟悉)用汇编编程看起来相当受虐待(并且用它写整个代码也很荒谬),尤其是在如今,拥有很多功能强大的编译器甚至是图形界面的集成开发环境,生成的汇编代码甚至超过了一些专业级的汇编程序员。
但是,使用汇编有一个优点就是有助于你更加熟悉处理器和内核的内部工作原理,特别是有时候在C/C++中内嵌汇编尤其有用。
如果你想让你的代码执行得更快,你可以调整并优化你的编译器生成的汇编代码(前提是你比现代编译器的编写者更能处理好生成的代码。
NASM教程目前,市面上大多数的汇编语言教程都是以MASM为默认汇编器的。
虽然MASM作为微软公司的汇编器在win32开发方面有一定优势,但仍有许多不足。
1、下载安装NASM的下载非常简单。
登陆其官方网站,点击上面的Download链接,进入下载列表页面,如下图:选择一个较新的稳定版本,这里选择的是2.09.02,在新页面中选择win32选项,如下图:在打开的页面中有两个选项,分别是nasm-2.09.02-installer.exe和nasm-2.09.02-win32.zip,如下图:这两个链接都是下载项,前者是安装版,后者则无需安装,可以直接运行。
因为安装版中提供官方pdf文档,因此建议下载安装版。
NASM的安装过程较容易,在此略过。
>安装完成后,要进行环境变量设置才能使用。
方法如下:右击【我的电脑】,选择【属性】→选择【高级】选项卡,单击【环境变量】按钮→在【系统变量】一栏里选中【Path】项→在【值】一栏中的内容后面追加;C:\Program Files\NASM(注意是追加而不要删去前面的内容,字符是英文状态下的,前面的分号不能省)。
设置完成,在Command窗口输入nasm -v并回车,如果输出类似于NASM version 2.07 compiled on Jul 19 2009就说明设置成功。
2、命令参数要将源文件demo.asm汇编为exe文件,可以在Command窗口输入如下命令:nasm demo.asm -o demo1.exe要汇编为32位Windows程序,可以在Command窗口输入如下命令:nasm -f win32 demo.asm -o demo2.exe要汇编为64位Windows程序,可以在Command窗口输入如下命令:nasm -f win64 demo.asm -o demo3.exenasm命令的-o参数用于指定输出文件的文件名,-f用于指明文件格式,如果没有指明文件格式,则默认编译为bin格式,即纯二进制代码。
<版本 1.2 >中科院计算机网络信息中心超级计算中心ScGrid应用编写编译使用指南2013/04/16版权所有2010-2016年:中国科学院计算机网络信息中心超级计算中心登录方式请参考《中国科学院超级计算环境使用说明》,登录“知识库”栏目即可下载。
编写、编译和执行程序需求说明用户需要编写程序,或者安装/改造开源的程序;在编写或者修改程序之后,采用适当的编译器编译,并链接正确的程序库,形成可执行程序;最后以作业方式提交计算,并查看结算结果。
在超算服务器上,一般来讲,用户自编写的程序以并行程序为主。
使用网格命令scelib可以查看到当前操作的超算服务器的编译环境信息。
选项–h hpcname 查看给定目标集群的编译器和链接库安装信息,可用集群的名字(hpcname)可以通过网格命令listnodes查看,当前工作的集群名字可以通过命令set HOST查看。
选项-n softname 查看指定编译器或者链接库的名字的基本信息。
选项-L查看安装路径。
选项-l查看具体的编译命令或者链接选项提示。
用户可根据命令listnodes和scelib选定所操作的计算资源,通过命令set HOST=hpcname设定在HOST环境中,设置成功之后该名字将出现在命令提示符中。
在任何HPC文件操作之前需将文件上传至所操作的HPC,使用命令sceput,参数是需要上传的文件名字,也支持*,表示上传当前目录的所有文件。
上传之后使用命令scels可以查看到HPC上的文件列表,使用命令scecat filename可以查看文件内容。
使用网格命令scemake 在目标工作机上编译程序。
如果程序原本是make机制编译,直接使用scemake命令替换原来的make命令即可,比如scemake clean,scemake all等等。
如果程序原本是通过一个shell脚本编译,使用命令scemake –E scriptfile实现编译。
NASM网际编译器手册第1章简介1.1 什么是NASM?网际汇编器,NASM是一个模块化和便携性的80x86汇编编译器。
它支持多种目标格式包含Linux的a.out,ELF,NetBSD/FreeBSD,COFF,Microsoft的16位OBJ和Win32。
它输出平坦模式的二进制文件。
它在语法设计上简单且容易理解,和Intel的相似但没有那么复杂。
它支持Pentium,P6和MMX操作码,并且宏操作方面兼容。
1.1.1 为什么不用其它编译器?网际编译器是在基于ng.asm.x86(也可能是ng.asm我记不清了)上的思想成长起来的。
它在本质上不象周围很好的自由x86系列编译器,并且应有人写一个。
a86是比较好的,但并不免费,通常你不能得到任何32位兼容的除非你付费。
它只支持DOS。
gas 是免费的,并且适应于DOS和Unix,但它不是很好用,由于它被设计成相对于gcc的后端,所以必须给它输入一些正确的密码。
导致它的错误检查是很小。
因此,从这方面来看待和真正写些代码来说,它的语法是很难懂的。
另外你不能用它写16位代码(正常情况下)。
as86是Linux专用的,并且有很多文档(至少对我来说)。
MASM不是很好用,它太贵了,并且只能在DOS下运行。
TASM好一些,但仍在和MASM相兼容,意味着将会有不计其数的指令的官文。
它的语法本质上和MASM相同。
但它也很贵。
只在DOS下运行。
因此,这里为了编码的快乐,用NASM。
现在它仍然处理试验阶段-我不能保证它这些编译器好,但请向我们报告程序中的问题,修改意见及帮助信息,和任何你现有的信息。
(感谢很多人会这样做,你知道你也会),我们将不断的发展它。
1.1.2 软件许可协议请查看许可协议文件,做为NASM描述档案的一部分提供,你可以在许可协议下使用NASM。
1.2 联系方式当前版本的NASM(从0.98)是由H.Peter Anvin(hpa@)维护的。
如果你想报告任何程序问题,请先读一下第10.2节.NASM有一个网页为:htt///Nasm.原始作者可邮寄电子信箱: jules@ 和anakin@最新版本的NASM已经上传到,,和.通告将发布在 ng.asm.x86,ng.asm,comp.os.linux.announce和comp.archives.msdos.announce(最后一个将自动传到上)如果你没有新闻组可以访问,或者更喜欢用电子邮件进行交流,你可以发送一行包含subscribe nasm-announce的内容的邮件到majordomo@.如果你想了解NASM beta版的有关信息,请发送一封含有subscribe nasm-beta信息的电子邮件到/bbs/mailtmajordomo@.1.3安装1.3.1 在MS_DOS 或Windows下安装NASM当你得到NASM的DOS版本的文件时,nasmXXX.zip(XXX表示NASM的版本号),将它解压到当前目录下(例如:C:\\NASM)这个文件包含4个执行文件:NASM的执行文件为:nasm.exe和nasmw.exe和NDISASM 的执行文件:ndisasm.exe,ndisasmw.exe.这个文件夹里文件名后有w为一个win32可执行文件,被设计在windows95或windows NT下运行,另外的是16位的DOS执行程序。
NASM 文件要运行它的自运行文件,因此拷贝(至少)nasm.exe和nasmw.exe的一个到你的目录下,或选择一个编辑autoexec.bat文件将nasm的路径加到你的PA TH目录上。
(如果你要节省空间可以删除它);然而,你可以保留这个文件或测试程序。
如果你下载了DOS的源码文件包, nasmXXXs.zip,nasm目录将包含完事的NASM源代码,你可以选择一个MAKEFILE(推荐)来重新编译NASM,README文件列出了这些MAKEFILE之间的不同和用什么编译程序编译的。
注意源文件:insnsa.c,insnsd.c,insnsi.h和insnsn.c是自动从Perl角本文件:主指令列表文件insns.dat生成的。
文件macros.c是通过另一个Perl角本从standard.mac生成的。
虽然NASM 0.98的发布包含这些生成文件,但如果你改变了insns.dat,standard.mac或相关文档,你还是需要重新编译它。
(因此你需要一个Perl解释器),也许以后的源码发布文档根本就不包含这些文件。
Perl在不同平台(包含DOS和Windows)的输出变化,在/可以找到。
1.3.2 在Unix下安装NASM一旦你得到NASM的Unix源码文件:nasm-X.XX.tar.gz(这里X.XX表示档案中包含NASM的版本号),你就可以把它解压到如:/usr/local/src的目录下,这个档案一旦解压会生成它自己的子目录:nasm-X.XX.NASM是一个自配置压缩包:你解压后,用cd命令到它解压的目录下,然后用type ./configure命令,这个shell角本将会找到最好的c编译器来编译NASM 并建立相应的Makefiles文件。
一旦NASM自动配置后,你就可以用命令type make来编译nasm和ndisasm二进制文件,然后用命令install来将它们安装到/usr/loacl/bin下,将nasm.1和ndisasm.1的帮助文件安装到/usr/local/man/man1目录下。
对于有选择的,你可以给出如--prefix来配置角本(关于安装的详细信息见INSTALL文件),或者安装你自己的程序。
NASM 也提供一些关于RDOFF自定义目标文件格式的工具,这些在NASM压缩包的rdoff子目录下,如果你想用他们的话。
如果NASM自配置失败的话,你可以用Unix的失败后退makefile 文件Makefile.unx来编译它。
对Makefile文件拷贝或重命名文件,并试关重新编译。
在rdoff 子目录下也有一个Makefile.unx文件。
第二章运行NASM2.1NASM命令行参数为了汇编一个文件,你必须用一个命令行来实现:nasm -f [-o ]例子:nasm -f elf myfile.asm将文件myfile.asm汇编成一个elf目标文件myfile.o.nasm -f bin myfile.asm -o 将文件myfile.asm汇编成一个二进制文件.为了生成一个列表文件,用参数-l来给出一个列表文件名,例如:nasm -f coff myfile.asm -l myfile.lst为了得到更多关于NASM指令用法请用命令:nasm -h这也可以列出有效的输出文件格式,及它们是什么.如果你用Linux,但不确信你的系统是a.out还是ELF,用命令file nasm(在你安装NASM一进制文件的哪个目录),如果它显示如下信息:nasm:ELF 32-bit LSB executable i386 (386 and up) V ersion 1哪么你的系统为ELF,当你想生成Linux目标文件时应该用-f elf。
如果它显示:nasm:Linux/i386 demand-paged executable(QMAGIC) 或相似的一些信息,你的系统应该是a.out的.你应该用use -f aout来代替(Linux a.out系统被认为淘汰了,现在很小见)象一些Unix 编译器,NASM是默认的除非它出错;你瘵不能看到它输出任何信息,除非它显示错误信息。
2.1.1 -o参数指定输出文件名NASM正常情况下将为你指定输出文件名;它对目标文件格式是独立的。
对于微软的目标格式文件(obj和win32),它将从你的源文件移走asm扩展名(或者你用-NASM来忽略)并加上obj扩展名.对于Unix目标文件格式(aout.coff,elf和as86),它将为rdf加上.o,它将用.rdf,而对于二进制文件它只是简单的移去扩展名.所以myfile.asm文件将生成名为myfile的输出文件.如果输出文件存在,NASM将覆盖它,除非它有相同名字的输入文件,这种情况它将组出一个警告并用nasm.out来代替输出文件名。
这种替换行为是不允许的,NASM提供-o命令行参数来允许你指定你想要的输出文件名。
你可以在-o后边加空格或不加空格,然后在加文件名,如:nasm -f bin program.asm -o nasm -f bin driver.asm -odriver.sys2.1.2 -f参数:指定输出文件格式如果你不用-f参数指定文件格式,NASM将为你指定一种格式。
在NASM的发布版本中,默认的为bin;如果你编译你自己的NASM拷贝,你可以在编译时重新定义OF_DEFAULT 并且选择你想默认的文件名。
象 -o参数一样,在-f 和输出文件格式之间的空格是可选的。
所以-f elf 和-felf都是有效。
一个完整的输出文件格式列表可能过命令nasm -h来得到。
2.1.3 -l参数:生成列表文件如果你用NASM的-l参数,后面加文件名(通常中间加),NASM将生成一个源码列表文件。
生成的代码和地址被列在左边,还有真正的源码,并带有多行宏的扩展。
(除了指定在要求在源码列表不扩展:见第4.2.9节)在右边。
例如:nasm -f elf myfile.asm -l myfile.lst2.1.4 -E参数:将错误信息输出到文件中在MS-DOS下将程序的错误信息输入到一个文件中是比较困难(虽然这有方法),因此NASM通常将警告信息和错误信息显示在屏幕上,如果你想捕获这些信息并存入到编辑器中将是比较困难的事. NASM因此提供了-E参数然后加上文件名将会使错误输出到文件中而不是标准错误设备上。
因此你可以通过命令typing nasm -E myfile.err -f obj myfile.asm 重新将错误信息输出到文件中。
2.1.5 -s参数:将错误输出到标准输出上-s参数将错误信息重新定位到标准输出面不是标准错误上,因此它能在MS-DOS下运行。
为了汇编文件myfile.asm并且将它通过管道输出到其它程序中,你可以通命令:nasm -s -f obj myfile.asm |more关于-E参数的详细信息请看第2.1.4节2.1.6 -i参数:头文件设置路径当NASM在源文件中查看%include 定向符号时(详细信息见第4.5节),它将搜索在命令行中指定的目录而不只是当前目录中文件。
你也可以从一个宏库文件中包含文件,例如,用命令:nasm -ic:\\macrolib\\ -f obj myfile.asm(通常在-i和路径名中的空格是可选的)NASM ,在源码级兼容方面比较感兴趣,不用理解不同操作系统间文件名的转换。