I have problem. In wector file I have node Next_State, but in report whis value don't appear.
Compiler shown such a this mesagge
--- Quote Start ---
Warning: Compiler packed, optimized or synthesized away node "Next_State". Ignored vector source file node.
--- Quote End ---
What this mean?
process(clk, rst)
begin
if( rst = '0') then
Present_State <= Read_but;
elsif( rising_edge(clk) ) then
Present_State <= Next_State;
end if;
end process;
process(Present_State, key1, key2, key3, done)
begin
case Present_State is
when Read_but =>
start_ps2 <= '0';
if(key1 = '1') then
-- code_temp <= PushF5;
code_choice <= "00";
Next_State <= Push;
elsif(key2 = '1') then
-- code_temp <= PushLeft;
code_choice <= "01";
Next_State <= Push;
elsif(key3 = '1') then
-- code_temp <= PushRight;
code_choice <= "11";
Next_State <= Push;
else
-- code_temp <= (others => '0');
code_choice <= "ZZ";
Next_State <= Read_but;
end if;
when Push =>
start_ps2 <= '1';
if (done = '1') then
start_ps2 <= '0';
Next_State <= Break;
code_choice <= "10";
else
-- code_temp <= (others => '0');
code_choice <= "ZZ";
Next_State <= Push;
end if;
when Break =>
start_ps2 <= '1';
if (done = '1') then
start_ps2 <= '0';
Next_State <= Release;
code_choice <= "00";
else
-- code_temp <= (others => '0');
code_choice <= "ZZ";
Next_State <= Break;
end if;
when Release =>
start_ps2 <= '1';
code_choice <= "ZZ";
-- code_temp <= (others => '0');
if (done = '1') then
start_ps2 <= '0';
Next_State <= Read_but;
else
Next_State <= Release;
end if;
end case;
end process;
code <= PushF5 when code_choice = "00" else
PushLeft when code_choice = "01" else
PushRight when code_choice = "11" else
ReleaseKey when code_choice = "10" else (others => 'Z');
And what mean this message?
--- Quote Start ---
Warning: Converted tri-state buffer "code[0]" feeding internal logic into a wire
--- Quote End ---