if key_ch_release = '1' then -- released => return to idle<br /> release <= '1';<br /> state <= ST_IDLE;<br /><br /> elsif cntr = REPEAT_START - 1 then -- timeout =><br /> cntr <= (others => '0');<br /> press <= '1';<br /> state <= ST_REPEAT;<br /> end if;<br />这是用VHDL写的,但是这没有else,会产生latch吗?用Verilog怎么翻译过来,<br />还有other=>0,是所有输出都为0吗????<br />Please answer!!!<br />Thanks thanks.<br />best regdards!<br /> <br /> |
|