-- VHDL code position: p222_ex8_8_procedure_prg1
-- Note : This is code for explaining " PROCEDURE " of VHDL
-- Debug : no debug
---------------------------------------------------------------------------------
-- fellowing code have two errors, please correct the two errors !!!
--
PROCEDURE prg1 ( VARIABLE value : INOUT BIT_VECTOR(0 TO 7 ) ) IS
BEGIN
CASE value IS
WHEN "0000" => value: "0101";
WHEN "0101" => value: "0000";
WJEM OTHERS => value: "1111";
END CASE;
END PROCEDURE prg1;