Shared Location

SCL allows the reading and writing of general purpose memory locations. But, you have to declare a chared location in the configuration section.

shared location varName := locationAddress;

For example...

configuration for "PIC16F877" is
   shared location loc70 := #16#70#;
   end configuration;
testbench for "PIC16F877" is
   process is
      wait on loc70;
      if loc70 == 0 then
         loc70 <= 1;
         loc70 <= 0;
      end if;
      end process;
   end testbench;