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

📄 clock.fit.eqn

📁 运用vhdl语言编程,是数字逻辑中的电子钟!各模块及源代码都有,适合电信同学使用!
💻 EQN
📖 第 1 页 / 共 2 页
字号:
E1L61 = E1L11 & H1_q500 & B1_cnt0[2] # !H1_q500 & M1_q[2];


--E1_q[2] is bbb:inst17|q[2] at LC3_B9
--operation mode is normal

E1_q[2] = E1L1 & E1_q[2] # !E1L1 & E1L61 # E1L51;


--M3_q[3] is hour:inst19|lpm_counter:cnt0_rtl_3|alt_counter_f10ke:wysi_counter|q[3] at LC7_B2
--operation mode is clrb_cntr

M3_q[3]_lut_out = (M3_q[3] $ (inst6 & M3L7)) & M3L9;
M3_q[3] = DFFEA(M3_q[3]_lut_out, GLOBAL(inst3), , , inst6, , );


--G1_cnt1[3] is hour:inst19|cnt1[3] at LC2_B3
--operation mode is normal

G1_cnt1[3]_lut_out = P1_unreg_res_node[3];
G1_cnt1[3] = DFFEA(G1_cnt1[3]_lut_out, GLOBAL(inst3), , , inst6, , );


--E1L2 is bbb:inst17|Mux~52 at LC4_B24
--operation mode is normal

E1L2 = H1_q500 & M3_q[3] # J1_cnt[1] # !H1_q500 & G1_cnt1[3] & !J1_cnt[1];


--E1L3 is bbb:inst17|Mux~53 at LC5_B24
--operation mode is normal

E1L3 = E1L2 & D1_cnt0[3] # !J1_cnt[1] # !E1L2 & J1_cnt[1] & M2_q[3];


--E1L71 is bbb:inst17|Mux~295 at LC6_B24
--operation mode is normal

E1L71 = !J1_cnt[2] & E1L3;


--E1L81 is bbb:inst17|Mux~296 at LC4_B9
--operation mode is normal

E1L81 = E1L11 & H1_q500 & B1_cnt0[3] # !H1_q500 & M1_q[3];


--E1_q[3] is bbb:inst17|q[3] at LC3_B24
--operation mode is normal

E1_q[3] = E1L1 & E1_q[3] # !E1L1 & E1L81 # E1L71;


--B1L9 is mian:inst1|co~126 at LC6_B8
--operation mode is normal

B1L9 = !M1_q[3] & !M1_q[1] & !M1_q[0] # !M1_q[2];


--C1L6 is sst:inst4|process0~119 at LC8_B8
--operation mode is normal

C1L6 = !M1_q[1] & !M1_q[3];


--C1L7 is sst:inst4|process0~120 at LC1_B9
--operation mode is normal

C1L7 = M1_q[2] & M1_q[0];


--B1L11 is mian:inst1|process0~0 at LC1_B8
--operation mode is normal

B1L11 = !C1L6 # !C1L7 # !B1_cnt0[3] # !C1L2;


--M1L9 is mian:inst1|lpm_counter:cnt1_rtl_2|alt_counter_f10ke:wysi_counter|counter_cell[3]~30 at LC7_B8
--operation mode is normal

M1L9 = B1L9 # C1L2 # !B1_cnt0[3] # !B1L11;


--K3_q is fen10:inst28|q at LC2_B19
--operation mode is normal

K3_q_lut_out = M7_q[3] & M7_q[0] # M7_q[1] # M7_q[2];
K3_q = DFFEA(K3_q_lut_out, inst9, , , , , );


--A1L7 is inst16~9 at LC1_B14
--operation mode is normal

A1L7 = !sa & K3_q;


--K2_q is fen10:inst25|q at LC1_B21
--operation mode is normal

K2_q_lut_out = M6_q[3] & M6_q[0] # M6_q[1] # M6_q[2];
K2_q = DFFEA(K2_q_lut_out, K1_q, , , , , );


--inst3 is inst3 at LC1_B19
--operation mode is normal

inst3 = K3_q $ (K2_q & sa);


--D1L31 is mina:inst8|LessThan~31 at LC6_B5
--operation mode is normal

