📄 we.fit.eqn
字号:
-- 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.
--G1_q_a[3] is lpm_rom0:inst|altsyncram:altsyncram_component|altsyncram_f431:auto_generated|q_a[3] at M4K_X37_Y23
--RAM Block Operation Mode: ROM
--Port A Depth: 256, Port A Width: 4
--Port A Logical Depth: 256, Port A Logical Width: 4
--Port A Input: Registered, Port A Output: Registered
G1_q_a[3]_PORT_A_address = BUS(E1_Counter[0], E1_Counter[1], E1_Counter[2], E1_Counter[3], E1_Counter[4], E1_Counter[5], E1_Counter[6], E1_Counter[7]);
G1_q_a[3]_PORT_A_address_reg = DFFE(G1_q_a[3]_PORT_A_address, G1_q_a[3]_clock_0, , , );
G1_q_a[3]_clock_0 = GLOBAL(CLK8Hz);
G1_q_a[3]_PORT_A_data_out = MEMORY(, , G1_q_a[3]_PORT_A_address_reg, , , , , , G1_q_a[3]_clock_0, , , , , );
G1_q_a[3]_PORT_A_data_out_reg = DFFE(G1_q_a[3]_PORT_A_data_out, G1_q_a[3]_clock_0, , , );
G1_q_a[3] = G1_q_a[3]_PORT_A_data_out_reg[0];
--G1_q_a[2] is lpm_rom0:inst|altsyncram:altsyncram_component|altsyncram_f431:auto_generated|q_a[2] at M4K_X37_Y23
G1_q_a[3]_PORT_A_address = BUS(E1_Counter[0], E1_Counter[1], E1_Counter[2], E1_Counter[3], E1_Counter[4], E1_Counter[5], E1_Counter[6], E1_Counter[7]);
G1_q_a[3]_PORT_A_address_reg = DFFE(G1_q_a[3]_PORT_A_address, G1_q_a[3]_clock_0, , , );
G1_q_a[3]_clock_0 = GLOBAL(CLK8Hz);
G1_q_a[3]_PORT_A_data_out = MEMORY(, , G1_q_a[3]_PORT_A_address_reg, , , , , , G1_q_a[3]_clock_0, , , , , );
G1_q_a[3]_PORT_A_data_out_reg = DFFE(G1_q_a[3]_PORT_A_data_out, G1_q_a[3]_clock_0, , , );
G1_q_a[2] = G1_q_a[3]_PORT_A_data_out_reg[3];
--G1_q_a[1] is lpm_rom0:inst|altsyncram:altsyncram_component|altsyncram_f431:auto_generated|q_a[1] at M4K_X37_Y23
G1_q_a[3]_PORT_A_address = BUS(E1_Counter[0], E1_Counter[1], E1_Counter[2], E1_Counter[3], E1_Counter[4], E1_Counter[5], E1_Counter[6], E1_Counter[7]);
G1_q_a[3]_PORT_A_address_reg = DFFE(G1_q_a[3]_PORT_A_address, G1_q_a[3]_clock_0, , , );
G1_q_a[3]_clock_0 = GLOBAL(CLK8Hz);
G1_q_a[3]_PORT_A_data_out = MEMORY(, , G1_q_a[3]_PORT_A_address_reg, , , , , , G1_q_a[3]_clock_0, , , , , );
G1_q_a[3]_PORT_A_data_out_reg = DFFE(G1_q_a[3]_PORT_A_data_out, G1_q_a[3]_clock_0, , , );
G1_q_a[1] = G1_q_a[3]_PORT_A_data_out_reg[2];
--G1_q_a[0] is lpm_rom0:inst|altsyncram:altsyncram_component|altsyncram_f431:auto_generated|q_a[0] at M4K_X37_Y23
G1_q_a[3]_PORT_A_address = BUS(E1_Counter[0], E1_Counter[1], E1_Counter[2], E1_Counter[3], E1_Counter[4], E1_Counter[5], E1_Counter[6], E1_Counter[7]);
G1_q_a[3]_PORT_A_address_reg = DFFE(G1_q_a[3]_PORT_A_address, G1_q_a[3]_clock_0, , , );
G1_q_a[3]_clock_0 = GLOBAL(CLK8Hz);
G1_q_a[3]_PORT_A_data_out = MEMORY(, , G1_q_a[3]_PORT_A_address_reg, , , , , , G1_q_a[3]_clock_0, , , , , );
G1_q_a[3]_PORT_A_data_out_reg = DFFE(G1_q_a[3]_PORT_A_data_out, G1_q_a[3]_clock_0, , , );
G1_q_a[0] = G1_q_a[3]_PORT_A_data_out_reg[1];
--D1L9 is TONETABA:inst2|Mux4~31 at LC_X39_Y23_N4
--operation mode is normal
D1L9 = G1_q_a[2] & !G1_q_a[0] & (G1_q_a[1] $ !G1_q_a[3]) # !G1_q_a[2] & G1_q_a[1] & G1_q_a[0] & G1_q_a[3];
--D1L8 is TONETABA:inst2|Mux3~21 at LC_X39_Y23_N8
--operation mode is normal
D1L8 = G1_q_a[3] & G1_q_a[1] # !G1_q_a[2];
--D1L7 is TONETABA:inst2|Mux2~33 at LC_X39_Y23_N5
--operation mode is normal
D1L7 = G1_q_a[1] $ (G1_q_a[3] & G1_q_a[0]);
--D1L6 is TONETABA:inst2|Mux1~79 at LC_X39_Y23_N2
--operation mode is normal
D1L6 = G1_q_a[3] & (G1_q_a[1] # !G1_q_a[0]) # !G1_q_a[3] & (G1_q_a[0]);
--E1_Counter[0] is NoteTabs:inst3|Counter[0] at LC_X36_Y23_N8
--operation mode is normal
E1_Counter[0]_lut_out = !E1_Counter[0];
E1_Counter[0] = DFFEAS(E1_Counter[0]_lut_out, GLOBAL(CLK8Hz), !GLOBAL(E1L25), , , , , , );
--E1_Counter[1] is NoteTabs:inst3|Counter[1] at LC_X36_Y23_N1
--operation mode is arithmetic
E1_Counter[1]_lut_out = E1_Counter[0] $ E1_Counter[1];
E1_Counter[1] = DFFEAS(E1_Counter[1]_lut_out, GLOBAL(CLK8Hz), !GLOBAL(E1L25), , , , , , );
--E1L4 is NoteTabs:inst3|Counter[1]~30 at LC_X36_Y23_N1
--operation mode is arithmetic
E1L4_cout_0 = E1_Counter[0] & E1_Counter[1];
E1L4 = CARRY(E1L4_cout_0);
--E1L5 is NoteTabs:inst3|Counter[1]~30COUT1_39 at LC_X36_Y23_N1
--operation mode is arithmetic
E1L5_cout_1 = E1_Counter[0] & E1_Counter[1];
E1L5 = CARRY(E1L5_cout_1);
--E1_Counter[2] is NoteTabs:inst3|Counter[2] at LC_X36_Y23_N2
--operation mode is arithmetic
E1_Counter[2]_lut_out = E1_Counter[2] $ (E1L4);
E1_Counter[2] = DFFEAS(E1_Counter[2]_lut_out, GLOBAL(CLK8Hz), !GLOBAL(E1L25), , , , , , );
--E1L7 is NoteTabs:inst3|Counter[2]~31 at LC_X36_Y23_N2
--operation mode is arithmetic
E1L7_cout_0 = !E1L4 # !E1_Counter[2];
E1L7 = CARRY(E1L7_cout_0);
--E1L8 is NoteTabs:inst3|Counter[2]~31COUT1_40 at LC_X36_Y23_N2
--operation mode is arithmetic
E1L8_cout_1 = !E1L5 # !E1_Counter[2];
E1L8 = CARRY(E1L8_cout_1);
--E1_Counter[3] is NoteTabs:inst3|Counter[3] at LC_X36_Y23_N3
--operation mode is arithmetic
E1_Counter[3]_lut_out = E1_Counter[3] $ (!E1L7);
E1_Counter[3] = DFFEAS(E1_Counter[3]_lut_out, GLOBAL(CLK8Hz), !GLOBAL(E1L25), , , , , , );
--E1L10 is NoteTabs:inst3|Counter[3]~32 at LC_X36_Y23_N3
--operation mode is arithmetic
E1L10_cout_0 = E1_Counter[3] & (!E1L7);
E1L10 = CARRY(E1L10_cout_0);
--E1L11 is NoteTabs:inst3|Counter[3]~32COUT1 at LC_X36_Y23_N3
--operation mode is arithmetic
E1L11_cout_1 = E1_Counter[3] & (!E1L8);
E1L11 = CARRY(E1L11_cout_1);
--E1_Counter[4] is NoteTabs:inst3|Counter[4] at LC_X36_Y23_N4
--operation mode is arithmetic
E1_Counter[4]_lut_out = E1_Counter[4] $ (E1L10);
E1_Counter[4] = DFFEAS(E1_Counter[4]_lut_out, GLOBAL(CLK8Hz), !GLOBAL(E1L25), , , , , , );
--E1L13 is NoteTabs:inst3|Counter[4]~33 at LC_X36_Y23_N4
--operation mode is arithmetic
E1L13 = E1L14;
--E1_Counter[5] is NoteTabs:inst3|Counter[5] at LC_X36_Y23_N5
--operation mode is arithmetic
E1_Counter[5]_carry_eqn = (!E1L13 & GND) # (E1L13 & VCC);
E1_Counter[5]_lut_out = E1_Counter[5] $ !E1_Counter[5]_carry_eqn;
E1_Counter[5] = DFFEAS(E1_Counter[5]_lut_out, GLOBAL(CLK8Hz), !GLOBAL(E1L25), , , , , , );
--E1L17 is NoteTabs:inst3|Counter[5]~34 at LC_X36_Y23_N5
--operation mode is arithmetic
E1L17_cout_0 = E1_Counter[5] & !E1L13;
E1L17 = CARRY(E1L17_cout_0);
--E1L18 is NoteTabs:inst3|Counter[5]~34COUT1_41 at LC_X36_Y23_N5
--operation mode is arithmetic
E1L18_cout_1 = E1_Counter[5] & !E1L13;
E1L18 = CARRY(E1L18_cout_1);
--E1_Counter[6] is NoteTabs:inst3|Counter[6] at LC_X36_Y23_N6
--operation mode is arithmetic
E1_Counter[6]_carry_eqn = (!E1L13 & E1L17) # (E1L13 & E1L18);
E1_Counter[6]_lut_out = E1_Counter[6] $ E1_Counter[6]_carry_eqn;
E1_Counter[6] = DFFEAS(E1_Counter[6]_lut_out, GLOBAL(CLK8Hz), !GLOBAL(E1L25), , , , , , );
--E1L20 is NoteTabs:inst3|Counter[6]~35 at LC_X36_Y23_N6
--operation mode is arithmetic
E1L20_cout_0 = !E1L17 # !E1_Counter[6];
E1L20 = CARRY(E1L20_cout_0);
--E1L21 is NoteTabs:inst3|Counter[6]~35COUT1_42 at LC_X36_Y23_N6
--operation mode is arithmetic
E1L21_cout_1 = !E1L18 # !E1_Counter[6];
E1L21 = CARRY(E1L21_cout_1);
--E1_Counter[7] is NoteTabs:inst3|Counter[7] at LC_X36_Y23_N7
--operation mode is normal
E1_Counter[7]_carry_eqn = (!E1L13 & E1L20) # (E1L13 & E1L21);
E1_Counter[7]_lut_out = E1_Counter[7] $ (!E1_Counter[7]_carry_eqn);
E1_Counter[7] = DFFEAS(E1_Counter[7]_lut_out, GLOBAL(CLK8Hz), !GLOBAL(E1L25), , , , , , );
--E1L23 is NoteTabs:inst3|Equal0~66 at LC_X35_Y23_N2
--operation mode is normal
E1L23 = E1_Counter[1] & (!E1_Counter[0]);
--E1L24 is NoteTabs:inst3|Equal0~67 at LC_X36_Y23_N0
--operation mode is normal
E1L24 = !E1_Counter[4] & !E1_Counter[5] & E1_Counter[7] & !E1_Counter[6];
--E1L25 is NoteTabs:inst3|Equal0~68 at LC_X36_Y23_N9
--operation mode is normal
E1L25 = !E1_Counter[2] & E1L23 & E1_Counter[3] & E1L24;
--D1_HIGH is TONETABA:inst2|HIGH at LC_X39_Y23_N1
--operation mode is normal
D1_HIGH = GLOBAL(D1L9) & (D1_HIGH) # !GLOBAL(D1L9) & G1_q_a[3];
--D1_CODE[2] is TONETABA:inst2|CODE[2] at LC_X39_Y23_N3
--operation mode is normal
D1_CODE[2] = GLOBAL(D1L9) & (D1_CODE[2]) # !GLOBAL(D1L9) & !D1L8;
--D1_CODE[1] is TONETABA:inst2|CODE[1] at LC_X39_Y23_N9
--operation mode is normal
D1_CODE[1] = GLOBAL(D1L9) & D1_CODE[1] # !GLOBAL(D1L9) & (D1L7);
--D1_CODE[0] is TONETABA:inst2|CODE[0] at LC_X39_Y23_N6
--operation mode is normal
D1_CODE[0] = GLOBAL(D1L9) & (D1_CODE[0]) # !GLOBAL(D1L9) & D1L6;
--CLK12M is CLK12M at PIN_Y17
--operation mode is input
CLK12M = INPUT();
--CLK8Hz is CLK8Hz at PIN_M20
--operation mode is input
CLK8Hz = INPUT();
--HIGN is HIGN at PIN_T8
--operation mode is output
HIGN = OUTPUT(D1_HIGH);
--SPKS is SPKS at PIN_AB5
--operation mode is output
SPKS = OUTPUT(A1L11);
--CODE[3] is CODE[3] at PIN_AA5
--operation mode is output
CODE[3] = OUTPUT(A1L11);
--CODE[2] is CODE[2] at PIN_U9
--operation mode is output
CODE[2] = OUTPUT(D1_CODE[2]);
--CODE[1] is CODE[1] at PIN_F2
--operation mode is output
CODE[1] = OUTPUT(D1_CODE[1]);
--CODE[0] is CODE[0] at PIN_F1
--operation mode is output
CODE[0] = OUTPUT(D1_CODE[0]);
--A1L11 is ~STRATIX_FITTER_CREATED_GND~I at LC_X48_Y1_N2
--operation mode is normal
A1L11 = GND;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -