Example #1
0
 public MipsSignalTable AddTimePoint(int clock, LoopData loopData)
 {
     if (!timePoints.Select(x => x.TimePoint).Contains(clock))
     {
         char[] ap = Enumerable.Range('A', 'Z' - 'A' + 1).Select(i => (char)i).ToArray();
         timePoints.Add(new PsgPoint(ap[timePoints.Count].ToString(), clock, loopData));
     }
     return(new MipsSignalTable(timePoints));
 }
Example #2
0
 public void UpdatePsgPointLoopData(LoopData data)
 {
     PsgPointLoopData = data;
 }
Example #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="name"></param>
 /// <param name="timePoint"></param>
 public PsgPoint(string name, int timePoint) : this()
 {
     Name             = name;
     TimePoint        = timePoint;
     PsgPointLoopData = new LoopData();
 }
Example #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="name"></param>
 /// <param name="timePoint"></param>
 /// <param name="loopData"></param>
 public PsgPoint(string name, int timePoint, LoopData loopData) : this(name, timePoint)
 {
     PsgPointLoopData = loopData;
 }
Example #5
0
 private PsgPoint()
 {
     digitalOutput    = new Dictionary <string, bool>();
     dcBias           = new Dictionary <string, double>();
     PsgPointLoopData = new LoopData();
 }