D1L31 = !D1_cnt0[0] & !D1_cnt0[1] & !D1_cnt0[2] # !D1_cnt0[3];


--D1L9 is mina:inst8|cnt1[3]~61 at LC1_B6
--operation mode is normal

D1L9 = !D1L31 & !D1L51 & inst2;


--D1L11 is mina:inst8|co~114 at LC1_B7
--operation mode is normal

D1L11 = !M2_q[3] & !M2_q[1] & !M2_q[0] # !M2_q[2];


--M2L9 is mina:inst8|lpm_counter:cnt1_rtl_1|alt_counter_f10ke:wysi_counter|counter_cell[3]~32 at LC6_B6
--operation mode is normal

M2L9 = D1L11 # D1L31 # D1L51 # !inst2;


--B1L6 is mian:inst1|cnt0~309 at LC7_B4
--operation mode is normal

B1L6 = C1L2 & !C1L6 # !C1L7 # !B1_cnt0[3];


--C1L8 is sst:inst4|process0~121 at LC3_B4
--operation mode is normal

C1L8 = !B1_cnt0[1] & !B1_cnt0[2];


--D1L1 is mina:inst8|add~80 at LC5_B5
--operation mode is normal

D1L1 = D1_cnt0[0] & D1_cnt0[1];


--C1L9 is sst:inst4|process0~122 at LC8_B7
--operation mode is normal

C1L9 = D1L1 & C1L7 & M2_q[1] & C1L5;


--G1L6 is hour:inst19|LessThan~14 at LC8_B2
--operation mode is normal

G1L6 = !M3_q[2] & !M3_q[1] & !M3_q[0] # !M3_q[3];


--M3L9 is hour:inst19|lpm_counter:cnt0_rtl_3|alt_counter_f10ke:wysi_counter|counter_cell[3]~1 at LC3_B2
--operation mode is normal

M3L9 = !G1L8 & G1L6 # !inst6;


--R3_cs_buffer[0] is hour:inst19|lpm_add_sub:add_rtl_7|addcore:adder|a_csnbuffer:result_node|cs_buffer[0] at LC4_B3
--operation mode is arithmetic

R3_cs_buffer[0] = G1L6 $ G1_cnt1[0];

--R3_cout[0] is hour:inst19|lpm_add_sub:add_rtl_7|addcore:adder|a_csnbuffer:result_node|cout[0] at LC4_B3
--operation mode is arithmetic

R3_cout[0] = CARRY(!G1L6 & G1_cnt1[0]);


--R3_cs_buffer[1] is hour:inst19|lpm_add_sub:add_rtl_7|addcore:adder|a_csnbuffer:result_node|cs_buffer[1] at LC5_B3
--operation mode is arithmetic

R3_cs_buffer[1] = G1_cnt1[1] $ R3_cout[0];

--R3_cout[1] is hour:inst19|lpm_add_sub:add_rtl_7|addcore:adder|a_csnbuffer:result_node|cout[1] at LC5_B3
--operation mode is arithmetic

R3_cout[1] = CARRY(G1_cnt1[1] & R3_cout[0]);


--R3_cs_buffer[2] is hour:inst19|lpm_add_sub:add_rtl_7|addcore:adder|a_csnbuffer:result_node|cs_buffer[2] at LC6_B3
--operation mode is arithmetic

R3_cs_buffer[2] = G1_cnt1[2] $ R3_cout[1];

--R3_cout[2] is hour:inst19|lpm_add_sub:add_rtl_7|addcore:adder|a_csnbuffer:result_node|cout[2] at LC6_B3
--operation mode is arithmetic

R3_cout[2] = CARRY(G1_cnt1[2] & R3_cout[1]);


--M7_q[2] is fen10:inst28|lpm_counter:cnt_rtl_4|alt_counter_f10ke:wysi_counter|q[2] at LC6_B19
--operation mode is clrb_cntr

M7_q[2]_lut_out = (M7_q[2] $ M7L5) & K3L1;
M7_q[2] = DFFEA(M7_q[2]_lut_out, inst9, , , , , );

--M7L7 is fen10:inst28|lpm_counter:cnt_rtl_4|alt_counter_f10ke:wysi_counter|counter_cell[2]~COUT at LC6_B19
--operation mode is clrb_cntr

