没有合适的资源?快使用搜索试试~ 我知道了~
WGL:Waveform Generation Language(附笔记)
需积分: 0 6 下载量 87 浏览量
2023-09-12
11:43:45
上传
评论
收藏 899KB PDF 举报
温馨提示
试读
139页
WGL:Waveform Generation Language 引流:DFT、SCAN、ATGP、ATE
资源推荐
资源详情
资源评论
Languages, Vol. II, R11.0 2-1
Fluence Technology, Inc.
Chapter 2
Waveform Generation Language
2.1 Introduction
The Waveform Generation Language (WGL) is a data description language. It
is used to convey an editable ASCII representation of the data contained in a
Waveform DataBase (WDB), allowing you to use your system’s text editor to
fully customize the database.
2.2 When to Use WGL
Since you can easily convert an existing TDS Standard Events Format (SEF)
database to a WDB using the WaveMaker Browser, and edit a new or existing
database using the WaveMaker editors, you may have little occasion to use
WGL. However, WGL permits you to modify some parts of the WDB that are
not accessible by WaveMaker’s editors.
Use WGL to:
■ Transfer a WDB from one host platform type to another type. WDBs are
not otherwise portable.
■ View and edit the ATE-specific portions of the WDB. Such portions of the
WDB are not accessible by WaveMaker’s editors.
■ Create a WDB solely from WGL. This permits users who have a TDS
WaveBridge module, but do not have WaveMaker, to run WaveBridge with
a WDB.
■ Use binary pattern data from the CAE simulation as input to TDS. (For
more information, see Binary WGL on page 2-102.)
■ Use your favorite text editor to perform sophisticated text manipulation
operations, such as search and replace. (Do not edit a WGL file that
WGL and Wavemaker 2—Waveform Generation Language
2-2 Languages, Vol. II, R11.0
Fluence Technology, Inc.
contains binary pattern data; null pattern bits may be deleted by the
editor.)
WGL is designed to be used in conjunction with the TDS WGL In Converter
and WGL Out Converter modules. For details on how to use the WGL In
Converter and the WGL Out Converter, see Chapter 15 in the In Converters
Guide and Chapter 16 in the Out Converters Guide.
2.3 WGL and Wavemaker
Since WGL describes a WDB, the language necessarily reflects the structure
of the WDB. If you have used the WaveMaker editors to view a WDB, you will
recognize this similarity. Many of the entities (such as ATE Pin and DUT Pin
fields) that are visible in WaveMaker’s editors are easily identifiable in WGL.
Some WGL structures, however, are associated with ATE-specific descriptions,
and are not visible in the WaveMaker Editors. The WGL Formats program
block is an example of such a structure.
An example of the similarity of structure between the WaveMaker editors and
WGL program structure is the WaveMaker Timing Editor. The WaveMaker
Timing Editor allows you to edit a TDS timing template, or TimePlate. The
TimePlate contains slots for one or more signals (identified by signal, group,
or bus name), a signal direction indicator, and a waveform track. Slots are the
area in which the signal name or names are entered.
Figure 2-1 shows the Timing Editor’s view of a TimePlate named Fetch. Note
the TimePlate name, the signal names, the signal directions, and the
waveform tracks; all of these entities can be described using WGL. Timing
slot,direction,
waveform track
Languages, Vol. II, R11.0 2-3
Fluence Technology, Inc.
2—Waveform Generation Language WGL and Wavemaker
channels are arbitrary entities that contain signal, group, or bus names,
direction information, and event and timing data.
The corresponding WGL description of the TimePlate Fetch is shown in the
following example. Note how the TimePlate name, the signal name, direction,
waveform track, and channel correspond to the same entities shown in the
Timing Editor.
Start Example
timeplate Fetch period 300nS
CS_ENABLE := input[0pS:P, 30nS:S];
CLOCK := input[0pS:D, 50nS:U, 100nS:D, 150nS:U, 200nS:D, 250nS:U,
300nS:D];
A-BUS := input[0pS:D, 120nS:S, 260nS:D];
LOAD := input[0pS:P, 30nS:S];
. . .
. . .
. . .
End Example
end
Figure 2-1. WaveMaker Timing Editor showing the TimePlate Fetch
TimePlate name
Signal names
Signal direction
Waveform Tracks
Timing Channel
信号,组或者总线名
方向:输入
时间数据信息
时钟周期为100ns,
D表示低,U表示高
Fetch 名字,period关键
字,时间300ns
S:Force logic substituted
from pattern
P:Force logic using
previous format shape
在0ps起保持先前的
状态不变,30ns时
刻,CS_ENABLE的
值用pattern的值代替
信号的具体取值要根
据timeplate的描述
和pattern的值确定
WGL Language Conventions 2—Waveform Generation Language
2-4 Languages, Vol. II, R11.0
Fluence Technology, Inc.
2.4 WGL Language Conventions
A WGL program is an ASCII text version of the information in the WDB.
1
The
language is free-form (multiple white spaces are treated as a single white
space and line returns are ignored) and limited to a line length of 512
characters. WGL reserved words are not case sensitive; keywords may be
entered in any mix of upper and lower case letters. For user-defined names
and pattern state characters, case is significant. The language uses the ASCII
set of printable characters as legal input characters. WGL supports such
features as macros, include files, in-line comments, post-compilation
annotation, and many other operations normally available in programming
languages.
2.4.1 WGL Syntax Notation Conventions
In describing the syntax of WGL, the following variation of the Backus-Naur
Formalism (BNF) is used:
■ Two colons followed by an equivalence sign ( ::= ) denote a syntactic
category to syntactic rules relationship.
■ Double quotation marks ( “ ” ) or Bold typeface denote the literal use of a
reserved word, typographical symbol, or parameter. If double quotation
marks are to be used literally, they are enclosed within single quotation
marks ( ‘ ’ ).
■ Angle brackets ( < > ) denote the use of a user-defined name, integer, or
floating number.
■ An equivalence sign ( = ) denotes the definition of a WGL reserved word or
lexical primitive.
■ Brackets ( [ ] ) denote optional syntax, appearing 0 or one time.
■ Braces ( { } ) denote an unspecified repetition ( 0 to n times) of the enclosed
syntax. (This notation implies that the enclosed syntax is optional, since
zero repetitions of a syntax is optional usage.)
■ A vertical bar ( | ) denotes separate choices of syntax.
1. Binary pattern files use the WGL syntax notation plus have additional notations. Binary
File Format on page 2-107.
格式自由,每行最
多512个字符,关键
字不区分大小写
::= 是“被定义为”的意思
Languages, Vol. II, R11.0 2-5
Fluence Technology, Inc.
2—Waveform Generation Language WGL Language Conventions
■
Parentheses ( ( ) ) denote grouping of syntax options.
The use of italics in a text reference to a WGL syntactical element indicates
higher-level BNF constructs. Such constructs are expanded to their full
definition in the BNF accompanying the reference. For example, references to
FormatDecl would appear in the appropriate BNF production as follows:
FormatDecl ::= <formatName> “:” “[” <TDSstate> { “,”
<TDSstate> } “]” “;”
User-defined identifiers, such as <TDSstate>, are defined in the Glossary of
WGL Terminology on page 2-134.
NOTE
Do not confuse the BNF use of such typographical symbols as braces
({}
)
with WGL’s use of the same symbol. BNF uses braces to show a repetition
of the action enclosed within the braces, while WGL uses braces to mark
database annotations.
2.4.2 Comments
As in other programming languages, you can add explanatory comments to a
WGL program to aid functional clarity. These comments are preceded by the
pound sign ( # ), and are not included in the WDB when the WGL In Converter
is run.
Comments can be inserted into any part of a WGL program except WGL
annotations.
1
(See Annotations on page 2-64.) To insert a comment into a
WGL program, enter a pound sign ( # ), followed by a text string. All
characters on the line, starting with the pound sign and the terminating with
the carriage return marking the end of the line, are included in the comment.
A complete BNF syntactical representation of the Comment feature follows.
Comment ::= “#” <any explanatory text> <end-of-line>
Example of WGL comments in a WGL program:
1. The binary pattern file cannot have comments, only annotations.
注释
剩余138页未读,继续阅读
资源评论
m0_49519888
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于SpringBoot+Vue3快速开发平台、自研工作流引擎源码设计.zip
- docker安装部署全流程
- 基于树莓派的人脸识别系统python源码+项目部署说明+超详细代码注释.zip
- Python和R爬取分析赶集网北京二手房数据.zip
- Python和R爬取分析赶集网北京二手房数据.zip
- Java知识体系最强总结(2021版).txt
- Python知识点Python知识点Python知识点Python知识点Python知识点PythonPython知识点.txt
- Java开发基于seetaface6的人脸识别(活体检测)的封装源码.zip
- JSP在线失物招领管理平台源码.zip
- JSP在线旅游美食展现管理系统源码.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功