/*    */ package signals;
/*    */ 
/*    */ import java.io.PrintStream;
/*    */ 
/*    */ public final class AdaptSignals extends Signals {
/*    */   private static final long serialVersionUID = 1L;
/*    */   
/*    */   public AdaptSignals(Signals s) {
/*  9 */     this.id = s.id;
/* 10 */     this.widthUnit = s.widthUnit;
/* 11 */     this.name = s.name;
/* 12 */     this.setUpTime = s.setUpTime;
/* 13 */     this.bus = s.bus;
/* 14 */     this.clock = s.clock;
/* 15 */     this.dependsOnClk = s.dependsOnClk;
/* 16 */     this.selected_for_edit = s.selected_for_edit;
/* 17 */     this.clkToQdelay = s.clkToQdelay;
/* 18 */     this.wave = s.wave;
/* 19 */     this.busNames = s.busNames;
/* 20 */     this.busFill = s.busFill;
/* 21 */     this.ratio = s.ratio;
/* 22 */     this.clockDomainId = s.clockDomainId;
/* 23 */     this.displayRisingEdges = s.displayRisingEdges;
/* 24 */     if (this.wave.length < 500) {
/* 25 */       System.out.println("Wave size conversion");
/* 26 */       int[] tempWave = this.wave;
/* 27 */       String[] tempbusNames = this.busNames;
/* 28 */       boolean[] tempbusFill = this.busFill;
/* 29 */       this.wave = new int['Ǵ'];
/* 30 */       this.busNames = new String['Ǵ'];
/* 31 */       this.busFill = new boolean['Ǵ'];
/* 32 */       for (int i = 0; i < 500; i++) {
/* 33 */         if (i < 200) {
/* 34 */           this.wave[i] = tempWave[i];
/* 35 */           this.busNames[i] = tempbusNames[i];
/* 36 */           this.busFill[i] = tempbusFill[i];
/*    */         }
/*    */         else {
/* 39 */           this.wave[i] = 0;
/*    */         }
/*    */       }
/*    */     }
/*    */     
/*    */ 
/* 45 */     if (Boolean.valueOf(s.bold) != null) this.bold = s.bold;
/* 46 */     if (s.color != null) this.color = s.color;
/*    */   }
/*    */   
/*    */   public void generate(boolean beginOnRisingEdge) {}
/*    */ }


/* Location:              F:\JAVA\WORKSPACE\chronoEditor_v2.3.jar!\signals\AdaptSignals.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */