wangjicheng886的个人空间 https://blog.eetop.cn/1774723 [收藏] [复制] [分享] [RSS]

空间首页 动态 记录 日志 相册 主题 分享 留言板 个人资料

日志

skill language user guide 3

热度 11已有 787 次阅读| 2023-5-20 15:28 |系统分类:芯片设计

Cadence SKILL Language at a Glance


This section presents a quick look at various aspects of the SKILL programming language. These same subjects are discussed in greater detail in succeeding chapters.

本节简要介绍了SKILL编程语言的各个方面,这些主题将在接下来的章节中进行更详细的讨论。


This section introduces new terms and takes a general look at the Cadence Framework environment. It explores SKILL data, function calls, variables and operators, then tells you how to solve some common problems. Although each application defines the details of its SKILL interface to that application, this document most often refers to the Cadence Design Framework II environment when giving examples.

本节介绍了一些新术语,并对Cadence Framework环境进行了概述。它探讨了SKILL数据、函数调用、变量和运算符,然后告诉您如何解决一些常见问题。虽然每个应用程序都定义了其SKILL接口的细节,但本文档在举例时通常会引用Cadence Design Framework II环境。


SKILL is the command language of the Cadence environment. Whenever you use forms, menus, and bindkeys, the Cadence software triggers SKILL functions to complete your task. For example, in most cases SKILL functions can

SKILL是Cadence环境的命令语言。每当您使用表单、菜单和绑定按键时,Cadence软件都会触发SKILL函数来完成任务。例如,在大多数情况下,可以使用SKILL函数自动化在Cadence环境中重复执行的操作,如创建或修改设计元素。总体而言,SKILL大大提高了Cadence环境的生产率和灵活性。


1)Open a design window

2)  Zoom in by a factor of 2

3)  Place an instance or a rectangle in a design  在一个设计中放置一个实例或矩形


Other SKILL functions compute or retrieve data from the Cadence Framework environment or from designs. For example, SKILL functions can retrieve the bounding box of the current window or retrieve a list of all the shapes on a layer.

其他SKILL函数从Cadence Framework环境或设计中计算或检索数据。例如,SKILL函数可以检索当前窗口的边界框或检索一个图层上的所有形状列表。


You can enter SKILL functions directly on a command line to bypass the graphic user interface.

您可以直接在命令行中输入SKILL函数以绕过图形用户界面。


Terms and Definitions


1)output      

The destination of SKILL output can be an xterm screen, a design window, a file, or in many cases, the Command Interpreter Window (CIW). SKILL输出的目标可以是xterm屏幕、设计窗口、文件,或者在许多情况下是命令解释器窗口(CIW)。


2)CIW

Command Interpreter Window: The start-up working window for many Cadence applications, which contains an input line, an output area, a menu banner with commands to launch various tools, and prompts for general information. The output area of the CIW is the destination of many of the examples used in this manual.

命令解释器窗口:许多Cadence应用程序的启动工作窗口,包含输入行、输出区域、带有启动各种工具命令的菜单横幅以及提示获取一般信息。CIW的输出区域是本手册中许多示例的输出目标。


3)SKILL interpreter

The SKILL interpreter executes SKILL programs within the Cadence environment. The interpreter translates a SKILL program’s text source code into internal data structures, which it actively consults during the execution of the program.

SKILL解释器在Cadence环境中执行SKILL程序。解释器将SKILL程序的文本源代码转换为内部数据结构,在程序执行期间会主动查询这些数据结构

interpreter 解释器

environment 环境

text source code 文本源代码


4) compiler

A compiler translates source code into a target representation, which might be machine instructions or an intermediate instruction set.

编译器将源代码转换为目标表示形式,这可能是机器指令或中间指令集。

compiler   /kəmˈpaɪlə(r)/   编译器

a target representation 目标表示形式:

      是指编译器将源代码翻译成的另一种形式,通常是计算机可以执行的机器指令或者一个中间语言。该目标表示形式可以被计算机直接执行或进一步转换为可执行文件的二进制形式。


5)evaluation  计算SKILL表达式的值的过程

The process whereby the SKILL interpreter determines the value of a SKILL expression.

SKILL解释器确定SKILL表达式的值的过程。

evaluation   /ɪˌvæljuˈeɪʃn/  n 评价;评审;估计;定值;计值

"evaluation" 意为“求值”, 在计算机科学中,通常指对表达式或语句进行计算的过程,以确定它们的结果或效果。例如,在编程中,一个表达式可以包含变量、运算符和函数调用,通过将这个表达式的值计算出来,可以得到需要的结果,并根据具体逻辑来做出相应的决策。在SKILL解释器中,“evaluation”即是指计算SKILL表达式的值的过程。


6) SKILL expression

An invocation of a SKILL function, often by means of an operator supplying required parameters.

通过运算符提供所需参数的方式,通常会调用SKILL函数

   

这是对某个程序中调用SKILL函数的描述,通常使用运算符提供必要的参数来完成。在SKILL编程语言中,函数是一个可重复使用的代码块,可以执行特定的任务,并可以从程序的不同部分引用和调用。当调用一个SKILL函数时,需要向该函数传递所需的参数,以便它执行特定的操作或计算。函数的调用通常是通过指定函数名,接着在括号中提供相应的参数来实现的。而在某些情况下,则可以使用运算符以更简洁的方式提供参数。

"SKILL expression" 指的是SKILL语言中的一个表达式,它通常由操作数、运算符和函数调用等组成,可以通过计算得到一个确定的值。例如,一个简单的SKILL表达式可以是 2 + 3,其中操作数由数字“2”和“3”组成,运算符为加号“+”,在解释器对这个表达式求值之后可以得到结果“5”。SKILL表达式是程序中构建逻辑的基本模块之一,可以用于控制流程、计算和输出结果等。


7)SKILL function

A named, parameterizable body of one or more SKILL expressions. You can invoke any SKILL function from the command input line available in the application by using its name and providing appropriate parameters.

SKILL函数由一个或多个SKILL表达式的命名和可参数化的主体组成。您可以通过使用其名称并提供适当的参数从应用程序中的命令输入行调用任何SKILL函数。

parameterizable adj "可参数化的",

用于描述某个具有可调整参数的功能或特性。在编程中,它通常指可以被调用时传递不同参数来进行不同操作的函数或方法。


8)SKILL procedure

"SKILL procedure"可以翻译成 "SKILL过程"。其中,"SKILL"是一种编程语言,而"procedure"则是指在程序中被定义和封装的可重复使用的代码块。因此,"SKILL procedure"就是指使用SKILL语言编写的、可以在程序中被多次调用执行的过程或函数。


This term is used interchangeably with SKILL function。

这个术语可以与SKILL函数互换使用

这是因为在SKILL语言中,过程(procedure)和函数(function)的概念非常相似,并且这两个术语通常可以互换使用。不过,从严格定义上讲,函数(function)是具有返回值的代码块,而过程(procedure)则不一定具有返回值。


1

点赞

刚表态过的朋友 (1 人)

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 关注TA
  • 加好友
  • 联系TA
  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 0

    关注
  • 28

    粉丝
  • 7

    好友
  • 19

    获赞
  • 8

    评论
  • 131

    访问数
关闭

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

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

GMT+8, 2024-7-6 22:06 , Processed in 0.047751 second(s), 15 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部