M7L7 = CARRY(M7_q[2] & M7L5);


--M7_q[1] is fen10:inst28|lpm_counter:cnt_rtl_4|alt_counter_f10ke:wysi_counter|q[1] at LC5_B19
--operation mode is clrb_cntr

M7_q[1]_lut_out = (M7_q[1] $ M7L3) & K3L1;
M7_q[1] = DFFEA(M7_q[1]_lut_out, inst9, , , , , );

--M7L5 is fen10:inst28|lpm_counter:cnt_rtl_4|alt_counter_f10ke:wysi_counter|counter_cell[1]~COUT at LC5_B19
--operation mode is clrb_cntr

M7L5 = CARRY(M7_q[1] & M7L3);


--M7_q[0] is fen10:inst28|lpm_counter:cnt_rtl_4|alt_counter_f10ke:wysi_counter|q[0] at LC4_B19
--operation mode is clrb_cntr

M7_q[0]_lut_out = (!M7_q[0]) & K3L1;
M7_q[0] = DFFEA(M7_q[0]_lut_out, inst9, , , , , );

--M7L3 is fen10:inst28|lpm_counter:cnt_rtl_4|alt_counter_f10ke:wysi_counter|counter_cell[0]~COUT at LC4_B19
--operation mode is clrb_cntr

M7L3 = CARRY(M7_q[0]);


--M7_q[3] is fen10:inst28|lpm_counter:cnt_rtl_4|alt_counter_f10ke:wysi_counter|q[3] at LC7_B19
--operation mode is clrb_cntr

M7_q[3]_lut_out = (M7_q[3] $ M7L7) & K3L1;
M7_q[3] = DFFEA(M7_q[3]_lut_out, inst9, , , , , );


--K3L1 is fen10:inst28|LessThan~14 at LC3_B19
--operation mode is normal

K3L1 = !M7_q[0] & !M7_q[1] & !M7_q[2] # !M7_q[3];


--inst9 is inst9 at LC8_B19
--operation mode is normal

inst9 = !sa & K2_q;


--D1L8 is mina:inst8|cnt0~254 at LC7_B5
--operation mode is normal

D1L8 = !D1L51 & D1L31;


--M6_q[2] is fen10:inst25|lpm_counter:cnt_rtl_5|alt_counter_f10ke:wysi_counter|q[2] at LC5_B21
--operation mode is clrb_cntr

M6_q[2]_lut_out = (M6_q[2] $ M6L5) & K2L1;
M6_q[2] = DFFEA(M6_q[2]_lut_out, K1_q, , , , , );

--M6L7 is fen10:inst25|lpm_counter:cnt_rtl_5|alt_counter_f10ke:wysi_counter|counter_cell[2]~COUT at LC5_B21
--operation mode is clrb_cntr

M6L7 = CARRY(M6_q[2] & M6L5);


--M6_q[1] is fen10:inst25|lpm_counter:cnt_rtl_5|alt_counter_f10ke:wysi_counter|q[1] at LC4_B21
--operation mode is clrb_cntr

M6_q[1]_lut_out = (M6_q[1] $ M6L3) & K2L1;
M6_q[1] = DFFEA(M6_q[1]_lut_out, K1_q, , , , , );

--M6L5 is fen10:inst25|lpm_counter:cnt_rtl_5|alt_counter_f10ke:wysi_counter|counter_cell[1]~COUT at LC4_B21
--operation mode is clrb_cntr

M6L5 = CARRY(M6_q[1] & M6L3);


--M6_q[0] is fen10:inst25|lpm_counter:cnt_rtl_5|alt_counter_f10ke:wysi_counter|q[0] at LC3_B21
--operation mode is clrb_cntr

M6_q[0]_lut_out = (!M6_q[0]) & K2L1;
M6_q[0] = DFFEA(M6_q[0]_lut_out, K1_q, , , , , );

--M6L3 is fen10:inst25|lpm_counter:cnt_rtl_5|alt_counter_f10ke:wysi_counter|counter_cell[0]~COUT at LC3_B21
--operation mode is clrb_cntr

M6L3 = CARRY(M6_q[0]);


