seg7.map.eqn
来自「vhdl的很多例子」· EQN 代码 · 共 665 行 · 第 1/2 页
EQN
665 行
-- Copyright (C) 1991-2006 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions
-- and other software and tools, and its AMPP partner logic
-- functions, and any output files any of the foregoing
-- (including device programming or simulation files), and any
-- associated documentation or information are expressly subject
-- to the terms and conditions of the Altera Program License
-- Subscription Agreement, Altera MegaCore Function License
-- Agreement, or other applicable license agreement, including,
-- without limitation, that your use is for the sole purpose of
-- programming logic devices manufactured by Altera and sold by
-- Altera or its authorized distributors. Please refer to the
-- applicable agreement for further details.
--D1_comclk[1] is segmain:inst2|comclk[1]
--operation mode is normal
D1_comclk[1]_lut_out = D1_comclk[1] $ D1_comclk[0];
D1_comclk[1] = DFFEAS(D1_comclk[1]_lut_out, H1_safe_q[5], reset, , , , , , );
--D1_comclk[0] is segmain:inst2|comclk[0]
--operation mode is normal
D1_comclk[0]_lut_out = !D1_comclk[0];
D1_comclk[0] = DFFEAS(D1_comclk[0]_lut_out, H1_safe_q[5], reset, , , , , , );
--D1L15 is segmain:inst2|ledcom[3]~25
--operation mode is normal
D1L15 = !D1_comclk[0] # !D1_comclk[1];
--D1L12 is segmain:inst2|Equal~44
--operation mode is normal
D1L12 = D1_comclk[1] & (!D1_comclk[0]);
--D1L13 is segmain:inst2|Equal~45
--operation mode is normal
D1L13 = D1_comclk[0] & (!D1_comclk[1]);
--D1L14 is segmain:inst2|ledcom[0]~26
--operation mode is normal
D1L14 = D1_comclk[1] # D1_comclk[0];
--C1_time[0] is cont:inst3|time[0]
--operation mode is normal
C1_time[0]_lut_out = !C1_time[0];
C1_time[0] = DFFEAS(C1_time[0]_lut_out, C2_full, reset, , , , , , );
--B1_time[0] is subcountor:inst|time[0]
--operation mode is normal
B1_time[0]_lut_out = !B1_time[0];
B1_time[0] = DFFEAS(B1_time[0]_lut_out, H1_safe_q[23], reset, , , , , , );
--C2_time[0] is cont:inst1|time[0]
--operation mode is normal
C2_time[0]_lut_out = !C2_time[0];
C2_time[0] = DFFEAS(C2_time[0]_lut_out, H1_safe_q[24], reset, , , , , , );
--D1L4 is segmain:inst2|dataout[0]~51
--operation mode is normal
D1L4 = D1_comclk[0] & (D1_comclk[1]) # !D1_comclk[0] & (D1_comclk[1] & B1_time[0] # !D1_comclk[1] & (!C2_time[0]));
--B2_time[0] is subcountor:inst4|time[0]
--operation mode is normal
B2_time[0]_lut_out = !B2_time[0];
B2_time[0] = DFFEAS(B2_time[0]_lut_out, B1_full, reset, , , , , , );
--D1L5 is segmain:inst2|dataout[0]~52
--operation mode is normal
D1L5 = D1_comclk[0] & (D1L4 & (B2_time[0]) # !D1L4 & !C1_time[0]) # !D1_comclk[0] & (D1L4);
--B1_time[1] is subcountor:inst|time[1]
--operation mode is normal
B1_time[1]_lut_out = B1_time[1] & (!B1_time[0]) # !B1_time[1] & B1_time[0] & (B1_time[2] # !B1_time[3]);
B1_time[1] = DFFEAS(B1_time[1]_lut_out, H1_safe_q[23], reset, , , , , , );
--C1_time[1] is cont:inst3|time[1]
--operation mode is normal
C1_time[1]_lut_out = C1_time[0] $ C1_time[1];
C1_time[1] = DFFEAS(C1_time[1]_lut_out, C2_full, reset, , , , , , );
--C2_time[1] is cont:inst1|time[1]
--operation mode is normal
C2_time[1]_lut_out = C2_time[0] $ C2_time[1];
C2_time[1] = DFFEAS(C2_time[1]_lut_out, H1_safe_q[24], reset, , , , , , );
--D1L6 is segmain:inst2|dataout[1]~53
--operation mode is normal
D1L6 = D1_comclk[1] & (D1_comclk[0]) # !D1_comclk[1] & (D1_comclk[0] & !C1_time[1] # !D1_comclk[0] & (!C2_time[1]));
--B2_time[1] is subcountor:inst4|time[1]
--operation mode is normal
B2_time[1]_lut_out = B2_time[1] & (!B2_time[0]) # !B2_time[1] & B2_time[0] & (B2_time[2] # !B2_time[3]);
B2_time[1] = DFFEAS(B2_time[1]_lut_out, B1_full, reset, , , , , , );
--D1L7 is segmain:inst2|dataout[1]~54
--operation mode is normal
D1L7 = D1_comclk[1] & (D1L6 & (B2_time[1]) # !D1L6 & B1_time[1]) # !D1_comclk[1] & (D1L6);
--C1_time[2] is cont:inst3|time[2]
--operation mode is normal
C1_time[2]_lut_out = C1_time[2] $ (C1_time[0] & C1_time[1]);
C1_time[2] = DFFEAS(C1_time[2]_lut_out, C2_full, reset, , , , , , );
--B1_time[2] is subcountor:inst|time[2]
--operation mode is normal
B1_time[2]_lut_out = B1_time[2] $ (B1_time[0] & B1_time[1]);
B1_time[2] = DFFEAS(B1_time[2]_lut_out, H1_safe_q[23], reset, , , , , , );
--C2_time[2] is cont:inst1|time[2]
--operation mode is normal
C2_time[2]_lut_out = C2_time[2] $ (C2_time[0] & C2_time[1]);
C2_time[2] = DFFEAS(C2_time[2]_lut_out, H1_safe_q[24], reset, , , , , , );
--D1L8 is segmain:inst2|dataout[2]~55
--operation mode is normal
D1L8 = D1_comclk[0] & (D1_comclk[1]) # !D1_comclk[0] & (D1_comclk[1] & B1_time[2] # !D1_comclk[1] & (!C2_time[2]));
--B2_time[2] is subcountor:inst4|time[2]
--operation mode is normal
B2_time[2]_lut_out = B2_time[2] $ (B2_time[0] & B2_time[1]);
B2_time[2] = DFFEAS(B2_time[2]_lut_out, B1_full, reset, , , , , , );
--D1L9 is segmain:inst2|dataout[2]~56
--operation mode is normal
D1L9 = D1_comclk[0] & (D1L8 & (B2_time[2]) # !D1L8 & !C1_time[2]) # !D1_comclk[0] & (D1L8);
--B1_time[3] is subcountor:inst|time[3]
--operation mode is normal
B1_time[3]_lut_out = B1_time[3] & (B1_time[1] $ B1_time[2] # !B1_time[0]) # !B1_time[3] & B1_time[1] & B1_time[2] & B1_time[0];
B1_time[3] = DFFEAS(B1_time[3]_lut_out, H1_safe_q[23], reset, , , , , , );
--C1_time[3] is cont:inst3|time[3]
--operation mode is normal
C1_time[3]_lut_out = C1_time[3] $ (C1_time[0] & C1_time[1] & C1_time[2]);
C1_time[3] = DFFEAS(C1_time[3]_lut_out, C2_full, reset, , , , , , );
--C2_time[3] is cont:inst1|time[3]
--operation mode is normal
C2_time[3]_lut_out = C2_time[3] $ (C2_time[0] & C2_time[1] & C2_time[2]);
C2_time[3] = DFFEAS(C2_time[3]_lut_out, H1_safe_q[24], reset, , , , , , );
--D1L10 is segmain:inst2|dataout[3]~57
--operation mode is normal
D1L10 = D1_comclk[1] & (D1_comclk[0]) # !D1_comclk[1] & (D1_comclk[0] & !C1_time[3] # !D1_comclk[0] & (!C2_time[3]));
--B2_time[3] is subcountor:inst4|time[3]
--operation mode is normal
B2_time[3]_lut_out = B2_time[3] & (B2_time[1] $ B2_time[2] # !B2_time[0]) # !B2_time[3] & B2_time[1] & B2_time[2] & B2_time[0];
B2_time[3] = DFFEAS(B2_time[3]_lut_out, B1_full, reset, , , , , , );
--D1L11 is segmain:inst2|dataout[3]~58
--operation mode is normal
D1L11 = D1_comclk[1] & (D1L10 & (B2_time[3]) # !D1L10 & B1_time[3]) # !D1_comclk[1] & (D1L10);
--E1L7 is bin27seg:inst6|data_out[6]~109
--operation mode is normal
E1L7 = D1L11 # D1L7 & (!D1L9 # !D1L5) # !D1L7 & (D1L9);
--E1L6 is bin27seg:inst6|data_out[5]~110
--operation mode is normal
E1L6 = D1L7 & !D1L11 & (D1L5 # !D1L9) # !D1L7 & (D1L9 & (D1L11) # !D1L9 & D1L5 & !D1L11);
--E1L5 is bin27seg:inst6|data_out[4]~111
--operation mode is normal
E1L5 = D1L7 & D1L5 & (!D1L11) # !D1L7 & (D1L9 & (!D1L11) # !D1L9 & D1L5);
--E1L4 is bin27seg:inst6|data_out[3]~112
--operation mode is normal
E1L4 = D1L5 & (D1L7 $ !D1L9) # !D1L5 & (D1L7 & !D1L9 & D1L11 # !D1L7 & D1L9 & !D1L11);
--E1L3 is bin27seg:inst6|data_out[2]~113
--operation mode is normal
E1L3 = D1L9 & D1L11 & (D1L7 # !D1L5) # !D1L9 & !D1L5 & D1L7 & !D1L11;
--E1L2 is bin27seg:inst6|data_out[1]~114
--operation mode is normal
E1L2 = D1L7 & (D1L5 & (D1L11) # !D1L5 & D1L9) # !D1L7 & D1L9 & (D1L5 $ D1L11);
--E1L1 is bin27seg:inst6|data_out[0]~115
--operation mode is normal
E1L1 = D1L9 & (D1L11 & (!D1L7) # !D1L11 & !D1L5) # !D1L9 & D1L5 & (D1L7 $ !D1L11);
--H1_safe_q[5] is lpm_counter0:inst12|lpm_counter:lpm_counter_component|cntr_had:auto_generated|safe_q[5]
--operation mode is arithmetic
H1_safe_q[5]_carry_eqn = H1L10;
H1_safe_q[5]_lut_out = H1_safe_q[5] $ (H1_safe_q[5]_carry_eqn);
H1_safe_q[5] = DFFEAS(H1_safe_q[5]_lut_out, clk, VCC, , , , , , );
--H1L12 is lpm_counter0:inst12|lpm_counter:lpm_counter_component|cntr_had:auto_generated|counter_cella5~COUT
--operation mode is arithmetic
H1L12 = CARRY(!H1L10 # !H1_safe_q[5]);
--C2_full is cont:inst1|full
--operation mode is normal
C2_full_lut_out = C2_time[0] & C2_time[1] & C2_time[2] & C2_time[3];
C2_full = DFFEAS(C2_full_lut_out, H1_safe_q[24], VCC, , reset, , , , );
--H1_safe_q[23] is lpm_counter0:inst12|lpm_counter:lpm_counter_component|cntr_had:auto_generated|safe_q[23]
--operation mode is arithmetic
H1_safe_q[23]_carry_eqn = H1L46;
H1_safe_q[23]_lut_out = H1_safe_q[23] $ (H1_safe_q[23]_carry_eqn);
H1_safe_q[23] = DFFEAS(H1_safe_q[23]_lut_out, clk, VCC, , , , , , );
--H1L48 is lpm_counter0:inst12|lpm_counter:lpm_counter_component|cntr_had:auto_generated|counter_cella23~COUT
--operation mode is arithmetic
H1L48 = CARRY(!H1L46 # !H1_safe_q[23]);
--H1_safe_q[24] is lpm_counter0:inst12|lpm_counter:lpm_counter_component|cntr_had:auto_generated|safe_q[24]
--operation mode is normal
H1_safe_q[24]_carry_eqn = H1L48;
H1_safe_q[24]_lut_out = H1_safe_q[24] $ (!H1_safe_q[24]_carry_eqn);
H1_safe_q[24] = DFFEAS(H1_safe_q[24]_lut_out, clk, VCC, , , , , , );
--B1_full is subcountor:inst|full
--operation mode is normal
B1_full_lut_out = B1_time[0] & B1_time[3] & !B1_time[1] & !B1_time[2];
B1_full = DFFEAS(B1_full_lut_out, H1_safe_q[23], VCC, , reset, , , , );
--H1_safe_q[4] is lpm_counter0:inst12|lpm_counter:lpm_counter_component|cntr_had:auto_generated|safe_q[4]
--operation mode is arithmetic
H1_safe_q[4]_carry_eqn = H1L8;
H1_safe_q[4]_lut_out = H1_safe_q[4] $ (!H1_safe_q[4]_carry_eqn);
H1_safe_q[4] = DFFEAS(H1_safe_q[4]_lut_out, clk, VCC, , , , , , );
--H1L10 is lpm_counter0:inst12|lpm_counter:lpm_counter_component|cntr_had:auto_generated|counter_cella4~COUT
--operation mode is arithmetic
H1L10 = CARRY(H1_safe_q[4] & (!H1L8));
--H1_safe_q[22] is lpm_counter0:inst12|lpm_counter:lpm_counter_component|cntr_had:auto_generated|safe_q[22]
--operation mode is arithmetic
H1_safe_q[22]_carry_eqn = H1L44;
H1_safe_q[22]_lut_out = H1_safe_q[22] $ (!H1_safe_q[22]_carry_eqn);
H1_safe_q[22] = DFFEAS(H1_safe_q[22]_lut_out, clk, VCC, , , , , , );
--H1L46 is lpm_counter0:inst12|lpm_counter:lpm_counter_component|cntr_had:auto_generated|counter_cella22~COUT
--operation mode is arithmetic
H1L46 = CARRY(H1_safe_q[22] & (!H1L44));
--H1_safe_q[3] is lpm_counter0:inst12|lpm_counter:lpm_counter_component|cntr_had:auto_generated|safe_q[3]
--operation mode is arithmetic
H1_safe_q[3]_carry_eqn = H1L6;
H1_safe_q[3]_lut_out = H1_safe_q[3] $ (H1_safe_q[3]_carry_eqn);
H1_safe_q[3] = DFFEAS(H1_safe_q[3]_lut_out, clk, VCC, , , , , , );
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?