在一个analog macro端口上,有些pin是always on的,有些是shut down的,如何描述这些pin的power属性?这是一个常见问题,驴就此机会大致描述一下常见的做法。对于这个问题,UPF2.0跟UPF2.1有不同的处理方式。

UPF2.0, IEEE1801-2009,因为modeling的能力比较弱,有以下两种方式来处理:

方式一:需要Library的支持:

  • 需要在library里有电源跟地的定义

pg_pin(VDDA) {
     voltage_name : VDDA;
     pg_type : 
primary_power;
}
pg_pin(VSSA) {
     voltage_name : VSSA;
     pg_type : 
primary_ground;
}

   pg_pin(VDDB) {
     voltage_name : VDDB;
     pg_type : 
primary_power;
}

  • 需要将signal pin跟power pin关联起来

pin(IA) {
  related_power_pin : "VDDA";
  related_ground_pin : "VSSA";
  direction : input; 
}

  pin(OB) {
  related_power_pin : "VDDB";
  related_ground_pin : "VSSB";
  direction : output

       power_down_function:  “!VDDB || VSSB”;
};

  • 在UPF文件中,需要将Hard_IP的PG pin连起来

connect_supply_net VDD1 –ports {Hard_IP/VDDA}

connect_supply_net VDD2 –ports {Hard_IP/VDDB}

connect_supply_net VSS –ports {Hard_IP/VSSA}

connect_supply_net VSS –ports {Hard_IP/VSSB}

方式二:如果library中没有电源跟地的定义:

  • 用UPF命令set_port_attributes来指定Hard_IP输入的receiver supply跟输出的driver supply。

set_port_attributes -ports {Macro/IA} –receiver_supply_set SS_VDDA_VSSA

set_port_attributes –ports {Macro/OB} –driver_supply_set SS_VDDB_VSSB

 

UPF2.1, IEEE1801-2013吸收了CPF hard macro model的精华,可以通过hard macro的power model来描述hard macro的power属性。

  • 由两组命令组合完成:

begin_power_model upf_model -for cellA

create_power_domainPD1-elements {.} -supply {ssh1} -supply {ssh2} 

# other commands ...

end_power_model

apply_power_model power_model_name

[-elements instance_list]

[-supply_map {{lower_scope_handle upper_scope_supply_set}*}] 

 

如果library里没有电源跟地的定义,建议使用UPF2.1的power_model来定义,更灵活且可以描述更复杂.

的power关系。一个power_model的完整示例:

Analog power pin UPF defination的更多相关文章

  1. Unused port adds a PWM/analog channel to a microcontroller

    Low-cost, 8-bit, single-chip microcontrollers are stingy when it comes to on-chip PWM (pulse-width-m ...

  2. Power Gating的设计(架构)

    switching network的层次: 一般选择flatted的形式,hierarchy的结构对voltage drop和performance delay有影响. Power network的结 ...

  3. ADC Power Supplies

    http://www.planetanalog.com/author.asp?section_id=3041&doc_id=563055 Jonathan Harris, Product Ap ...

  4. mwc config.h 中文注释

    #ifndef CONFIG_H_ #define CONFIG_H_ /*************************************************************** ...

  5. SAE J1850 VPW Implement

    ---恢复内容开始--- OBDII Interface Project When I can ever find enough time away from schoolwork, I try to ...

  6. Understanding the STM32F0's GPIO

    Understanding the STM32F0's GPIO This is the first part of the GPIO tutorial for the STM32F0Discover ...

  7. MCU相关知识

    一个处理器达到 200 DMIPS的性能,这是个什么概念? DMIPS全称叫Dhrystone MIPS 这项测试是用来计算同一秒内系统的处理能力,它的单位以百万来计算,也就是(MIPS) 上面的意思 ...

  8. nRF52-PCA10040——Overview

    Overview Zephyr applications use the nrf52_pca10040 board configuration to run on the nRF52 Developm ...

  9. MTK Camera驱动移植

    对于MTK Camera驱动移植一般分为四部分: 1.硬件IO口配置: 2.Camera驱动移植: 3.上电时序. 4.改动i2c控制器: 硬件电路: 1.GPIO配置 打开 mediatek\dct ...

随机推荐

  1. 码云项目克隆至github

    个人博客 地址:http://www.wenhaofan.com/article/20181104211917 因为我的博客项目一开始是存放在码云上面的,但是我又想在GitHub上有该项目的提交记录, ...

  2. 解读Ubuntu的sources.list 和soucres.litsd

    使用过Ubuntu的道友们都知道,默认地址是乌班图的org 配置的,对于国内长途跋涉的各位高手来讲真是艰辛: 所以我们一般在安装的时候会先修改服务器源地址使用国内的比如ali,清华或者华为的 源文件地 ...

  3. Mysql备份参数

    --all-databases , -A 导出全部数据库. mysqldump -uroot -p --all-databases --all-tablespaces , -Y 导出全部表空间. my ...

  4. 洛谷P1603 斯诺登的密码

    https://www.luogu.org/problem/P1603 #include<bits/stdc++.h> using namespace std; struct s { st ...

  5. Keep-Alive 以及服务器心跳

    Keep-Alive 来源 :http://www.nowamagic.net/academy/detail/23350305 服务器心跳  来源 :http://www.cnblogs.com/lw ...

  6. Devexpress 18.2.7 破解

    1.破解文件下载 链接:https://pan.baidu.com/s/1DVANKYR3dBeHuc8DgPUihA 提取码:fyll 2.破解方式 解决压缩包,解压之后选中 DevExpress. ...

  7. MyEclipse设置不编译js部分

    https://jingyan.baidu.com/album/ca41422fe094251eae99ede7.html?picindex=1 步骤: 1)选中当前工程,右键单击properties ...

  8. 【转载】Hibernate映射文件详解

    转自:http://blog.163.com/hzd_love/blog/static/13199988120108265317988/ Hibernate的持久化类和关系数据库之间的映射通常是用一个 ...

  9. 设置canvas的背景成白色

    解决方案一:将透明的pixel设成白色 因为png图片的背景都是透明的,所以我们可以寻找透明的pixel,然后将其全部设置成白色,核心代码如下: JavaScript Code复制内容到剪贴板 // ...

  10. Go网络编程TCP

    1. 服务端 package main import ( "bufio" "fmt" "net" "os" " ...