--M6_q[3] is fen10:inst25|lpm_counter:cnt_rtl_5|alt_counter_f10ke:wysi_counter|q[3] at LC6_B21
--operation mode is clrb_cntr

M6_q[3]_lut_out = (M6_q[3] $ M6L7) & K2L1;
M6_q[3] = DFFEA(M6_q[3]_lut_out, K1_q, , , , , );


--K2L1 is fen10:inst25|LessThan~14 at LC2_B21
--operation mode is normal

K2L1 = !M6_q[0] & !M6_q[1] & !M6_q[2] # !M6_q[3];


--K1_q is fen10:inst24|q at LC1_B22
--operation mode is normal

K1_q_lut_out = M5_q[3] & M5_q[0] # M5_q[1] # M5_q[2];
K1_q = DFFEA(K1_q_lut_out, H1_qlk, , , , , );


--B1_co is mian:inst1|co at LC2_B10
--operation mode is normal

B1_co_lut_out = B1_co & B1L01 # !B1L11;
B1_co = DFFEA(B1_co_lut_out, A1L7, , , sc, , );


--inst2 is inst2 at LC1_B10
--operation mode is normal

inst2 = B1_co # sb;


--D1L7 is mina:inst8|cnt0~10 at LC8_B5
--operation mode is normal

