SUBDESIGN r400_eqn ( R_W : INPUT; E : INPUT; LSTRBn : INPUT; A[15..0] : INPUT; % Demultiplexed address bits % r400 : OUTPUT; % High when reading from address 0x0400 % ) BEGIN if ((A[15..0] == H"0400") & (R_W == VCC) & (E == VCC)) THEN r400 = VCC; ELSE r400 = GND; END IF; END;