关于VHDL进程里的变量值问题
时间:10-02
整理:3721RD
点击:
- process(tmp_ps2clk)
- begin
- if tmp_ps2clk'event and tmp_ps2clk='0' then
- cnt<=cnt+1;
- if cnt = 32 then
- cnt<=0;
- end if;
- end if;
- end process;
-
- process(tmp_ps2clk,tmp_ps2dat,cnt)
- begin
- if tmp_ps2clk'event and tmp_ps2clk='0' then
- if cnt<11 then