A Prolog VLSI System for Real Time Applications