Variable is local to a process block u cannot use it as global the only solution is that u can use signal where evr u want ur variable to be global.It would be good that u declare ur signal which is used by multiple entities in a package and include it in the program which u r using.Still if u have a problem u can post ur code in which u have problem.Hope u get my answer.Bye........