faultyfeedforwardoptimizedmapping.java
来自「Java遗传算法库」· Java 代码 · 共 48 行
JAVA
48 行
/* * OptimizedMapping.java * * Created on 25 November 2003, 15:39 */package jaga.pj.circuits.fpgaft;import jaga.BitSet;import jaga.pj.circuits.*;import java.util.Vector;import java.awt.Point;/** This will remove elements from the element array that aren't connected to the outputs * in order to optimize the circuit simulation by avoiding refreshing unused gates. This will * obviously skew the position of these elements in the array making the getElementFromAddress * method useless. * * @author mmg20 */public class FaultyFeedForwardOptimizedMapping extends FaultyOptimizedMapping { public FaultyFeedForwardOptimizedMapping(CircuitMapping inMap) { this( inMap, null ); } /** Creates a new instance of OptimizedMapping */ public FaultyFeedForwardOptimizedMapping(CircuitMapping inMap, Point[] persistentFaults) { super( inMap, persistentFaults ); } protected SimulatorFaultyDelayLE[] trim( SimulatorLogicElement[][] inoutels ) { return FTLib.getConnectedGatesInFeedForwardOrder( inoutels ); } public String toString() { String rv = ""; rv = "Fauly Feed Forward Optimized Mapping with internal mapping: " + inMap; return rv; } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?