Beispiel #1
0
 public void WriteEnable2_OnEdgeLow()
 {
     if (ChipSelectInput2 == SignalState.LOW)
     {
         ushort writeAddress = AddressInput2.SampleValue();
         byte   data         = DataInput2.SampleValue();
         cells[writeAddress] = data;
     }
 }
Beispiel #2
0
 public void ReadEnable2_OnEdgeLow()
 {
     if (ChipSelectInput2 == SignalState.LOW)
     {
         ushort readAddress = AddressInput2.SampleValue();
         byte   data        = cells[readAddress];
         DataInput2.SetValue(data);
     }
 }