An investigation into the realisation and testing of a universal logic primitive gate array