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

📄 lightw.map.eqn

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

--F1L9 is div:inst|lpm_counter:count_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[3]~COUT
--operation mode is up_dn_cntr

F1L9 = CARRY(F1_q[3] & F1L7);


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

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

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

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


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

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


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

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

--F1L5 is div:inst|lpm_counter:count_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[1]~COUT
--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]
--operation mode is up_dn_cntr

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

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

F1L3 = CARRY(F1_q[0]);


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

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


--C1_flag[1] is light:inst1|flag[1]
--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]
--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]
--operation mode is normal

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


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

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


--C1_clk2 is light:inst1|clk2
--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
--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
--operation mode is normal

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


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

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


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

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


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

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


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

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


--C1L42 is light:inst1|light~1162
--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
--operation mode is normal

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


--C1L62 is light:inst1|light~1165
--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
--operation mode is normal

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


--C1L01 is light:inst1|flag~501
--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
--operation mode is input

pin_clk = INPUT();


--testout0 is testout0
--operation mode is output

testout0 = OUTPUT(F1_q[8]);


--testout1 is testout1
--operation mode is output

testout1 = OUTPUT(F1_q[18]);


--testout2 is testout2
--operation mode is output

testout2 = OUTPUT(F1_q[19]);


--testout3 is testout3
--operation mode is output

testout3 = OUTPUT(F1_q[20]);


--dataout0 is dataout0
--operation mode is output

dataout0 = OUTPUT(C1_light[0]);


--testout4 is testout4
--operation mode is output

testout4 = OUTPUT(F1_q[21]);


--dataout1 is dataout1
--operation mode is output

dataout1 = OUTPUT(C1_light[1]);


--dataout2 is dataout2
--operation mode is output

dataout2 = OUTPUT(C1_light[2]);


--dataout3 is dataout3
--operation mode is output

dataout3 = OUTPUT(C1_light[3]);


--dataout4 is dataout4
--operation mode is output

dataout4 = OUTPUT(C1_light[4]);


--dataout5 is dataout5
--operation mode is output

dataout5 = OUTPUT(C1_light[5]);


--dataout6 is dataout6
--operation mode is output

dataout6 = OUTPUT(C1_light[6]);


--dataout7 is dataout7
--operation mode is output

dataout7 = OUTPUT(C1_light[7]);


⌨️ 快捷键说明

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