D1L7 = D1_cnt0[3] $ (!D1_cnt0[2] # !D1L1) # !D1L31;


--D1_co is mina:inst8|co at LC3_B10
--operation mode is normal

D1_co_lut_out = D1L21;
D1_co = DFFEA(D1_co_lut_out, GLOBAL(inst3), , , inst2, , );


--inst6 is inst6 at LC5_B10
--operation mode is normal

inst6 = sa # D1_co & B1_co & sb;


--P1_unreg_res_node[3] is hour:inst19|lpm_add_sub:add_rtl_7|addcore:adder|unreg_res_node[3] at LC7_B3
--operation mode is normal

P1_unreg_res_node[3] = R3_cout[2] $ G1_cnt1[3];


--M5_q[2] is fen10:inst24|lpm_counter:cnt_rtl_6|alt_counter_f10ke:wysi_counter|q[2] at LC6_B22
--operation mode is clrb_cntr

M5_q[2]_lut_out = (M5_q[2] $ M5L5) & K1L1;
M5_q[2] = DFFEA(M5_q[2]_lut_out, H1_qlk, , , , , );

--M5L7 is fen10:inst24|lpm_counter:cnt_rtl_6|alt_counter_f10ke:wysi_counter|counter_cell[2]~COUT at LC6_B22
--operation mode is clrb_cntr

M5L7 = CARRY(M5_q[2] & M5L5);


--M5_q[1] is fen10:inst24|lpm_counter:cnt_rtl_6|alt_counter_f10ke:wysi_counter|q[1] at LC5_B22
--operation mode is clrb_cntr

M5_q[1]_lut_out = (M5_q[1] $ M5L3) & K1L1;
M5_q[1] = DFFEA(M5_q[1]_lut_out, H1_qlk, , , , , );

--M5L5 is fen10:inst24|lpm_counter:cnt_rtl_6|alt_counter_f10ke:wysi_counter|counter_cell[1]~COUT at LC5_B22
--operation mode is clrb_cntr

M5L5 = CARRY(M5_q[1] & M5L3);


--M5_q[0] is fen10:inst24|lpm_counter:cnt_rtl_6|alt_counter_f10ke:wysi_counter|q[0] at LC4_B22
--operation mode is clrb_cntr

M5_q[0]_lut_out = (!M5_q[0]) & K1L1;
M5_q[0] = DFFEA(M5_q[0]_lut_out, H1_qlk, , , , , );

--M5L3 is fen10:inst24|lpm_counter:cnt_rtl_6|alt_counter_f10ke:wysi_counter|counter_cell[0]~COUT at LC4_B22
--operation mode is clrb_cntr

M5L3 = CARRY(M5_q[0]);


--M5_q[3] is fen10:inst24|lpm_counter:cnt_rtl_6|alt_counter_f10ke:wysi_counter|q[3] at LC7_B22
--operation mode is clrb_cntr

M5_q[3]_lut_out = (M5_q[3] $ M5L7) & K1L1;
M5_q[3] = DFFEA(M5_q[3]_lut_out, H1_qlk, , , , , );


--K1L1 is fen10:inst24|LessThan~14 at LC2_B22
--operation mode is normal

K1L1 = !M5_q[0] & !M5_q[1] & !M5_q[2] # !M5_q[3];


--D1L41 is mina:inst8|process0~42 at LC7_B6
--operation mode is normal

D1L41 = !M2_q[3] & D1_cnt0[3] & M2_q[0] & M2_q[2];


--D1L51 is mina:inst8|process0~44 at LC8_B6
--operation mode is normal

D1L51 = (!D1_cnt0[0] & !D1_cnt0[1] & !D1_cnt0[2] & !M2_q[1]) & CASCADE(D1L41);


--G1L7 is hour:inst19|process0~46 at LC1_B2
--operation mode is normal

G1L7 = !G1_cnt1[3] & !M3_q[3] & !G1_cnt1[2] & !M3_q[2];


--G1L8 is hour:inst19|process0~48 at LC2_B2
--operation mode is normal

G1L8 = (!G1_cnt1[0] & G1_cnt1[1] & M3_q[1] & M3_q[0]) & CASCADE(G1L7);


--B1L01 is mian:inst1|co~128 at LC4_B10
--operation mode is normal

B1L01 = B1L9 # C1L2 # !B1_cnt0[3];


--D1L21 is mina:inst8|co~115 at LC6_B10
--operation mode is normal

D1L21 = D1L51 # D1_co & D1L11 # D1L31;


--B1L7 is mian:inst1|cnt1[2]~4 at LC8_B4
--operation mode is normal

B1L7 = B1_cnt0[3] & B1_cnt0[1] # B1_cnt0[2] # B1_cnt0[0];


--H1L1 is ccc:inst22|LessThan~52 at LC8_C5
--operation mode is normal

H1L1 = !M4_q[12] & !M4_q[11] & H1L2 # !M4_q[10];


--H1L2 is ccc:inst22|LessThan~149 at LC1_C4
--operation mode is normal

H1L2 = H1L3 # !M4_q[7] # !M4_q[8] # !M4_q[9];


--H1L3 is ccc:inst22|LessThan~152 at LC1_C3
--operation mode is normal

H1L3 = !M4_q[5] & !M4_q[4] & H1L4 # !M4_q[6];


--H1L4 is ccc:inst22|LessThan~155 at LC2_C3
--operation mode is normal

H1L4 = !M4_q[0] # !M4_q[1] # !M4_q[2] # !M4_q[3];


--H1L7 is ccc:inst22|qlk~1 at LC1_C2
--operation mode is normal

H1L7 = !H1L1;


--sb is sb at PIN_126
--operation mode is input

sb = INPUT();


--clk4m is clk4m at PIN_55
--operation mode is input

clk4m = INPUT();


--sa is sa at PIN_124
--operation mode is input

sa = INPUT();


--sc is sc at PIN_54
--operation mode is input

sc = INPUT();


--sound is sound at PIN_46
--operation mode is output

sound = OUTPUT(inst15);


--t[6] is t[6] at PIN_31
--operation mode is output

t[6] = OUTPUT(F1L7);


--t[5] is t[5] at PIN_30
--operation mode is output

t[5] = OUTPUT(!F1L6);


--t[4] is t[4] at PIN_29
--operation mode is output

t[4] = OUTPUT(!F1L5);


--t[3] is t[3] at PIN_28
--operation mode is output

t[3] = OUTPUT(!F1L4);


--t[2] is t[2] at PIN_27
--operation mode is output

t[2] = OUTPUT(!F1L3);


--t[1] is t[1] at PIN_26
--operation mode is output

t[1] = OUTPUT(!F1L2);


--t[0] is t[0] at PIN_23
--operation mode is output

t[0] = OUTPUT(!F1L1);


--y[2] is y[2] at PIN_37
--operation mode is output

y[2] = OUTPUT(J1_cnt[2]);


--y[1] is y[1] at PIN_36
--operation mode is output

y[1] = OUTPUT(J1_cnt[1]);


--y[0] is y[0] at PIN_33
--operation mode is output

y[0] = OUTPUT(H1_q500);


⌨️ 快捷键说明

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