Altera_Forum
Honored Contributor
16 years agoHow can I translated VHDL to Verilog HDL.
How can I translated VHDL to Verilog HDL.
The problem is how can I deal with the posedge and negedge with the same signal.
process(Timer)
begin
if Timer'event and Timer='1' then --Timer rising edge.
trise<='1';
start = 1;
elsif Timer'event and Timer='0' then --Timer falling edge.
trise<='0';
hold = 1;
end if;
end process;