V
vu
Guest
Hello,
I am a beginner to VHDL and new to this forum, and I hope someone could
give me a hand with this question.
Can a latch be inferred in a process that has clk in the sensitivity
list? If no, then does this mean the if statement does not require and
else statement to match it? Something along the lines of :
.....
process(clk) is
begin
if (rising_edge(clk)) then
if (a = '1') then b<= '0'
end if;
end process;
.....
I am a beginner to VHDL and new to this forum, and I hope someone could
give me a hand with this question.
Can a latch be inferred in a process that has clk in the sensitivity
list? If no, then does this mean the if statement does not require and
else statement to match it? Something along the lines of :
.....
process(clk) is
begin
if (rising_edge(clk)) then
if (a = '1') then b<= '0'
end if;
end process;
.....