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

📄 cnt60.fit.eqn

📁 60进制加法器 本人自己编的
💻 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.
--C1_q[0] is lpm_counter:BCD1N_rtl_0|alt_counter_f10ke:wysi_counter|q[0] at LC3_J45
--operation mode is clrb_cntr

C1_q[0]_lut_out = (!C1_q[0]) & A1L33;
C1_q[0] = DFFEA(C1_q[0]_lut_out, GLOBAL(CLK), !CLEAR, , , A[0], UNIT);

--C1L11Q is lpm_counter:BCD1N_rtl_0|alt_counter_f10ke:wysi_counter|q[0]~0 at LC3_J45
--operation mode is clrb_cntr

C1L11Q = C1_q[0];

--C1L3 is lpm_counter:BCD1N_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[0]~COUT at LC3_J45
--operation mode is clrb_cntr

C1L3 = CARRY(C1_q[0]);


--C1_q[1] is lpm_counter:BCD1N_rtl_0|alt_counter_f10ke:wysi_counter|q[1] at LC4_J45
--operation mode is clrb_cntr

C1_q[1]_lut_out = (C1_q[1] $ C1L3) & A1L33;
C1_q[1] = DFFEA(C1_q[1]_lut_out, GLOBAL(CLK), !CLEAR, , , A[1], UNIT);

--C1L31Q is lpm_counter:BCD1N_rtl_0|alt_counter_f10ke:wysi_counter|q[1]~1 at LC4_J45
--operation mode is clrb_cntr

C1L31Q = C1_q[1];

--C1L5 is lpm_counter:BCD1N_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[1]~COUT at LC4_J45
--operation mode is clrb_cntr

C1L5 = CARRY(C1_q[1] & (C1L3));


--C1_q[2] is lpm_counter:BCD1N_rtl_0|alt_counter_f10ke:wysi_counter|q[2] at LC5_J45
--operation mode is clrb_cntr

C1_q[2]_lut_out = (C1_q[2] $ C1L5) & A1L33;
C1_q[2] = DFFEA(C1_q[2]_lut_out, GLOBAL(CLK), !CLEAR, , , A[2], UNIT);

--C1L51Q is lpm_counter:BCD1N_rtl_0|alt_counter_f10ke:wysi_counter|q[2]~2 at LC5_J45
--operation mode is clrb_cntr

C1L51Q = C1_q[2];

--C1L7 is lpm_counter:BCD1N_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[2]~COUT at LC5_J45
--operation mode is clrb_cntr

C1L7 = CARRY(C1_q[2] & (C1L5));


--C1_q[3] is lpm_counter:BCD1N_rtl_0|alt_counter_f10ke:wysi_counter|q[3] at LC6_J45
--operation mode is clrb_cntr

C1_q[3]_lut_out = (C1_q[3] $ C1L7) & A1L33;
C1_q[3] = DFFEA(C1_q[3]_lut_out, GLOBAL(CLK), !CLEAR, , , A[3], UNIT);

--C1L71Q is lpm_counter:BCD1N_rtl_0|alt_counter_f10ke:wysi_counter|q[3]~3 at LC6_J45
--operation mode is clrb_cntr

C1L71Q = C1_q[3];


--BCD10N[0] is BCD10N[0] at LC5_J46
--operation mode is normal

BCD10N[0]_lut_out = !BCD10N[0] & (A1L43);
BCD10N[0] = DFFEA(BCD10N[0]_lut_out, GLOBAL(CLK), !CLEAR, , A1L61, A[0], UNIT);

--A1L71Q is BCD10N[0]~107 at LC5_J46
--operation mode is normal

A1L71Q = BCD10N[0];


--BCD10N[1] is BCD10N[1] at LC3_J46
--operation mode is normal

BCD10N[1]_lut_out = A1L32;
BCD10N[1] = DFFEA(BCD10N[1]_lut_out, GLOBAL(CLK), !CLEAR, , A1L61, A[1], UNIT);

--A1L02Q is BCD10N[1]~108 at LC3_J46
--operation mode is normal

A1L02Q = BCD10N[1];


--BCD10N[2] is BCD10N[2] at LC7_J46
--operation mode is normal

