public Device(int wordLength) : base(wordLength) { content = new Bitword(WordLength); }
private void SIGNAL_WEI() { Content = new Bitword(WordLength, DataBus.State.Get()); }
//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; }
public Register(int wordLength, Bus attachedBus) : base(wordLength) { content = new Bitword(WordLength); AttachedBus = attachedBus; }