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

📄 lightw.fit.eqn

📁 一個LCD燈的小程序。不是我寫的。我只負責了調試。適用在ACEXEP1K30QC208-3上。我跑了SIMULATOR
💻 EQN
📖 第 1 页 / 共 2 页
字号:

F1_q[2]_lut_out = F1_q[2] $ F1L5;
F1_q[2] = DFFEA(F1_q[2]_lut_out, GLOBAL(pin_clk), !GLOBAL(B1L1), , , , );

--F1L7 is div:inst|lpm_counter:count_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[2]~COUT at LC8_C19
--operation mode is up_dn_cntr

F1L7 = CARRY(F1_q[2] & F1L5);


--B1L7 is div:inst|reduce_nor~176 at LC2_C19
--operation mode is normal

B1L7 = F1_q[2] & F1_q[3] & F1_q[4] & F1_q[5];


--F1_q[1] is div:inst|lpm_counter:count_rtl_0|alt_counter_f10ke:wysi_counter|q[1] at LC7_C19
--operation mode is up_dn_cntr

F1_q[1]_lut_out = F1_q[1] $ F1L3;
F1_q[1] = DFFEA(F1_q[1]_lut_out, GLOBAL(pin_clk), !GLOBAL(B1L1), , , , );

--F1L5 is div:inst|lpm_counter:count_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[1]~COUT at LC7_C19
--operation mode is up_dn_cntr

F1L5 = CARRY(F1_q[1] & F1L3);


--F1_q[0] is div:inst|lpm_counter:count_rtl_0|alt_counter_f10ke:wysi_counter|q[0] at LC6_C19
--operation mode is up_dn_cntr

F1_q[0]_lut_out = !F1_q[0];
F1_q[0] = DFFEA(F1_q[0]_lut_out, GLOBAL(pin_clk), !GLOBAL(B1L1), , , , );

--F1L3 is div:inst|lpm_counter:count_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[0]~COUT at LC6_C19
--operation mode is up_dn_cntr

F1L3 = CARRY(F1_q[0]);


--B1L1 is div:inst|reduce_nor~0 at LC1_C19
--operation mode is normal

B1L1 = F1_q[0] & F1_q[1] & B1L7 & B1L6;


--C1_flag[1] is light:inst1|flag[1] at LC2_D15
--operation mode is normal

C1_flag[1]_lut_out = !C1L01;
C1_flag[1] = DFFEA(C1_flag[1]_lut_out, C1L3, , , , , );


--C1_flag[2] is light:inst1|flag[2] at LC2_D16
--operation mode is normal

C1_flag[2]_lut_out = C1_flag[1] & C1_flag[0] & C1_flag[2] # !C1_light[2] # !C1_flag[1] & C1_flag[2];
C1_flag[2] = DFFEA(C1_flag[2]_lut_out, C1L3, , , , , );


--C1_flag[0] is light:inst1|flag[0] at LC1_D15
--operation mode is normal

C1_flag[0]_lut_out = C1L02 # C1L8 & C1_flag[0];
C1_flag[0] = DFFEA(C1_flag[0]_lut_out, C1L3, , , , , );


--C1L02 is light:inst1|light~1155 at LC1_D19
--operation mode is normal

C1L02 = !C1_flag[0] & C1_light[1] & !C1_flag[1] # !C1_flag[2];


--C1_clk2 is light:inst1|clk2 at LC2_D9
--operation mode is normal

C1_clk2_lut_out = !C1_clk2;
C1_clk2 = DFFEA(C1_clk2_lut_out, F1_q[8], , , , , );


--C1_banner is light:inst1|banner at LC4_D14
--operation mode is normal

C1_banner_lut_out = !C1_banner;
C1_banner = DFFEA(C1_banner_lut_out, C1L3, , , C1L53, , );


--C1L3 is light:inst1|clk~6 at LC1_D9
--operation mode is normal

C1L3 = C1_banner & F1_q[8] # !C1_banner & C1_clk2;


--C1L12 is light:inst1|light~1157 at LC2_D19
--operation mode is normal

C1L12 = !C1_flag[2] & C1_flag[0];


--C1L63 is light:inst1|reduce_nor~24 at LC1_D16
--operation mode is normal

C1L63 = C1_flag[2] & C1_flag[1];


--C1L22 is light:inst1|light~1158 at LC4_D19
--operation mode is normal

C1L22 = C1L63 & C1_light[1] # C1L12 & C1_light[0] # !C1L63 & C1L12 & C1_light[0];


--C1L32 is light:inst1|light~1160 at LC5_D19
--operation mode is normal

C1L32 = C1L63 & C1_light[2] # C1L12 & C1_light[1] # !C1L63 & C1L12 & C1_light[1];


--C1L42 is light:inst1|light~1162 at LC1_D18
--operation mode is normal

C1L42 = C1_flag[2] & C1_flag[1] & C1_light[3] # !C1_flag[1] & !C1_flag[0];


--C1L52 is light:inst1|light~1163 at LC4_D16
--operation mode is normal

