// Write data if write signal high and lock signal is low
// FIX: