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

📄 fengping.fit.eqn

📁 这是一个用VHDL语言写的分频程序,可用得着
💻 EQN
字号:
-- Copyright (C) 1991-2005 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.
--B1_QN[20] is fenping:inst|QN[20] at LC_X4_Y3_N4
--operation mode is arithmetic

B1_QN[20]_carry_eqn = (!B1L54 & B1L65) # (B1L54 & B1L75);
B1_QN[20]_lut_out = B1_QN[20] $ (B1_QN[20]_carry_eqn);
B1_QN[20] = DFFEAS(B1_QN[20]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L95 is fenping:inst|QN[20]~155 at LC_X4_Y3_N4
--operation mode is arithmetic

B1L95 = CARRY(B1_QN[20] # !B1L75);


--C1_QN[2] is fp:inst1|QN[2] at LC_X3_Y4_N0
--operation mode is normal

C1_QN[2]_lut_out = C1_QN[2] $ (C1_QN[0] & !C1_QN[1]);
C1_QN[2] = DFFEAS(C1_QN[2]_lut_out, GLOBAL(B1_QN[20]), !GLOBAL(C1_QN[3]), , , , , , );


--B1_QN[21] is fenping:inst|QN[21] at LC_X4_Y3_N5
--operation mode is normal

B1_QN[21]_carry_eqn = B1L95;
B1_QN[21]_lut_out = B1_QN[21] $ (!B1_QN[21]_carry_eqn);
B1_QN[21] = DFFEAS(B1_QN[21]_lut_out, GLOBAL(GCLK3), VCC, , , ~GND, GLOBAL(B1_QN[21]), , );


--B1_QN[19] is fenping:inst|QN[19] at LC_X4_Y3_N3
--operation mode is arithmetic

B1_QN[19]_carry_eqn = (!B1L54 & B1L35) # (B1L54 & B1L45);
B1_QN[19]_lut_out = B1_QN[19] $ (!B1_QN[19]_carry_eqn);
B1_QN[19] = DFFEAS(B1_QN[19]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L65 is fenping:inst|QN[19]~163 at LC_X4_Y3_N3
--operation mode is arithmetic

B1L65_cout_0 = !B1_QN[19] & (!B1L35);
B1L65 = CARRY(B1L65_cout_0);

--B1L75 is fenping:inst|QN[19]~163COUT1_290 at LC_X4_Y3_N3
--operation mode is arithmetic

B1L75_cout_1 = !B1_QN[19] & (!B1L45);
B1L75 = CARRY(B1L75_cout_1);


--C1_QN[1] is fp:inst1|QN[1] at LC_X3_Y4_N9
--operation mode is normal

C1_QN[1]_lut_out = C1_QN[0] $ (C1_QN[1]);
C1_QN[1] = DFFEAS(C1_QN[1]_lut_out, GLOBAL(B1_QN[20]), !GLOBAL(C1_QN[3]), , , , , , );


--C1_QN[0] is fp:inst1|QN[0] at LC_X3_Y4_N2
--operation mode is normal

C1_QN[0]_lut_out = !C1_QN[0];
C1_QN[0] = DFFEAS(C1_QN[0]_lut_out, GLOBAL(B1_QN[20]), !GLOBAL(C1_QN[3]), , , , , , );


--C1_QN[3] is fp:inst1|QN[3] at LC_X2_Y3_N2
--operation mode is normal

C1_QN[3]_lut_out = !C1_QN[1] & C1_QN[2] & C1_QN[0];
C1_QN[3] = DFFEAS(C1_QN[3]_lut_out, GLOBAL(B1_QN[20]), !GLOBAL(C1_QN[3]), , , , , , );


--B1_QN[18] is fenping:inst|QN[18] at LC_X4_Y3_N2
--operation mode is arithmetic

B1_QN[18]_carry_eqn = (!B1L54 & B1L05) # (B1L54 & B1L15);
B1_QN[18]_lut_out = B1_QN[18] $ B1_QN[18]_carry_eqn;
B1_QN[18] = DFFEAS(B1_QN[18]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L35 is fenping:inst|QN[18]~167 at LC_X4_Y3_N2
--operation mode is arithmetic

B1L35_cout_0 = B1_QN[18] # !B1L05;
B1L35 = CARRY(B1L35_cout_0);

--B1L45 is fenping:inst|QN[18]~167COUT1_288 at LC_X4_Y3_N2
--operation mode is arithmetic

B1L45_cout_1 = B1_QN[18] # !B1L15;
B1L45 = CARRY(B1L45_cout_1);


--B1_QN[17] is fenping:inst|QN[17] at LC_X4_Y3_N1
--operation mode is arithmetic

B1_QN[17]_carry_eqn = (!B1L54 & B1L74) # (B1L54 & B1L84);
B1_QN[17]_lut_out = B1_QN[17] $ !B1_QN[17]_carry_eqn;
B1_QN[17] = DFFEAS(B1_QN[17]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L05 is fenping:inst|QN[17]~171 at LC_X4_Y3_N1
--operation mode is arithmetic

B1L05_cout_0 = !B1_QN[17] & !B1L74;
B1L05 = CARRY(B1L05_cout_0);

--B1L15 is fenping:inst|QN[17]~171COUT1_286 at LC_X4_Y3_N1
--operation mode is arithmetic

B1L15_cout_1 = !B1_QN[17] & !B1L84;
B1L15 = CARRY(B1L15_cout_1);


--B1_QN[16] is fenping:inst|QN[16] at LC_X4_Y3_N0
--operation mode is arithmetic

B1_QN[16]_carry_eqn = B1L54;
B1_QN[16]_lut_out = B1_QN[16] $ B1_QN[16]_carry_eqn;
B1_QN[16] = DFFEAS(B1_QN[16]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L74 is fenping:inst|QN[16]~175 at LC_X4_Y3_N0
--operation mode is arithmetic

B1L74_cout_0 = B1_QN[16] # !B1L54;
B1L74 = CARRY(B1L74_cout_0);

--B1L84 is fenping:inst|QN[16]~175COUT1_284 at LC_X4_Y3_N0
--operation mode is arithmetic

B1L84_cout_1 = B1_QN[16] # !B1L54;
B1L84 = CARRY(B1L84_cout_1);


--B1_QN[15] is fenping:inst|QN[15] at LC_X3_Y3_N9
--operation mode is arithmetic

B1_QN[15]_carry_eqn = (!B1L13 & B1L24) # (B1L13 & B1L34);
B1_QN[15]_lut_out = B1_QN[15] $ !B1_QN[15]_carry_eqn;
B1_QN[15] = DFFEAS(B1_QN[15]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L54 is fenping:inst|QN[15]~179 at LC_X3_Y3_N9
--operation mode is arithmetic

B1L54 = CARRY(!B1_QN[15] & !B1L34);


--B1_QN[14] is fenping:inst|QN[14] at LC_X3_Y3_N8
--operation mode is arithmetic

B1_QN[14]_carry_eqn = (!B1L13 & B1L93) # (B1L13 & B1L04);
B1_QN[14]_lut_out = B1_QN[14] $ (B1_QN[14]_carry_eqn);
B1_QN[14] = DFFEAS(B1_QN[14]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L24 is fenping:inst|QN[14]~183 at LC_X3_Y3_N8
--operation mode is arithmetic

B1L24_cout_0 = B1_QN[14] # !B1L93;
B1L24 = CARRY(B1L24_cout_0);

--B1L34 is fenping:inst|QN[14]~183COUT1_282 at LC_X3_Y3_N8
--operation mode is arithmetic

B1L34_cout_1 = B1_QN[14] # !B1L04;
B1L34 = CARRY(B1L34_cout_1);


--B1_QN[13] is fenping:inst|QN[13] at LC_X3_Y3_N7
--operation mode is arithmetic

B1_QN[13]_carry_eqn = (!B1L13 & B1L63) # (B1L13 & B1L73);
B1_QN[13]_lut_out = B1_QN[13] $ !B1_QN[13]_carry_eqn;
B1_QN[13] = DFFEAS(B1_QN[13]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L93 is fenping:inst|QN[13]~187 at LC_X3_Y3_N7
--operation mode is arithmetic

B1L93_cout_0 = !B1_QN[13] & !B1L63;
B1L93 = CARRY(B1L93_cout_0);

--B1L04 is fenping:inst|QN[13]~187COUT1_280 at LC_X3_Y3_N7
--operation mode is arithmetic

B1L04_cout_1 = !B1_QN[13] & !B1L73;
B1L04 = CARRY(B1L04_cout_1);


--B1_QN[12] is fenping:inst|QN[12] at LC_X3_Y3_N6
--operation mode is arithmetic

B1_QN[12]_carry_eqn = (!B1L13 & B1L33) # (B1L13 & B1L43);
B1_QN[12]_lut_out = B1_QN[12] $ (B1_QN[12]_carry_eqn);
B1_QN[12] = DFFEAS(B1_QN[12]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L63 is fenping:inst|QN[12]~191 at LC_X3_Y3_N6
--operation mode is arithmetic

B1L63_cout_0 = B1_QN[12] # !B1L33;
B1L63 = CARRY(B1L63_cout_0);

--B1L73 is fenping:inst|QN[12]~191COUT1_278 at LC_X3_Y3_N6
--operation mode is arithmetic

B1L73_cout_1 = B1_QN[12] # !B1L43;
B1L73 = CARRY(B1L73_cout_1);


--B1_QN[11] is fenping:inst|QN[11] at LC_X3_Y3_N5
--operation mode is arithmetic

B1_QN[11]_carry_eqn = B1L13;
B1_QN[11]_lut_out = B1_QN[11] $ (!B1_QN[11]_carry_eqn);
B1_QN[11] = DFFEAS(B1_QN[11]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L33 is fenping:inst|QN[11]~195 at LC_X3_Y3_N5
--operation mode is arithmetic

B1L33_cout_0 = !B1_QN[11] & (!B1L13);
B1L33 = CARRY(B1L33_cout_0);

--B1L43 is fenping:inst|QN[11]~195COUT1_276 at LC_X3_Y3_N5
--operation mode is arithmetic

B1L43_cout_1 = !B1_QN[11] & (!B1L13);
B1L43 = CARRY(B1L43_cout_1);


--B1_QN[10] is fenping:inst|QN[10] at LC_X3_Y3_N4
--operation mode is arithmetic

B1_QN[10]_carry_eqn = (!B1L71 & B1L82) # (B1L71 & B1L92);
B1_QN[10]_lut_out = B1_QN[10] $ (B1_QN[10]_carry_eqn);
B1_QN[10] = DFFEAS(B1_QN[10]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L13 is fenping:inst|QN[10]~199 at LC_X3_Y3_N4
--operation mode is arithmetic

B1L13 = CARRY(B1_QN[10] # !B1L92);


--B1_QN[9] is fenping:inst|QN[9] at LC_X3_Y3_N3
--operation mode is arithmetic

B1_QN[9]_carry_eqn = (!B1L71 & B1L52) # (B1L71 & B1L62);
B1_QN[9]_lut_out = B1_QN[9] $ (!B1_QN[9]_carry_eqn);
B1_QN[9] = DFFEAS(B1_QN[9]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L82 is fenping:inst|QN[9]~203 at LC_X3_Y3_N3
--operation mode is arithmetic

B1L82_cout_0 = !B1_QN[9] & (!B1L52);
B1L82 = CARRY(B1L82_cout_0);

--B1L92 is fenping:inst|QN[9]~203COUT1_274 at LC_X3_Y3_N3
--operation mode is arithmetic

B1L92_cout_1 = !B1_QN[9] & (!B1L62);
B1L92 = CARRY(B1L92_cout_1);


--B1_QN[8] is fenping:inst|QN[8] at LC_X3_Y3_N2
--operation mode is arithmetic

B1_QN[8]_carry_eqn = (!B1L71 & B1L22) # (B1L71 & B1L32);
B1_QN[8]_lut_out = B1_QN[8] $ B1_QN[8]_carry_eqn;
B1_QN[8] = DFFEAS(B1_QN[8]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L52 is fenping:inst|QN[8]~207 at LC_X3_Y3_N2
--operation mode is arithmetic

B1L52_cout_0 = B1_QN[8] # !B1L22;
B1L52 = CARRY(B1L52_cout_0);

--B1L62 is fenping:inst|QN[8]~207COUT1_272 at LC_X3_Y3_N2
--operation mode is arithmetic

B1L62_cout_1 = B1_QN[8] # !B1L32;
B1L62 = CARRY(B1L62_cout_1);


--B1_QN[7] is fenping:inst|QN[7] at LC_X3_Y3_N1
--operation mode is arithmetic

B1_QN[7]_carry_eqn = (!B1L71 & B1L91) # (B1L71 & B1L02);
B1_QN[7]_lut_out = B1_QN[7] $ !B1_QN[7]_carry_eqn;
B1_QN[7] = DFFEAS(B1_QN[7]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L22 is fenping:inst|QN[7]~211 at LC_X3_Y3_N1
--operation mode is arithmetic

B1L22_cout_0 = !B1_QN[7] & !B1L91;
B1L22 = CARRY(B1L22_cout_0);

--B1L32 is fenping:inst|QN[7]~211COUT1_270 at LC_X3_Y3_N1
--operation mode is arithmetic

B1L32_cout_1 = !B1_QN[7] & !B1L02;
B1L32 = CARRY(B1L32_cout_1);


--B1_QN[6] is fenping:inst|QN[6] at LC_X3_Y3_N0
--operation mode is arithmetic

B1_QN[6]_carry_eqn = B1L71;
B1_QN[6]_lut_out = B1_QN[6] $ B1_QN[6]_carry_eqn;
B1_QN[6] = DFFEAS(B1_QN[6]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L91 is fenping:inst|QN[6]~215 at LC_X3_Y3_N0
--operation mode is arithmetic

B1L91_cout_0 = B1_QN[6] # !B1L71;
B1L91 = CARRY(B1L91_cout_0);

--B1L02 is fenping:inst|QN[6]~215COUT1_268 at LC_X3_Y3_N0
--operation mode is arithmetic

B1L02_cout_1 = B1_QN[6] # !B1L71;
B1L02 = CARRY(B1L02_cout_1);


--B1_QN[5] is fenping:inst|QN[5] at LC_X2_Y3_N9
--operation mode is arithmetic

B1_QN[5]_carry_eqn = (!B1L3 & B1L41) # (B1L3 & B1L51);
B1_QN[5]_lut_out = B1_QN[5] $ !B1_QN[5]_carry_eqn;
B1_QN[5] = DFFEAS(B1_QN[5]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L71 is fenping:inst|QN[5]~219 at LC_X2_Y3_N9
--operation mode is arithmetic

B1L71 = CARRY(!B1_QN[5] & !B1L51);


--B1_QN[4] is fenping:inst|QN[4] at LC_X2_Y3_N8
--operation mode is arithmetic

B1_QN[4]_carry_eqn = (!B1L3 & B1L11) # (B1L3 & B1L21);
B1_QN[4]_lut_out = B1_QN[4] $ (B1_QN[4]_carry_eqn);
B1_QN[4] = DFFEAS(B1_QN[4]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L41 is fenping:inst|QN[4]~223 at LC_X2_Y3_N8
--operation mode is arithmetic

B1L41_cout_0 = B1_QN[4] # !B1L11;
B1L41 = CARRY(B1L41_cout_0);

--B1L51 is fenping:inst|QN[4]~223COUT1_266 at LC_X2_Y3_N8
--operation mode is arithmetic

B1L51_cout_1 = B1_QN[4] # !B1L21;
B1L51 = CARRY(B1L51_cout_1);


--B1_QN[3] is fenping:inst|QN[3] at LC_X2_Y3_N7
--operation mode is arithmetic

B1_QN[3]_carry_eqn = (!B1L3 & B1L8) # (B1L3 & B1L9);
B1_QN[3]_lut_out = B1_QN[3] $ !B1_QN[3]_carry_eqn;
B1_QN[3] = DFFEAS(B1_QN[3]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L11 is fenping:inst|QN[3]~227 at LC_X2_Y3_N7
--operation mode is arithmetic

B1L11_cout_0 = !B1_QN[3] & !B1L8;
B1L11 = CARRY(B1L11_cout_0);

--B1L21 is fenping:inst|QN[3]~227COUT1_264 at LC_X2_Y3_N7
--operation mode is arithmetic

B1L21_cout_1 = !B1_QN[3] & !B1L9;
B1L21 = CARRY(B1L21_cout_1);


--B1_QN[2] is fenping:inst|QN[2] at LC_X2_Y3_N6
--operation mode is arithmetic

B1_QN[2]_carry_eqn = (!B1L3 & B1L5) # (B1L3 & B1L6);
B1_QN[2]_lut_out = B1_QN[2] $ (B1_QN[2]_carry_eqn);
B1_QN[2] = DFFEAS(B1_QN[2]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L8 is fenping:inst|QN[2]~231 at LC_X2_Y3_N6
--operation mode is arithmetic

B1L8_cout_0 = B1_QN[2] # !B1L5;
B1L8 = CARRY(B1L8_cout_0);

--B1L9 is fenping:inst|QN[2]~231COUT1_262 at LC_X2_Y3_N6
--operation mode is arithmetic

B1L9_cout_1 = B1_QN[2] # !B1L6;
B1L9 = CARRY(B1L9_cout_1);


--B1_QN[1] is fenping:inst|QN[1] at LC_X2_Y3_N5
--operation mode is arithmetic

B1_QN[1]_carry_eqn = B1L3;
B1_QN[1]_lut_out = B1_QN[1] $ (!B1_QN[1]_carry_eqn);
B1_QN[1] = DFFEAS(B1_QN[1]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L5 is fenping:inst|QN[1]~235 at LC_X2_Y3_N5
--operation mode is arithmetic

B1L5_cout_0 = !B1_QN[1] & (!B1L3);
B1L5 = CARRY(B1L5_cout_0);

--B1L6 is fenping:inst|QN[1]~235COUT1_260 at LC_X2_Y3_N5
--operation mode is arithmetic

B1L6_cout_1 = !B1_QN[1] & (!B1L3);
B1L6 = CARRY(B1L6_cout_1);


--B1_QN[0] is fenping:inst|QN[0] at LC_X2_Y3_N4
--operation mode is arithmetic

B1_QN[0]_lut_out = !B1_QN[0];
B1_QN[0] = DFFEAS(B1_QN[0]_lut_out, GLOBAL(GCLK3), VCC, , , VCC, GLOBAL(B1_QN[21]), , );

--B1L3 is fenping:inst|QN[0]~239 at LC_X2_Y3_N4
--operation mode is arithmetic

B1L3 = CARRY(B1_QN[0]);


--~GND is ~GND at LC_X4_Y3_N6
--operation mode is normal

~GND = GND;


--GCLK3 is GCLK3 at PIN_64
--operation mode is input

GCLK3 = INPUT();


--LED0 is LED0 at PIN_92
--operation mode is output

LED0 = OUTPUT(B1_QN[20]);


--LED3 is LED3 at PIN_97
--operation mode is output

LED3 = OUTPUT(!C1_QN[2]);


--LED2 is LED2 at PIN_96
--operation mode is output

LED2 = OUTPUT(B1_QN[20]);


⌨️ 快捷键说明

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