亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? basic_circuit.c.svn-base

?? 模擬多核狀態下龍芯處理器的功能
?? SVN-BASE
字號:
/*------------------------------------------------------------
 *                              CACTI 4.0
 *         Copyright 2005 Hewlett-Packard Development Corporation
 *                         All Rights Reserved
 *
 * Permission to use, copy, and modify this software and its documentation is
 * hereby granted only under the following terms and conditions.  Both the
 * above copyright notice and this permission notice must appear in all copies
 * of the software, derivative works or modified versions, and any portions
 * thereof, and both notices must appear in supporting documentation.
 *
 * Users of this software agree to the terms and conditions set forth herein, and
 * hereby grant back to Hewlett-Packard Company and its affiliated companies ("HP")
 * a non-exclusive, unrestricted, royalty-free right and license under any changes, 
 * enhancements or extensions  made to the core functions of the software, including 
 * but not limited to those affording compatibility with other hardware or software
 * environments, but excluding applications which incorporate this software.
 * Users further agree to use their best efforts to return to HP any such changes,
 * enhancements or extensions that they make and inform HP of noteworthy uses of
 * this software.  Correspondence should be provided to HP at:
 *
 *                       Director of Intellectual Property Licensing
 *                       Office of Strategy and Technology
 *                       Hewlett-Packard Company
 *                       1501 Page Mill Road
 *                       Palo Alto, California  94304
 *
 * This software may be distributed (but not offered for sale or transferred
 * for compensation) to third parties, provided such third parties agree to
 * abide by the terms and conditions of this notice.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND HP DISCLAIMS ALL
 * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS.   IN NO EVENT SHALL HP 
 * CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
 * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
 * SOFTWARE.
 *------------------------------------------------------------*/


#include "def.h"
#include "stdio.h"
#include "math.h"

int powers (int base, int n)
{
  int i, p;

  p = 1;
  for (i = 1; i <= n; ++i)
    p *= base;
  return p;
}

/*----------------------------------------------------------------------*/

double logtwo (double x)
{
  if (x <= 0)
    printf ("%e\n", x);
  return ((double) (log (x) / log (2.0)));
}

/*----------------------------------------------------------------------*/

double gatecap (double width,double  wirelength)	/* returns gate capacitance in Farads */
     /* width: gate width in um (length is Leff) */
     /* wirelength: poly wire length going to gate in lambda */
{
  return (width * Leff * Cgate + wirelength * Cpolywire * Leff);
}

double gatecappass (double width,double  wirelength)	/* returns gate capacitance in Farads */
     /* width: gate width in um (length is Leff) */
     /* wirelength: poly wire length going to gate in lambda */
{
  return (width * Leff * Cgatepass + wirelength * Cpolywire * Leff);
}


/*----------------------------------------------------------------------*/

/* Routine for calculating drain capacitances.  The draincap routine
 * folds transistors larger than 10um */

double draincap (double width,int nchannel,int stack)	/* returns drain cap in Farads */
	 /* width: in um */
     /* nchannel: whether n or p-channel (boolean) */
     /* stack: number of transistors in series that are on */
{
  double Cdiffside, Cdiffarea, Coverlap, cap;

  Cdiffside = (nchannel) ? Cndiffside : Cpdiffside;
  Cdiffarea = (nchannel) ? Cndiffarea : Cpdiffarea;
  Coverlap = (nchannel) ? (Cndiffovlp + Cnoxideovlp) :
                          (Cpdiffovlp + Cpoxideovlp);
  /* calculate directly-connected (non-stacked) capacitance */
  /* then add in capacitance due to stacking */
  if(stack > 1) {
	if (width >= 10/FUDGEFACTOR) {
		cap = 3.0 * Leff * width / 2.0 * Cdiffarea + 6.0 * Leff * Cdiffside +
		width * Coverlap;
		cap += (double) (stack - 1) * (Leff * width * Cdiffarea +
						4.0 * Leff * Cdiffside +
						2.0 * width * Coverlap);
	}
	else {
		cap =
		3.0 * Leff * width * Cdiffarea + (6.0 * Leff + width) * Cdiffside +
		width * Coverlap;
		cap +=
		(double) (stack - 1) * (Leff * width * Cdiffarea +
					2.0 * Leff * Cdiffside +
					2.0 * width * Coverlap);
	}
  }
  else {
	  if (width >= 10/FUDGEFACTOR) {
		cap = 3.0 * Leff * width / 2.0 * Cdiffarea + 6.0 * Leff * Cdiffside +
		width * Coverlap;
	}
	else {
		cap = 3.0 * Leff * width * Cdiffarea + (6.0 * Leff + width) * Cdiffside +
		width * Coverlap;
	}
  }
  return (cap);
}

