📄 infrared_receive.fit.eqn
字号:
--D1L21 is decode:u3|i~1754 at LC_X32_Y20_N1
--operation mode is normal
D1L21 = D1L01 & (D1L11 # !C1L21Q & !C1L11Q) # !D1L01 & !D1L11 & (C1L21Q $ C1L11Q);
--D1L31 is decode:u3|i~1755 at LC_X32_Y20_N2
--operation mode is normal
D1L31 = D1L9 & (D1L11 & D1L02 & !D1L21 # !D1L11 & D1L21);
--D1L7 is decode:u3|i~64 at LC_X32_Y20_N3
--operation mode is normal
D1L7 = C1L12Q & C1L02Q & C1L22Q & D1L31;
--D1L41 is decode:u3|i~1791 at LC_X28_Y20_N7
--operation mode is normal
D1L41 = D1_bcd_code[3] & (D1L13 & D1L03 # !D1L7) # !D1_bcd_code[3] & D1L13 & D1L03;
--D1L23 is decode:u3|i~1824 at LC_X30_Y20_N1
--operation mode is normal
D1L23 = C1L31Q & !C1L41Q & D1L52 & D1L62;
--D1L33 is decode:u3|i~1825 at LC_X29_Y20_N6
--operation mode is normal
D1L33 = D1L23 & (D1L12 # D1L13 & D1L72) # !D1L23 & D1L13 & D1L72;
--D1L43 is decode:u3|i~1826 at LC_X30_Y20_N0
--operation mode is normal
C1L21Q_qfbk = C1L21Q;
D1L43 = !C1L11Q & D1L22 & C1L21Q_qfbk & D1L61;
--C1L21Q is coding:u2|data[1]~reg0 at LC_X30_Y20_N0
--operation mode is normal
C1L21Q_sload_eqn = C1_datareg12[1];
C1L21Q = DFFEA(C1L21Q_sload_eqn, GLOBAL(clk), !GLOBAL(B1L1Q), , C1L05Q, , );
--D1L53 is decode:u3|i~1827 at LC_X32_Y20_N9
--operation mode is normal
C1L51Q_qfbk = C1L51Q;
D1L53 = !C1L51Q_qfbk & !C1L41Q;
--C1L51Q is coding:u2|data[4]~reg0 at LC_X32_Y20_N9
--operation mode is normal
C1L51Q_sload_eqn = C1_datareg12[4];
C1L51Q = DFFEA(C1L51Q_sload_eqn, GLOBAL(clk), !GLOBAL(B1L1Q), , C1L05Q, , );
--D1L63 is decode:u3|i~1828 at LC_X30_Y20_N2
--operation mode is normal
D1L63 = !C1L31Q & C1L61Q & D1L53 & D1L62;
--D1L73 is decode:u3|i~1829 at LC_X30_Y20_N7
--operation mode is normal
D1L73 = !D1L71 & (!D1L23 & !D1L43 # !D1L13);
--D1L83 is decode:u3|i~1830 at LC_X30_Y20_N8
--operation mode is normal
D1L83 = D1L73 & (!D1L12 # !D1L22 # !D1L92);
--D1L93 is decode:u3|i~1831 at LC_X29_Y20_N7
--operation mode is normal
D1L93 = D1L33 # D1_bcd_code[2] & !D1L7 # !D1L83;
--G1L2 is keyboard:u6|i~233 at LC_X28_Y21_N3
--operation mode is normal
G1L2 = key_in[1] & (key_in[2] & (key_in[3] $ key_in[0]) # !key_in[2] & key_in[3] & key_in[0]) # !key_in[1] & key_in[2] & key_in[3] & key_in[0];
--D1L04 is decode:u3|i~1832 at LC_X28_Y20_N5
--operation mode is normal
D1L04 = D1L42 & (D1L03 # D1L13 & D1L63) # !D1L42 & D1L13 & D1L63;
--D1L51 is decode:u3|i~1798 at LC_X28_Y20_N6
--operation mode is normal
D1L51 = D1L04 # D1L12 & (D1L72 # D1L82);
--G1L1 is keyboard:u6|i~52 at LC_X27_Y20_N5
--operation mode is normal
G1L1 = key_in[0] & key_in[1];
--G1L3 is keyboard:u6|i~242 at LC_X27_Y20_N2
--operation mode is normal
G1L3 = G1_key_bcd[1] & (key_in[3] # !key_in[2] # !G1L1) # !G1_key_bcd[1] & G1L1 & key_in[3] & !key_in[2];
--G1L4 is keyboard:u6|i~243 at LC_X27_Y20_N6
--operation mode is normal
G1L4 = key_in[3] & key_in[2];
--D1L14 is decode:u3|i~1833 at LC_X30_Y20_N3
--operation mode is normal
D1L14 = D1L42 & (D1L72 # D1L63) # !D1L42 & D1L12 & (D1L72 # D1L63);
--D1L24 is decode:u3|i~1834 at LC_X31_Y20_N2
--operation mode is normal
D1L24 = D1L14 # D1_bcd_code[0] & !D1L7;
--D1L34 is decode:u3|i~1835 at LC_X29_Y20_N2
--operation mode is normal
D1L34 = !D1L72 & !D1L63 & !D1L43 # !D1L13;
--D1L44 is decode:u3|i~1836 at LC_X29_Y20_N3
--operation mode is normal
D1L44 = D1L34 & (!D1L43 # !D1L42);
--G1L5 is keyboard:u6|i~245 at LC_X27_Y20_N9
--operation mode is normal
G1L5 = G1_key_bcd[0] & (key_in[2] # !key_in[3] # !G1L1) # !G1_key_bcd[0] & G1L1 & !key_in[3] & key_in[2];
--G1L6 is keyboard:u6|i~246 at LC_X27_Y20_N4
--operation mode is normal
G1L6 = key_in[3] & key_in[2];
--D1L54 is decode:u3|i~1837 at LC_X29_Y20_N4
--operation mode is normal
D1L54 = D1L23 & (D1L42 # D1L13) # !D1L23 & D1L03 & (D1L42 # D1L13);
--D1L64 is decode:u3|i~1838 at LC_X29_Y20_N0
--operation mode is normal
D1L64 = D1L54 # D1_bcd_code[4] & !D1L7;
--C1L64Q is coding:u2|state~20 at LC_X32_Y22_N5
--operation mode is normal
C1L64Q_lut_out = !C1L05Q & (C1L64Q # !infrared_in);
C1L64Q = DFFEA(C1L64Q_lut_out, GLOBAL(clk), !GLOBAL(B1L1Q), , , , );
--C1_cnt1[3] is coding:u2|cnt1[3] at LC_X32_Y21_N2
--operation mode is normal
C1_cnt1[3]_lut_out = C1_cnt1[3] & (C1L04 # C1L74Q & !C1L14) # !C1_cnt1[3] & C1L74Q & C1L14;
C1_cnt1[3] = DFFEA(C1_cnt1[3]_lut_out, GLOBAL(clk), VCC, , !B1L1Q, , );
--C1_cnt1[2] is coding:u2|cnt1[2] at LC_X32_Y21_N5
--operation mode is normal
C1_cnt1[2]_lut_out = C1_cnt1[2] & (C1L04 # C1L74Q & !C1L63) # !C1_cnt1[2] & C1L74Q & C1L63;
C1_cnt1[2] = DFFEA(C1_cnt1[2]_lut_out, GLOBAL(clk), VCC, , !B1L1Q, , );
--C1_cnt1[1] is coding:u2|cnt1[1] at LC_X32_Y21_N4
--operation mode is normal
C1_cnt1[1]_lut_out = C1_cnt1[1] & (C1L04 # C1L74Q & !C1_cnt1[0]) # !C1_cnt1[1] & C1L74Q & C1_cnt1[0];
C1_cnt1[1] = DFFEA(C1_cnt1[1]_lut_out, GLOBAL(clk), VCC, , !B1L1Q, , );
--C1_cnt1[0] is coding:u2|cnt1[0] at LC_X32_Y21_N1
--operation mode is normal
C1_cnt1[0]_lut_out = C1L04 & (C1_cnt1[0] # C1L74Q) # !C1L04 & !C1_cnt1[0] & C1L74Q;
C1_cnt1[0] = DFFEA(C1_cnt1[0]_lut_out, GLOBAL(clk), VCC, , !B1L1Q, , );
--C1L63 is coding:u2|i~142 at LC_X32_Y21_N0
--operation mode is normal
C1L63 = C1_cnt1[0] & C1_cnt1[1];
--D1L61 is decode:u3|i~1801 at LC_X32_Y20_N4
--operation mode is normal
C1L61Q_qfbk = C1L61Q;
D1L61 = !C1L31Q & !C1L51Q & !C1L61Q_qfbk & !C1L41Q;
--C1L61Q is coding:u2|data[5]~reg0 at LC_X32_Y20_N4
--operation mode is normal
C1L61Q_sload_eqn = C1_datareg12[5];
C1L61Q = DFFEA(C1L61Q_sload_eqn, GLOBAL(clk), !GLOBAL(B1L1Q), , C1L05Q, , );
--C1L73 is coding:u2|i~1891 at LC_X32_Y22_N6
--operation mode is normal
C1L73 = C1L05Q # C1L15Q # C1L74Q;
--C1L83 is coding:u2|i~1893 at LC_X33_Y21_N8
--operation mode is normal
C1L83 = C1_cnt2[2] # !C1_cnt2[0] # !C1_cnt2[1] # !C1_cnt2[3];
--D1L71 is decode:u3|i~1803 at LC_X30_Y20_N6
--operation mode is normal
C1L81Q_qfbk = C1L81Q;
D1L71 = !C1L71Q & !C1L91Q & C1L81Q_qfbk & D1L63;
--C1L81Q is coding:u2|data[7]~reg0 at LC_X30_Y20_N6
--operation mode is normal
C1L81Q_sload_eqn = C1_datareg12[7];
C1L81Q = DFFEA(C1L81Q_sload_eqn, GLOBAL(clk), !GLOBAL(B1L1Q), , C1L05Q, , );
--D1L81 is decode:u3|i~1805 at LC_X31_Y20_N9
--operation mode is normal
D1L81 = !C1L71Q & !C1L81Q & C1L91Q & D1L43;
--C1L93 is coding:u2|i~1899 at LC_X33_Y21_N0
--operation mode is normal
C1L93 = C1_cnt2[1] & C1_cnt2[0] & C1_cnt2[2];
--C1L04 is coding:u2|i~1903 at LC_X32_Y22_N8
--operation mode is normal
C1L04 = C1L05Q # C1L94Q # C1L84Q;
--C1L14 is coding:u2|i~1905 at LC_X32_Y21_N8
--operation mode is normal
C1L14 = C1_cnt1[0] & C1_cnt1[2] & C1_cnt1[1];
--~GND is ~GND at LC_X28_Y20_N9
--operation mode is normal
~GND = GND;
--key_in[0] is key_in[0] at Pin_A11
--operation mode is input
key_in[0] = INPUT();
--key_in[1] is key_in[1] at Pin_G9
--operation mode is input
key_in[1] = INPUT();
--key_in[2] is key_in[2] at Pin_B13
--operation mode is input
key_in[2] = INPUT();
--key_in[3] is key_in[3] at Pin_B11
--operation mode is input
key_in[3] = INPUT();
--clk is clk at Pin_L2
--operation mode is input
clk = INPUT();
--infrared_in is infrared_in at Pin_K8
--operation mode is input
infrared_in = INPUT();
--ringout is ringout at Pin_K10
--operation mode is output
ringout = OUTPUT(F1_i35);
--ledout is ledout at Pin_J9
--operation mode is output
ledout = OUTPUT(F1_i37);
--light[1] is light[1] at Pin_D12
--operation mode is output
light[1] = OUTPUT(E1L31Q);
--light[0] is light[0] at Pin_A12
--operation mode is output
light[0] = OUTPUT(!E1L31Q);
--data_result[3] is data_result[3] at Pin_C14
--operation mode is output
data_result[3] = OUTPUT(E1L21Q);
--data_result[2] is data_result[2] at Pin_B12
--operation mode is output
data_result[2] = OUTPUT(E1L11Q);
--data_result[1] is data_result[1] at Pin_C13
--operation mode is output
data_result[1] = OUTPUT(E1L01Q);
--data_result[0] is data_result[0] at Pin_C12
--operation mode is output
data_result[0] = OUTPUT(E1L9Q);
--user_num[2] is user_num[2] at Pin_F10
--operation mode is output
user_num[2] = OUTPUT(C1L55Q);
--user_num[1] is user_num[1] at Pin_H10
--operation mode is output
user_num[1] = OUTPUT(C1L35Q);
--user_num[0] is user_num[0] at Pin_J8
--operation mode is output
user_num[0] = OUTPUT(C1L25Q);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -