无线域对象
无线域(wireless domain)对象定义一个区域,在该区域内,某些流水线阶段(pipeline stage)计算的结果可以被缓存,并在该区域内的发射机与接收机之间重复使用。通常被缓存的计算包括信道匹配(channel match)、闭合(closure)、传播时延(propagation delay)和路径损耗(path loss)。
无线域对象是无线域模型的实例。无线域在对象调色板(object palette)与工作区中的默认表示形式有所不同,如下图所示。
图 61:默认无线域图标

关于无线域的更多信息,参见“Wireless Domains” on page 11。
无线域对象属性
以下按字母顺序列出无线域对象的内置属性。
表 21:无线域对象内置属性
| Name | Editing Data Type |
|---|---|
| chanmatch model | typed file |
| closure model | typed file |
| creation data | string |
| creation source | string |
| creation timestamp | date |
| doc file | string |
| icon name | icon |
| model | typed file |
| name | string |
| outline color | color |
| propdel model | typed file |
| tooltip | string |
| x position | double |
| x span | double |
| y position | double |
| y span | double |
chanmatch model
此属性指定用于分配给该无线域对象的信道的信道匹配流水线阶段的已编译流水线过程的名称。如果为 NONE,则使用通常的模型(即由相应发射机(transmitter)的 “chanmatch model” 属性指定的模型)。
关于该流水线阶段的更多信息,参见Chapter 10 “Radio Transceiver Pipeline” on page 263。
| Editing | Simulation | |
|---|---|---|
| Data Type | typed file | string |
| Access | read / write | read |
| Default Value | “NONE” | |
| Units | ||
| Constraints |
closure model
此属性指定用于分配给该无线域对象的信道的闭合流水线阶段的已编译流水线过程的名称。如果为 NONE,则使用通常的模型(即由相应发射机的 “closure model” 属性指定的模型)。
关于该流水线阶段的更多信息,参见Chapter 10 “Radio Transceiver Pipeline” on page 263。
| Editing | Simulation | |
|---|---|---|
| Data Type | typed file | string |
| Access | read / write | read |
| Default Value | “NONE” | |
| Units | ||
| Constraints |
creation data
此属性指定关于该对象创建的附加信息。
| Editing | Simulation | |
|---|---|---|
| Data Type | string | not applicable |
| Access | read/write | not applicable |
| Default Value | “” | |
| Units | ||
| Constraints |
creation source
此属性指定该对象的创建方式。
| Editing | Simulation | |
|---|---|---|
| Data Type | string | not applicable |
| Access | read/write | not applicable |
| Default Value | “Object Palette” | |
| Units | ||
| Constraints |
creation timestamp
此属性指定该对象的创建时间。
| Editing | Simulation | |
|---|---|---|
| Data Type | date | not applicable |
| Access | read/write | not applicable |
| Default Value | ||
| Units | ||
| Constraints |
doc file
此属性指定当用户通过 Help > What’s This 菜单项为该对象调用帮助时显示的文档文件(帮助卡)的名称。该属性的值对仿真行为没有影响。
| Editing | Simulation | |
|---|---|---|
| Data Type | string | N/A |
| Access | read / write | N/A |
| Default Value | wdomain | |
| Units | ||
| Constraints |
icon name
此属性指定在对象调色板中表示无线域所使用的位图。(在 Project Editor 工作区中,无线域以表示其范围(extent)的轮廓来表示。)该属性的值对仿真行为没有影响。
| Editing | Simulation | |
|---|---|---|
| Data Type | icon | N/A |
| Access | read / write | N/A |
| Default Value | wdomain | |
| Units | ||
| Constraints |
model
此属性指定使用 Wireless Domain Editor 开发的无线域模型的名称。无线域模型表示无线域的组织结构与行为。
| Editing | Simulation | |
|---|---|---|
| Data Type | typed file | string |
| Access | read / write | read |
| Default Value | ||
| Units | ||
| Constraints |
name
此属性指定用于标识目的的字符串。它可用于在工作区中标识无线域。在仿真期间,它还用于通过内核过程(Kernel Procedure)op_id_from_name() 获取节点的对象 ID(Object ID)。对象 ID 又可用于获取属性值。仿真内核(Simulation Kernel)不使用该属性。
| Editing | Simulation | |
|---|---|---|
| Data Type | string | string |
| Access | read / write | read |
| Default Value | wdomain_n, n >= 0 |
|
| Units | ||
| Constraints | unique name, no dots, not “top” |
outline color
此属性指定在 Project Editor 中绘制无线域时使用的颜色。该属性对仿真没有影响。outline color 属性的取值范围为 RGB000 到 RGB333,其中每个数字是 0 到 3(含)之间的整数。第一个数字越大,红色越多;第二个数字越大,绿色越多;第三个数字越大,蓝色越多。因此 RGB000 对应黑色,RGB333 对应白色,RGB300 对应红色,依此类推。
| Editing | Simulation | |
|---|---|---|
| Data Type | color | N/A |
| Access | read / write | N/A |
| Default Value | RGB003 | |
| Units | ||
| Constraints | See description |
propdel model
此属性指定用于分配给该无线域对象的信道的传播时延流水线阶段的已编译流水线过程的名称。如果为 NONE,则使用通常的模型(即由相应发射机的 “propdel model” 属性指定的模型)。
关于该流水线阶段的更多信息,参见Chapter 10 “Radio Transceiver Pipeline” on page 263。
| Editing | Simulation | |
|---|---|---|
| Data Type | typed file | string |
| Access | read / write | read |
| Default Value | “NONE” | |
| Units | ||
| Constraints |
tooltip
此属性指定当用户将光标悬停在无线域对象上时显示的工具提示(tooltip)文本。该属性的值对仿真行为没有影响。
| Editing | Simulation | |
|---|---|---|
| Data Type | string | N/A |
| Access | read / write | N/A |
| Default Value | “Wireless Domain” | |
| Units | ||
| Constraints |
x position
此属性指定无线域范围中心的 x 坐标。其值以度(degrees)为单位给出,对应中心点的经度。正值表示东经度数,负值表示西经度数。
| Editing | Simulation | |
|---|---|---|
| Data Type | double | double |
| Access | read / write | read |
| Default Value | N/A | |
| Units | degrees | |
| Constraints |
x span
此属性指定无线域的宽度。该值表示关于水平中心(由 x position 属性给出)的总范围。其值以度为单位。例如,如果一个无线域的 x span 为 2 度、y span 为 3 度,且以点 (a,b) 为中心,则该无线域内的对象的位置可以在 (a-1, b-1.5) 与 (a+1, b+1.5) 之间。
| Editing | Simulation | |
|---|---|---|
| Data Type | double | double |
| Access | read / write | read |
| Default Value | N/A | |
| Units | degrees | |
| Constraints | >= 0.0 |
y position
此属性指定无线域范围中心的 y 坐标。其值以度为单位给出,对应中心点的纬度。正值表示北纬度数,负值表示南纬度数。
| Editing | Simulation | |
|---|---|---|
| Data Type | double | double |
| Access | read / write | read |
| Default Value | N/A | |
| Units | degrees | |
| Constraints |
y span
此属性指定无线域的长度。该值表示关于垂直中心(由 y position 属性给出)的总范围。其值以度为单位。例如,如果一个无线域的 x span 为 2 度、y span 为 3 度,且以点 (a,b) 为中心,则该无线域内的对象的位置可以在 (a-1, b-1.5) 与 (a+1, b+1.5)
| Editing | Simulation | |
|---|---|---|
| Data Type | double | double |
| Access | read / write | read |
| Default Value | N/A | |
| Units | degrees | |
| Constraints | >= 0.0 |