/*----------------------------------------------------------------------*/

/* The following routines estimate the effective resistance of an
   on transistor as described in the tech report.  The first routine
   gives the "switching" resistance, and the second gives the 
   "full-on" resistance */

double transresswitch (double width,int nchannel,int stack)	/* returns resistance in ohms */
     /* width: in um */
     /* nchannel: whether n or p-channel (boolean) */
     /* stack: number of transistors in series */
{
  double restrans;
  restrans = (nchannel) ? (Rnchannelstatic) : (Rpchannelstatic);
  /* calculate resistance of stack - assume all but switching trans
     have 0.8X the resistance since they are on throughout switching */
  return ((1.0 + ((stack - 1.0) * 0.8)) * restrans / width);
}

/*----------------------------------------------------------------------*/

double transreson (double width,int nchannel,int stack)	/* returns resistance in ohms */
     /* width: in um */
     /* nchannel: whether n or p-channel (boolean) */
     /* stack: number of transistors in series */
{
  double restrans;
  restrans = (nchannel) ? Rnchannelon : Rpchannelon;

  /* calculate resistance of stack.  Unlike transres, we don't
     multiply the stacked transistors by 0.8 */
  return (stack * restrans / width);

}

/*----------------------------------------------------------------------*/

/* This routine operates in reverse: given a resistance, it finds
 * the transistor width that would have this R.  It is used in the
 * data wordline to estimate the wordline driver size. */

double restowidth (double res,int nchannel)	/* returns width in um */
     /* res: resistance in ohms */
     /* nchannel: whether N-channel or P-channel */
{
  double restrans;

  restrans = (nchannel) ? Rnchannelon : Rpchannelon;

  return (restrans / res);

}

/*----------------------------------------------------------------------*/

