⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 debounce.fit.eqn

📁 4X4keypad的防抖动模块
💻 EQN
字号:
--p_state[0] is p_state[0] at LC3_1_Q1
--operation mode is normal

p_state[0]_lut_out = done & !p_state[0] & (SW $ !p_state[1]) # !done & (SW $ !p_state[1]);
p_state[0] = DFFE(p_state[0]_lut_out, GLOBAL(clk), GLOBAL(reset), , );


--p_state[1] is p_state[1] at LC5_1_Q1
--operation mode is normal

p_state[1]_lut_out = p_state[1] $ (done & p_state[0]);
p_state[1] = DFFE(p_state[1]_lut_out, GLOBAL(clk), GLOBAL(reset), , );


--SW is SW at PIN_N1
--operation mode is input

SW = INPUT();


--done is done at PIN_U5
--operation mode is input

done = INPUT();


--clk is clk at PIN_N4
--operation mode is input

clk = INPUT();


--reset is reset at PIN_F12
--operation mode is input

reset = INPUT();


--START is START at PIN_M3
--operation mode is output

START = OUTPUT(p_state[0]);


--SWdown is SWdown at PIN_J5
--operation mode is output

SWdown = OUTPUT(!p_state[1]);


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -