在一个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. springboot中使用kaptcha验证码

    maven依赖 <dependency> <groupId>com.github.penggle</groupId> <artifactId>kaptc ...

  2. Python Turtle模块的简单应用

    时钟 import turtle as t import datetime as dt #画出背景 game = t.Screen() game.bgcolor("white") ...

  3. webscarab

    1.功能 WebScarab是一个用来分析使用HTTP和HTTPS协议的应用程序框架.其原理很简单,WebScarab可以记录它检测到的会话内容(请求和应答),并允许使用者可以通过多种形式来查看记录. ...

  4. 解决wxpy获取不到指定群聊对象的情况

    我们可以通过Bot.friends 以及Bot.groups 来获取到所有的好友以及聊天群,这里需要注意的是,聊天群需要保存到通讯录中,不然可能会出现找不到聊天群的情况. 摘自:http://www. ...

  5. kao shi di er ti(还没有订正)

    // 离散化点 思路应该是对的 吧 但没时间去检查编译上的错误 #include <bits/stdc++.h> using namespace std; ; #define ri reg ...

  6. ubuntu 离线装包

    1,为什么要离线装包 防止有些包官方升级以后导致的不兼容,比如php5和php7,目前已经无法apt-get install php5了, 2,装包以前你得有安装包文件,deb或者是run deb包在 ...

  7. c# 泛型<T>类型参数T的约束where

    在定义泛型类时,可以对客户端代码能够在实例化类时用于类型参数的类型种类施加限制.如果客户端代码尝试使用某个约束所不允许的类型来实例化类,则会产生编译时错误.这些限制称为约束.约束是使用 where 上 ...

  8. MVC5+EF6 入门完整教程4 :EF基本的CRUD

    上篇文章主要讲了如何配置EF, 我们回顾下主要过程: 创建Data Model ---> 创建Database Context --->创建databaseInitializer---&g ...

  9. 图的最短路径算法Dijkstra算法模板

    Dijkstra算法:伪代码 //G为图,一般设为全局变量,数组d[u]为原点到达个点的额最短路径, s为起点 Dijkstra(G, d[u], s){ 初始化: for (循环n次){ u = 是 ...

  10. [USACO08JAN]Haybale Guessing(LuoguP2898)

    The cows, who always have an inferiority complex about their intelligence, have a new guessing game ...