C1L52 = !C1_flag[0] & !C1_flag[2] & C1_flag[1] # C1_light[4];


--C1L62 is light:inst1|light~1165 at LC5_D16
--operation mode is normal

C1L62 = C1_flag[2] & C1_light[4] # !C1_flag[2] & C1_light[5] # !C1_flag[0];


--C1L72 is light:inst1|light~1166 at LC6_D16
--operation mode is normal

C1L72 = C1_flag[0] & !C1_flag[2] & C1_light[3] # !C1_flag[0] & C1_light[5];


--C1L82 is light:inst1|light~1169 at LC1_D14
--operation mode is normal

C1L82 = !C1_flag[2] & C1_flag[0] $ C1_flag[1];


--C1L92 is light:inst1|light~1170 at LC3_D16
--operation mode is normal

C1L92 = !C1_flag[0] & !C1_flag[1] & C1_flag[2];


--C1L03 is light:inst1|light~1171 at LC5_D14
--operation mode is normal

C1L03 = C1L92 & C1_light[7] # C1L82 & C1_light[5] # !C1L92 & C1L82 & C1_light[5];


--C1L13 is light:inst1|light~1172 at LC6_D14
--operation mode is normal

C1L13 = !C1_flag[2] & C1_light[7] & C1_flag[0] $ !C1_flag[1];


--C1L23 is light:inst1|light~1174 at LC7_D14
--operation mode is normal

C1L23 = C1_flag[0] & !C1_flag[1] & !C1_flag[2] & C1_light[6] # !C1_flag[0] & !C1_flag[2] & C1_light[6] # !C1_flag[1];


--C1L8 is light:inst1|flag~494 at LC8_D15
--operation mode is normal

C1L8 = C1_flag[2] & C1_flag[1] # !C1_flag[2] & C1_flag[1] & C1_light[2] # !C1_flag[1] & C1_light[6];


--C1L53 is light:inst1|reduce_nor~14 at LC8_D14
--operation mode is normal

C1L53 = !C1_flag[0] & C1_flag[2] & C1_flag[1];


--C1L33 is light:inst1|light~1178 at LC6_D15
--operation mode is normal

C1L33 = C1L63 & !C1_light[5] & !C1_light[4] # !C1L82 # !C1L63 & !C1_light[4] # !C1L82;


--C1L43 is light:inst1|light~1181 at LC7_D15
--operation mode is normal

C1L43 = (C1_flag[1] & C1_flag[2] # !C1_flag[0] # !C1_flag[1] & C1_flag[0] # !C1_light[6]) & CASCADE(C1L33);


--C1L9 is light:inst1|flag~498 at LC4_D15
--operation mode is normal

C1L9 = !C1_flag[2] & C1_flag[1] # C1_light[6] # !C1_flag[0];


--C1L01 is light:inst1|flag~501 at LC5_D15
--operation mode is normal

C1L01 = (C1_flag[0] & !C1_light[2] # !C1_flag[0] & C1_flag[2] # !C1_flag[1]) & CASCADE(C1L9);


--pin_clk is pin_clk at PIN_79
--operation mode is input

pin_clk = INPUT();


--testout0 is testout0 at PIN_148
--operation mode is output

testout0 = OUTPUT(F1_q[8]);


--testout1 is testout1 at PIN_140
--operation mode is output

testout1 = OUTPUT(A1L21);


--testout2 is testout2 at PIN_142
--operation mode is output

testout2 = OUTPUT(A1L41);


--testout3 is testout3 at PIN_147
--operation mode is output

testout3 = OUTPUT(A1L61);


--dataout0 is dataout0 at PIN_73
--operation mode is output

dataout0 = OUTPUT(C1_light[0]);


--testout4 is testout4 at PIN_149
--operation mode is output

testout4 = OUTPUT(F1_q[21]);


--dataout1 is dataout1 at PIN_74
--operation mode is output

dataout1 = OUTPUT(C1_light[1]);


--dataout2 is dataout2 at PIN_75
--operation mode is output

dataout2 = OUTPUT(C1_light[2]);


--dataout3 is dataout3 at PIN_83
--operation mode is output

dataout3 = OUTPUT(C1_light[3]);


--dataout4 is dataout4 at PIN_85
--operation mode is output

dataout4 = OUTPUT(C1_light[4]);


--dataout5 is dataout5 at PIN_86
--operation mode is output

dataout5 = OUTPUT(C1_light[5]);


--dataout6 is dataout6 at PIN_87
--operation mode is output

dataout6 = OUTPUT(C1_light[6]);


--dataout7 is dataout7 at PIN_88
--operation mode is output

dataout7 = OUTPUT(C1_light[7]);


--A1L21 is testout1~0 at LC6_C10
--operation mode is normal

A1L21 = F1_q[18];


--A1L41 is testout2~0 at LC4_C25
--operation mode is normal

A1L41 = F1_q[19];


--A1L61 is testout3~0 at LC8_C25
--operation mode is normal

A1L61 = F1_q[20];


⌨️ 快捷键说明

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