entity shreg8 is port (clock : in bit; X : in bit; Z : out bit ); end shreg8;