BCD10N[2]_lut_out = !A1L42;
BCD10N[2] = DFFEA(BCD10N[2]_lut_out, GLOBAL(CLK), !CLEAR, , A1L61, A[2], UNIT);

--A1L22Q is BCD10N[2]~109 at LC7_J46
--operation mode is normal

A1L22Q = BCD10N[2];


--A1L33 is LessThan~57 at LC1_J45
--operation mode is normal

A1L33 = !C1_q[0] & !C1_q[1] & !C1_q[2] # !C1_q[3];

--A1L53 is LessThan~59 at LC1_J45
--operation mode is normal

A1L53 = !C1_q[0] & !C1_q[1] & !C1_q[2] # !C1_q[3];


--A1L43 is LessThan~58 at LC1_J46
--operation mode is normal

A1L43 = !BCD10N[0] & !BCD10N[1] # !BCD10N[2];

--A1L63 is LessThan~60 at LC1_J46
--operation mode is normal

A1L63 = !BCD10N[0] & !BCD10N[1] # !BCD10N[2];


--A1L32 is BCD10N~100 at LC2_J46
--operation mode is normal

A1L32 = !BCD10N[2] & (BCD10N[0] $ BCD10N[1]);

--A1L52 is BCD10N~110 at LC2_J46
--operation mode is normal

A1L52 = !BCD10N[2] & (BCD10N[0] $ BCD10N[1]);


--A1L42 is BCD10N~101 at LC4_J46
--operation mode is normal

A1L42 = BCD10N[2] & (BCD10N[0] # BCD10N[1]) # !BCD10N[2] & (!BCD10N[1] # !BCD10N[0]);

--A1L62 is BCD10N~111 at LC4_J46
--operation mode is normal

A1L62 = BCD10N[2] & (BCD10N[0] # BCD10N[1]) # !BCD10N[2] & (!BCD10N[1] # !BCD10N[0]);


--A1L61 is BCD10N[0]~104 at LC6_J46
--operation mode is normal

A1L61 = !A1L33;

--A1L81 is BCD10N[0]~112 at LC6_J46
--operation mode is normal

A1L81 = !A1L33;


--CLEAR is CLEAR at PIN_7
--operation mode is input

CLEAR = INPUT();


--UNIT is UNIT at PIN_8
--operation mode is input

UNIT = INPUT();


--CLK is CLK at PIN_184
--operation mode is input

CLK = INPUT();


--A[3] is A[3] at PIN_13
--operation mode is input

A[3] = INPUT();


--A[0] is A[0] at PIN_9
--operation mode is input

A[0] = INPUT();


--A[1] is A[1] at PIN_11
--operation mode is input

A[1] = INPUT();


--A[2] is A[2] at PIN_12
--operation mode is input

A[2] = INPUT();


--BCD1WR[0] is BCD1WR[0] at PIN_30
--operation mode is output

BCD1WR[0] = OUTPUT(C1_q[0]);


--BCD1WR[1] is BCD1WR[1] at PIN_31
--operation mode is output

BCD1WR[1] = OUTPUT(A1L9);


--BCD1WR[2] is BCD1WR[2] at PIN_36
--operation mode is output

BCD1WR[2] = OUTPUT(A1L11);


--BCD1WR[3] is BCD1WR[3] at PIN_37
--operation mode is output

BCD1WR[3] = OUTPUT(A1L31);


--BCD10WR[0] is BCD10WR[0] at PIN_38
--operation mode is output

BCD10WR[0] = OUTPUT(BCD10N[0]);


--BCD10WR[1] is BCD10WR[1] at PIN_39
--operation mode is output

BCD10WR[1] = OUTPUT(BCD10N[1]);


--BCD10WR[2] is BCD10WR[2] at PIN_40
--operation mode is output

BCD10WR[2] = OUTPUT(BCD10N[2]);


--A1L9 is BCD1WR[1]~0 at LC5_J27
--operation mode is normal

A1L9 = C1_q[1];


--A1L11 is BCD1WR[2]~1 at LC8_J45
--operation mode is normal

A1L11 = C1_q[2];


--A1L31 is BCD1WR[3]~2 at LC2_J45
--operation mode is normal

A1L31 = C1_q[3];


⌨️ 快捷键说明

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