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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? hspiceout.java

?? The ElectricTM VLSI Design System is an open-source Electronic Design Automation (EDA) system that c
?? JAVA
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
			for(int j=0; j<4; j++)				line.append((char)getByteFromFile());		}		if (!line.toString().equals("$&%#"))		{			System.out.println("HSpice header improperly terminated (got "+line.toString()+")");			closeInput();			stopProgressDialog();			return;		}		resetBinaryTRACDCReader();		// setup the simulation information		boolean isComplex = analysisType == Analysis.ANALYSIS_AC;		double[] minValues = new double[numSignals];		double[] maxValues = new double[numSignals];		Arrays.fill(minValues, Double.POSITIVE_INFINITY);		Arrays.fill(maxValues, Double.NEGATIVE_INFINITY);		int sweepCounter = sweepcnt;		for(;;)		{			// get sweep info			if (sweepcnt > 0)			{				float sweepValue = getHSpiceFloat(false);				if (eofReached)  { System.out.println("EOF before sweep data");   break; }				String sweepName = TextUtils.formatDouble(sweepValue);				if (DEBUGCONDITIONS) System.out.println("READING SWEEP NUMBER: "+sweepValue);				// if there are more than 2 conditions, read extra sweep values				for(int i=2; i<cndcnt; i++)				{					float anotherSweepValue = getHSpiceFloat(false);					if (eofReached)  { System.out.println("EOF reading sweep header");   break; }					sweepName += "," + TextUtils.formatDouble(anotherSweepValue);					if (DEBUGCONDITIONS) System.out.println("  EXTRA SWEEP NUMBER: "+anotherSweepValue);				}				an.addSweep(sweepName);			}			// now read the data			List<float[]> allTheData = new ArrayList<float[]>();			for(;;)			{				// get the first number, see if it terminates				float time = getHSpiceFloat(true);				if (eofReached) break;				float [] oneSetOfData = new float[isComplex ? numSignals*2 + 1 : numSignals + 1];				oneSetOfData[0] = time;				// get a row of numbers				for(int k=0; k<numSignals; k++)				{					int numSignal = (k + numnoi) % numSignals;					double value;					if (isComplex)					{						float realPart = getHSpiceFloat(false);						float imagPart = getHSpiceFloat(false);						oneSetOfData[numSignal*2 + 1] = realPart;						oneSetOfData[numSignal*2 + 2] = imagPart;						value = Math.hypot(realPart, imagPart); // amplitude of complex number					} else					{						value = oneSetOfData[numSignal + 1] = getHSpiceFloat(false);					}					if (eofReached)					{						System.out.println("EOF in the middle of the data (at " + k + " out of " + numSignals +							" after " + allTheData.size() + " sets of data)");						break;					}					if (value < minValues[numSignal]) minValues[numSignal] = value;					if (value > maxValues[numSignal]) maxValues[numSignal] = value;				}				if (eofReached)  { System.out.println("EOF before the end of the data");   break; }				allTheData.add(oneSetOfData);			}			an.theSweeps.add(allTheData);			sweepCounter--;			if (sweepCounter <= 0) break;			eofReached = false;		}		closeInput();		// Put data to Stimuli		an.commonTime = new double[an.theSweeps.size()][];		double minTime = Double.POSITIVE_INFINITY;		double maxTime = Double.NEGATIVE_INFINITY;		for (int sweepNum=0; sweepNum<an.commonTime.length; sweepNum++)		{			List<float[]> allTheData = an.theSweeps.get(sweepNum);			an.commonTime[sweepNum] = new double[allTheData.size()];			for (int eventNum = 0; eventNum < allTheData.size(); eventNum++)			{				double time = allTheData.get(eventNum)[0];				an.commonTime[sweepNum][eventNum] = time;				if (time < minTime) minTime = time;				if (time > maxTime) maxTime = time;			}		}		// preprocess signal names to remove constant prefix (this code also occurs in VerilogOut.readVerilogFile)		String constantPrefix = null;		boolean hasPrefix = true;		for(int k=0; k<numSignals; k++)		{			String name = signalNames[k];			int dotPos = name.indexOf('.');			if (dotPos < 0) continue;			String prefix = name.substring(0, dotPos);			if (constantPrefix == null) constantPrefix = prefix;			if (!constantPrefix.equals(prefix)) { hasPrefix = false;   break; }		}		if (!hasPrefix) constantPrefix = null; else		{			String fileName = fileURL.getFile();			int pos = fileName.lastIndexOf(File.separatorChar);			if (pos >= 0) fileName = fileName.substring(pos+1);			pos = fileName.lastIndexOf('/');			if (pos >= 0) fileName = fileName.substring(pos+1);			pos = fileName.indexOf('.');			if (pos >= 0) fileName = fileName.substring(0, pos);			if (fileName.equals(constantPrefix)) constantPrefix += "."; else				constantPrefix = null;		}		for(int k=0; k<numSignals; k++)		{			String name = signalNames[k];			if (constantPrefix != null &&				name.startsWith(constantPrefix))					name = name.substring(constantPrefix.length());			String context = null;			int lastDotPos = name.lastIndexOf('.');			if (lastDotPos >= 0)			{				context = name.substring(0, lastDotPos);				name = name.substring(lastDotPos+1);			}			an.addSignal(name, context, minTime, maxTime, minValues[k], maxValues[k]);		}		stopProgressDialog();		System.out.println("Done reading " + analysisType.toString() + " analysis");	}	/**	 * Method to reset the binary block pointer (done between the header and	 * the data).	 */	private void resetBinaryTRACDCReader()	{		binaryTRACDCSize = 0;		binaryTRACDCPosition = 0;	}	/**	 * Method to read the next block of tr, sw, or ac data.	 * @param firstbyteread true to skip the first byte.	 * @return true on EOF.	 */	private boolean readBinaryTRACDCBlock(boolean firstbyteread)		throws IOException	{		// read the first word of a binary block		if (!firstbyteread)		{			if (dataInputStream.read() == -1) return true;			updateProgressDialog(1);		}		for(int i=0; i<3; i++)			if (dataInputStream.read() == -1) return true;		updateProgressDialog(3);		// read the number of 8-byte blocks		int blocks = 0;		for(int i=0; i<4; i++)		{			int uval = dataInputStream.read();			if (uval == -1) return true;			if (isTRACDCBinarySwapped) blocks = ((blocks >> 8) & 0xFFFFFF) | ((uval&0xFF) << 24); else				blocks = (blocks << 8) | uval;		}		updateProgressDialog(4);		// skip the dummy word		for(int i=0; i<4; i++)			if (dataInputStream.read() == -1) return true;		updateProgressDialog(4);		// read the number of bytes		int bytes = 0;		for(int i=0; i<4; i++)		{			int uval = dataInputStream.read();			if (uval == -1) return true;			if (isTRACDCBinarySwapped) bytes = ((bytes >> 8) & 0xFFFFFF) | ((uval&0xFF) << 24); else				bytes = (bytes << 8) | uval;		}		updateProgressDialog(4);		// now read the data		if (bytes > 8192)		{			System.out.println("ERROR: block is " + bytes + " long, but limit is 8192");			bytes = 8192;		}		int amtread = dataInputStream.read(binaryTRACDCBuffer, 0, bytes);		if (amtread != bytes)		{			System.out.println("Expected to read " + bytes + " bytes but got only " + amtread);			return true;		}		updateProgressDialog(bytes);		// read the trailer count		int trailer = 0;		for(int i=0; i<4; i++)		{			int uval = dataInputStream.read();			if (uval == -1) return true;			if (isTRACDCBinarySwapped) trailer = ((trailer >> 8) & 0xFFFFFF) | ((uval&0xFF) << 24); else				trailer = (trailer << 8) | uval;		}		if (trailer != bytes)		{			System.out.println("Block trailer claims block had " + trailer + " bytes but block really had " + bytes);			return true;		}		updateProgressDialog(4);		// set pointers for the buffer		binaryTRACDCPosition = 0;		binaryTRACDCSize = bytes;		return false;	}	/**	 * Method to get the next character from the simulator.	 * @return the next character (EOF at end of file).	 */	private int getByteFromFile()		throws IOException	{		if (byteCount == 0)		{			// start of HSpice file: see if it is binary or ascii			int i = dataInputStream.read();			if (i == -1) return(i);			updateProgressDialog(1);			if (i == 0 || i == 4)			{				isTRACDCBinary = true;				isTRACDCBinarySwapped = false;				if (i == 4) isTRACDCBinarySwapped = true;				binaryTRACDCBuffer = new byte[8192];				if (readBinaryTRACDCBlock(true)) return(-1);			} else			{				isTRACDCBinary = false;				return(i);			}		}		if (isTRACDCBinary)		{			if (binaryTRACDCPosition >= binaryTRACDCSize)			{				if (readBinaryTRACDCBlock(false))					return(-1);			}			int val = binaryTRACDCBuffer[binaryTRACDCPosition];			binaryTRACDCPosition++;			return val&0xFF;		}		int i = dataInputStream.read();		updateProgressDialog(1);		return i;	}	/**	 * Method to get the next 4-byte integer from the simulator.	 * @return the next integer.	 */	private int getHSpiceInt()		throws IOException	{		StringBuffer line = new StringBuffer();		for(int j=0; j<4; j++) line.append((char)getByteFromFile());		return TextUtils.atoi(line.toString().trim(), 0, 10);	}	/**	 * Method to read the next floating point number from the HSpice file.	 * @return the next number.  Sets the global "eofReached" true on EOF.	 */	private float getHSpiceFloat(boolean testEOFValue)		throws IOException	{		if (!isTRACDCBinary)		{			StringBuffer line = new StringBuffer();			for(int j=0; j<11; j++)			{				int l = getByteFromFile();				if (l == -1)				{					eofReached = true;   return 0;				}				line.append((char)l);				if (l == '\n') j--;			}			String result = line.toString();			if (testEOFValue && result.equals("0.10000E+31")) { eofReached = true;   return 0; }			return (float)TextUtils.atof(result);		}		// binary format		int fi0 = getByteFromFile();		int fi1 = getByteFromFile();		int fi2 = getByteFromFile();		int fi3 = getByteFromFile();		if (fi0 < 0 || fi1 < 0 || fi2 < 0 || fi3 < 0)		{			eofReached = true;			return 0;		}		fi0 &= 0xFF;		fi1 &= 0xFF;		fi2 &= 0xFF;		fi3 &= 0xFF;		int fi = 0;		if (isTRACDCBinarySwapped)		{			fi = (fi3 << 24) | (fi2 << 16) | (fi1 << 8) | fi0;		} else		{			fi = (fi0 << 24) | (fi1 << 16) | (fi2 << 8) | fi3;		}		float f = Float.intBitsToFloat(fi);		// the termination value (in hex) is 71 49 F2 CA		if (testEOFValue && f > 1.00000000E30 && f < 1.00000002E30)		{			eofReached = true;			return 0;		}		return f;	}}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美放荡的少妇| 欧美一卡二卡在线观看| 99久久免费视频.com| 97久久精品人人做人人爽50路| 成人黄色777网| 大白屁股一区二区视频| 99视频一区二区| 色综合久久久久综合体桃花网| 国产成都精品91一区二区三| 丰满岳乱妇一区二区三区| 国产乱码精品一区二区三区av | 国产精品亚洲成人| av一区二区三区| 91麻豆精品国产91久久久 | 亚洲久草在线视频| 五月激情丁香一区二区三区| 久久电影国产免费久久电影| 国产sm精品调教视频网站| 国产夫妻精品视频| 欧美色图在线观看| 亚洲精品在线观看网站| 国产精品伦理一区二区| 玉米视频成人免费看| 热久久国产精品| 99久久国产综合精品色伊| 91精品国产一区二区三区蜜臀 | 国产成人午夜电影网| 欧美色爱综合网| 亚洲日本在线观看| 国产一区二区三区黄视频| 3atv一区二区三区| 亚洲线精品一区二区三区八戒| 精品中文字幕一区二区小辣椒| 欧美日韩成人综合在线一区二区| 国产精品免费免费| 激情综合色播激情啊| 日韩精品中午字幕| 久久99国产精品尤物| 久久久久国产精品麻豆| 国产一区欧美二区| 久久午夜老司机| 成人精品鲁一区一区二区| 国产精品网友自拍| 91一区二区在线| 亚洲一区二区中文在线| 欧美日韩国产一级片| 毛片av一区二区三区| 国产精品网站在线观看| 成人午夜av电影| 亚洲一区在线视频| 欧美日本精品一区二区三区| 日韩av在线播放中文字幕| 日韩一二在线观看| 99久久综合狠狠综合久久| 一区二区三区.www| 精品国产区一区| 国产成人av一区二区三区在线 | 亚洲卡通动漫在线| 日韩午夜电影在线观看| 99久久综合99久久综合网站| 亚洲自拍欧美精品| 久久一日本道色综合| 91麻豆国产福利精品| 亚洲成人精品一区| 久久精品亚洲一区二区三区浴池| 91福利国产精品| 粉嫩一区二区三区在线看| 天堂av在线一区| 日韩伦理免费电影| 国产精品女主播在线观看| 884aa四虎影成人精品一区| 成人蜜臀av电影| 国产精品系列在线播放| 肉肉av福利一精品导航| 亚洲欧美一区二区三区国产精品 | 另类人妖一区二区av| 亚洲一二三专区| 亚洲黄色免费网站| 青青草91视频| 国产精品一区二区在线观看网站| 狠狠网亚洲精品| 丁香六月综合激情| 91美女蜜桃在线| 91香蕉国产在线观看软件| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 国产露脸91国语对白| 国产乱码精品一区二区三| 舔着乳尖日韩一区| 成人av在线一区二区| 成人黄色免费短视频| 欧美日韩精品三区| 欧美sm极限捆绑bd| 国产精品久久久久aaaa樱花| 亚洲最新在线观看| 精品一区二区综合| 不卡电影一区二区三区| 在线视频你懂得一区| 日韩视频在线永久播放| 91蝌蚪porny成人天涯| 欧美一区二区三区婷婷月色| 精品欧美一区二区久久| 国产欧美日韩精品一区| 亚洲线精品一区二区三区八戒| 久88久久88久久久| 国产激情一区二区三区四区| 欧美无乱码久久久免费午夜一区| 综合久久久久久| 国产馆精品极品| 欧美一区二区三区电影| 亚洲超碰精品一区二区| 青椒成人免费视频| 欧美日本国产视频| 亚洲成人免费看| 69堂国产成人免费视频| 亚洲欧美日韩中文字幕一区二区三区| 亚洲成年人网站在线观看| 欧美日韩在线电影| 亚洲欧美日韩一区二区三区在线观看| 成人黄色综合网站| 国产精品九色蝌蚪自拍| 精品无码三级在线观看视频| 91久久久免费一区二区| 一区二区三区在线免费观看| 91免费小视频| 亚洲成av人片在线观看| 色综合久久中文字幕| 亚洲一区在线播放| 欧美男人的天堂一二区| 日日摸夜夜添夜夜添亚洲女人| 欧美中文字幕一区| 久草热8精品视频在线观看| 欧美大片在线观看| 成人国产精品免费观看动漫| 一区二区三区在线视频观看58 | 在线视频国产一区| 午夜精品成人在线| 久久亚洲精品小早川怜子| av在线免费不卡| 久久国产福利国产秒拍| 中文字幕精品一区二区三区精品| 国产一区二区不卡| 一区二区三区中文字幕在线观看| 在线亚洲免费视频| www.在线欧美| 国产成人在线观看| 久久精品72免费观看| 亚洲图片激情小说| 日韩欧美自拍偷拍| 色综合天天视频在线观看| 日韩国产精品大片| 亚洲激情男女视频| 精品国产一区二区亚洲人成毛片 | 国产三级久久久| 欧美日韩亚洲丝袜制服| 91在线无精精品入口| 国产成人一区二区精品非洲| 亚洲v中文字幕| 亚洲色大成网站www久久九九| 制服丝袜国产精品| 91久久精品国产91性色tv| 91麻豆国产福利在线观看| 不卡的av在线播放| 99久久精品久久久久久清纯| av一二三不卡影片| 99re这里只有精品视频首页| 91黄色免费看| 欧美亚洲愉拍一区二区| 欧美午夜理伦三级在线观看| 欧美精品三级日韩久久| 国产婷婷色一区二区三区| 国产精品乱人伦中文| 亚洲国产综合视频在线观看| 欧美一区二区三区影视| 99久久精品免费看| 91在线播放网址| 色噜噜夜夜夜综合网| 欧美成人午夜电影| 激情综合网av| 欧美激情一区在线| 欧美日韩一区二区欧美激情| 精品国产乱码久久久久久夜甘婷婷| 亚洲色图制服诱惑| 成人v精品蜜桃久久一区| 精品国一区二区三区| 一区二区在线观看不卡| 韩国视频一区二区| 91传媒视频在线播放| 中文字幕av一区二区三区| 极品少妇xxxx偷拍精品少妇| 欧美人伦禁忌dvd放荡欲情| 国产精品久久久久一区二区三区 | 一本到不卡免费一区二区| 91麻豆国产精品久久| 精品国产亚洲在线| 亚洲 欧美综合在线网络| 成人开心网精品视频| 久久午夜老司机| 另类综合日韩欧美亚洲| 欧美日韩不卡一区二区| 一区二区三区蜜桃|