美文网首页
UPF基本概念学习

UPF基本概念学习

作者: 飞奔的大虎 | 来源:发表于2023-06-09 13:17 被阅读0次

1、设定实施约束的层次

set_design_top SoC/Video_SB   #指定design_top为Video_SB

set_scope .             #指定命令作用的范围为当前层次即Video_SB

set_scope V1/LV1        #指定命令作用的范围为V1/LV1

2、设定设定power_domain

Video_SB top层次下存在下面5个domain和sub_domain

Video_SB/Video_PD、Video_SB/V1_PD、Video_SB/V2_PD、Video_SB/LV12_PD、Video_SB/LV34_PD

设定power_domain的步骤如下:

1. set_scope Video_SB                #set the scope to Video_SB

2.create_power_domain Video_PD -include_scope #create Video_PD power domain in current scope.

3.create_power_domain V1_PD -elements {V1}       #creates V1‘s domain,its own power domain called V1_PD

4.create_power_domain LV12_PD -elements {V1/LV1 V1/LV2}

5.create_power_domain V2_PD -elements {V2}

6.create_power_domain LV34_PD -elements {V2/LV3 V2/LV4}

3、描述power_domain的电源网络: Supply Network 

power domain中电源网络的定义如下图:

主要是通过下面四个进行电源网络的连接。

create_supply_portVDD   -direction in

create_supply_port   VSS   -direction in

create_supply_netPwr     -domain Video_PD

create_supply_net    Gnd    -domain Video_PD

connect_supply_net Pwr   -ports (VDD)

connect_supply_net   Gnd   -ports (VSS)

set_domain_supply_net Video_PD \

-primary_power_net   Pwr \

-primary_ground_net   Gnd

下图中,V_PD domain 中的supply_net复用Video_PD domain中的supply_net。需要-reuse进行描述

create_supply_net Pwr-reuse-domain V_PD

create_supply_net   Gnd   -reuse   -domain V_PD

同时,必须显示的申明net所属的power_domain

set_domain_supply_net V_PD \

-primary_power_net Pwr \

-primary_ground_net Gnd

4、创建power_switch

create_supply_net  VDDsw -domain V_PD   #定义switch产生的supply_net。

create_power_switch SW -domain V_PD \

-input_supply_port {pwin Pwr} \

-output_supply_prt {pwout VDDsw } \

-control_port {swctrl sw_ctrl} \

-on_state {Pwon swctrl} \

-off_state {Pwoff !swctrl}

set_domain_supply_net V_PD \     #V_PD的primary_power_net为switch产生的net

-primary_power_net VDDsw \

-primary_ground_net Gnd

5、设定Supply Port的值

add_port_stateVDD              -state   {ON_10  1.0}    #VDD只有一种常开的状态,其电压值为1.0v

add_port_state    VSS               -state  {ON_00  0.0}

add_port_state   SW/VDDsw   -state   {ON_10  1.0}   -state   {OFF  off}    #switch开关电压VDDsw,存在ON和OFF两种状态。

6、Power State Table的描述

create_pst   PST1 -supplies   {VDD, VDDsw, VDD2, VSS}

add_pst_state   Normal -pst PST1 -state {ON_10, ON_10, ON_08, ON_00}

add_pst_state   Sleep     -pst PST1 -state {ON_10, OFF, ON_08, ON_00}

add_pst_state   Normal   -pst PST1 -state {ON_10, OFF, OFF, ON_00}

7、set retention快速回复被关断domain的状态

其中retention cell的电源和地为红色VDD和VSS

set_retention V_PD_retention \     #所以V_PD domain的状态都要能被恢复

-domain V_PD \

-retention_power_net Pwr \

-retention_ground_net Gnd

 set_retention_control V_PD_retention \

-domain V_PD \

-save_signal {SRctrl posedge} \

-restore_signal {SRctrl negedge}

8、用isolation cell 隔离ON domain和OFF domain

OFF domain 其输出连接至ON domain,所以其输出需要处理。

set_isolation V_PD_isolation \

-domain V_PD \

-applies_to outputs \

-clamp_value 0 \

-isolation_power_net Pwr \

Isolation_ground_net Gnd

set_isolation_control V_PD_isolation \

-domain V_PD \

-isolation_signal vISO \

-isolation_sense high \

-location parent

9、level shift cell 处理不同电压域之间信号的传递。

set_level_shifter LV_PD_LS

-domain LV_PD \

-threshold 0.1 \

-applies_to both \

-rule both \

-location self

原文链接:https://zhuanlan.zhihu.com/p/397526396?utm_id=0

相关文章

  • AE 二次开发小结

    章节 ae 软件基本介绍ae 软件基本介绍掌握n个基本概念 ae script 基本概念学习 ae script...

  • 5GC-UPF

    1、WHAT UE发出数据,经过无线信道传输到基站,基站将数据封装成网络报文,通过N3接口发送给UPF。UPF从报...

  • RXSwift基本概念学习

    Introduction: Creating and Subscribing to Observables: Th...

  • JavaScript:Promise基本概念学习

    最早接触Promise概念是在创业公司,同事引入的Promise第三方库,用在用Swift写的工程中。 异步编程,...

  • Spark Core 概念学习

    通过对spark core的核心概念学习,可以更好的了解spark的运行机制和生命周期 基本概念: Applic...

  • HTML基本概念学习总结(01)

    一、基本概念 (一)HTML 1.指的是超文本标记语言(Hyper Text Markup Language) 2...

  • docker

    Docker下的假设和概念学习

  • K8s环境的搭建

    准备工作 我是先对docker初步到进阶的了解学习,常用的命令,基本的容器构建和docker原理概念学习完之后,步...

  • 9/30 构建自己的投资体系(饼干日记99)

    熊市坚持学习的目的只有一个——只为完善投资体系而已。 币市炒币,细分下有几个方面:市场新闻收集、区块链基本概念学习...

  • 机器学习-QDA&LDA

    之前在文章[机器学习-Bayesian概念学习,简书]中介绍了概念学习,即将一个概念与这个概念包含所有实例的集合等...

网友评论

      本文标题:UPF基本概念学习

      本文链接:https://www.haomeiwen.com/subject/dsjaedtx.html