now the program is like this.
but new errors are coming like
tri_state_buffer.vhd(19): String literal has a character 'z' not in the
enumeration type ieee.std_logic_1164.std_logic.
tri_state_buffer.vhd(22): VHDL Compiler exiting
pls help