Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
signal test : std_logic_vector(7 downto 0);
begin
test_signal : process
begin
if (test(7) = '1')then
--insert code to execute when MSB = 1;
elsif (test(7) = '0') then
--insert code to execute when MSB = 0;
end if;
end process;
test_signal : process
begin
if (test( test'high ) = '1')then
--insert code to execute when MSB = 1;
elsif (test( test'high ) = '0') then
--insert code to execute when MSB = 0;
end if;
end process;
Code VHDL - [expand] 1 if test(test'left) = '1' then