Exemplo n.º 1
0
 public Device(int wordLength) : base(wordLength)
 {
     content = new Bitword(WordLength);
 }
Exemplo n.º 2
0
 private void SIGNAL_WEI()
 {
     Content = new Bitword(WordLength, DataBus.State.Get());
 }
Exemplo n.º 3
0
 //its possible to refactor this class so it doesnt need alreadyInUse field anymore - state should be null by default (that means no conflict occured)
 public Bus(int wordLength) : base(wordLength)
 {
     state        = new Bitword(WordLength);
     alreadyInUse = false;
 }
Exemplo n.º 4
0
 public Register(int wordLength, Bus attachedBus) : base(wordLength)
 {
     content     = new Bitword(WordLength);
     AttachedBus = attachedBus;
 }