double horowitz (double inputramptime,double  tf,double  vs1,double  vs2,int rise)
	/* inputramptime: input rise time */
    /* tf: time constant of gate */
    /* vs1, vs2: threshold voltages */
    /* rise: whether INPUT rise or fall (boolean) */
{
  double a, b, td;

  a = inputramptime / tf;
  if (rise == RISE)
    {
      b = 0.5;
      td = tf * sqrt (log (vs1) * log (vs1) + 2 * a * b * (1.0 - vs1)) +
	tf * (log (vs1) - log (vs2));
    }
  else
    {
      b = 0.4;
      td = tf * sqrt (log (1.0 - vs1) * log (1.0 - vs1) + 2 * a * b * (vs1)) +
	tf * (log (1.0 - vs1) - log (1.0 - vs2));
    }
  return (td);
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
免费在线观看不卡| 午夜久久久久久久久久一区二区| 日韩一区二区在线观看视频播放| 日本乱人伦一区| 欧美性猛片xxxx免费看久爱| 欧美无砖专区一中文字| 538prom精品视频线放| 91精品蜜臀在线一区尤物| 91麻豆精品国产自产在线观看一区 | 国产精品久久久久影院| 久久精品一区八戒影视| 国产欧美视频一区二区三区| 欧美变态凌虐bdsm| 欧美zozo另类异族| 国产日韩欧美一区二区三区乱码 | 国产精品视频一二| 亚洲欧美激情在线| 午夜国产精品一区| 国模无码大尺度一区二区三区| 国产在线精品一区二区| 风间由美性色一区二区三区| 成人教育av在线| 欧洲精品一区二区| 亚洲精品一区二区精华| 亚洲欧美aⅴ...| 日韩电影免费在线| 成人免费va视频| 欧美日韩亚洲综合一区| 精品不卡在线视频| 亚洲欧美日韩成人高清在线一区| 性感美女极品91精品| 国产在线精品一区二区夜色 | 国产91色综合久久免费分享| 色视频成人在线观看免| 欧美一区二区三区影视| 中文乱码免费一区二区| 日韩精品电影在线观看| 国产大陆a不卡| 制服丝袜在线91| 欧美经典一区二区三区| 天堂影院一区二区| 91网站在线播放| 2023国产精品视频| 日韩av中文在线观看| 99精品欧美一区二区蜜桃免费| 欧美一区二区日韩| 亚洲精品欧美综合四区| 国产成人综合在线| 日韩欧美区一区二| 亚洲一区二区高清| 成人黄页毛片网站| 精品播放一区二区| 日本不卡123| 欧美日韩精品一区二区三区蜜桃| 中文字幕一区二区三区视频| 国产一区二区三区四| 欧美一区二区免费视频| 亚洲国产日韩一区二区| 色综合天天做天天爱| 中文一区二区完整视频在线观看 | 久久综合色婷婷| 美女视频免费一区| 欧美精品免费视频| 天使萌一区二区三区免费观看| 色综合天天狠狠| 中文字幕一区二区三| 成人亚洲一区二区一| 国产欧美日本一区二区三区| 狠狠色伊人亚洲综合成人| 欧美浪妇xxxx高跟鞋交| 亚洲成人免费电影| 这里只有精品视频在线观看| 午夜欧美在线一二页| 欧美女孩性生活视频| 日日夜夜精品视频天天综合网| 欧美午夜寂寞影院| 日韩精品福利网| 欧美一级片免费看| 国内精品视频666| 国产亚洲制服色| 成人精品视频一区二区三区尤物| 国产色产综合产在线视频| 国产999精品久久久久久绿帽| 国产人久久人人人人爽| 99国产精品99久久久久久| 亚洲自拍与偷拍| 日韩一区和二区| 国产精品18久久久久久vr| 国产精品美女久久福利网站| eeuss影院一区二区三区| 亚洲精品乱码久久久久久黑人| 欧美影院午夜播放| 日韩电影在线观看一区| 久久综合五月天婷婷伊人| 成人午夜精品在线| 一个色综合av| 欧美成人高清电影在线| 99久久精品免费看| 午夜视频在线观看一区| 久久久综合九色合综国产精品| 波多野结衣视频一区| 亚洲综合色区另类av| 日韩欧美aaaaaa| 99精品久久免费看蜜臀剧情介绍| 视频一区二区三区在线| 久久久综合视频| 欧美日韩亚洲另类| 国产一区二区三区美女| 亚洲影视在线观看| 国产性做久久久久久| 欧美视频中文字幕| 国产成人三级在线观看| 五月综合激情婷婷六月色窝| 久久精品人人爽人人爽| 欧美男同性恋视频网站| 成人国产精品免费观看动漫 | 日韩一级免费观看| 99精品视频中文字幕| 久久疯狂做爰流白浆xx| 亚洲精品中文字幕乱码三区| 久久久蜜桃精品| 6080国产精品一区二区| 91麻豆免费看| 成人v精品蜜桃久久一区| 麻豆精品国产传媒mv男同| 亚洲精品自拍动漫在线| 国产精品三级视频| 欧美成人乱码一区二区三区| 欧美日韩在线三区| 91麻豆高清视频| 高清视频一区二区| 精品综合免费视频观看| 婷婷综合五月天| 一区二区三区四区中文字幕| 中文字幕一区在线| 国产精品毛片无遮挡高清| 久久免费国产精品| 精品国产一区久久| 91精品国产综合久久精品| 欧美亚洲自拍偷拍| 日本精品一区二区三区四区的功能| 丁香五精品蜜臀久久久久99网站 | 一本大道av伊人久久综合| 国产麻豆精品在线| 国产综合久久久久影院| 日韩精品电影在线观看| 日本伊人色综合网| 日韩精品欧美精品| 免费一级欧美片在线观看| 日韩主播视频在线| 日本不卡一二三区黄网| 日韩精品一二三四| 美女精品自拍一二三四| 久久丁香综合五月国产三级网站| 美女任你摸久久| 国产精品一级二级三级| 国产成人丝袜美腿| 99视频精品免费视频| 91福利视频久久久久| 欧美四级电影在线观看| 欧美一区二区三级| 久久免费美女视频| 国产精品久久久久久久久果冻传媒 | 6080日韩午夜伦伦午夜伦| 欧美精品粉嫩高潮一区二区| 91精品国产手机| 日韩欧美国产wwwww| 久久久不卡影院| 亚洲欧洲av另类| 亚洲第一狼人社区| 精品夜夜嗨av一区二区三区| 国产成人精品免费视频网站| 91女人视频在线观看| 欧美一区二区三区男人的天堂| 欧美精品一区二区高清在线观看| 久久久99精品久久| 亚洲黄色小说网站| 蜜臀av一区二区在线免费观看| 成人免费看视频| 欧美吻胸吃奶大尺度电影| 日韩欧美一区二区不卡| 国产精品视频一区二区三区不卡| 一区二区三区国产豹纹内裤在线| 美腿丝袜亚洲三区| av在线不卡网| 日韩欧美一级特黄在线播放| 国产精品每日更新在线播放网址| 婷婷综合五月天| 不卡av在线免费观看| 日韩精品中文字幕在线一区| 成人欧美一区二区三区白人 | 国产99久久久精品| 7777精品伊人久久久大香线蕉的 | 色综合久久久久综合体| 日韩欧美123| 亚洲综合色成人| 成人av在线一区二区三区| 欧美一区二区精品久久911| 国产精品欧美综合在线| 另类调教123区|