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

📄 jsai.map.eqn

📁 基于北京革新公司出品的EDA实验工具箱的LED扫描显示程序。能够显示8位数字。编译环境为quartusll.5.1版本。fpga芯片为EP18CQ240C6
💻 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.
--count[1] is count[1]
--operation mode is normal

count[1]_lut_out = count[1] $ count[0];
count[1] = DFFEAS(count[1]_lut_out, q1, VCC, , , , , , );


--count[2] is count[2]
--operation mode is normal

count[2]_lut_out = count[2] $ (count[1] & count[0]);
count[2] = DFFEAS(count[2]_lut_out, q1, VCC, , , , , , );


--count[0] is count[0]
--operation mode is normal

count[0]_lut_out = !count[0];
count[0] = DFFEAS(count[0]_lut_out, q1, VCC, , , , , , );


--A1L29 is Mux~441
--operation mode is normal

A1L29 = count[1] # count[2] $ !count[0];


--A1L30 is Mux~442
--operation mode is normal

A1L30 = count[1] $ !count[0] # !count[2];


--A1L31 is Mux~443
--operation mode is normal

A1L31 = count[1] & (!count[2] & !count[0]);


--A1L32 is Mux~444
--operation mode is normal

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


--A1L33 is Mux~445
--operation mode is normal

A1L33 = count[0] # count[2] & (!count[1]);


--A1L34 is Mux~446
--operation mode is normal

A1L34 = count[1] & (count[0] # !count[2]) # !count[1] & count[0] & (!count[2]);


--A1L35 is Mux~447
--operation mode is normal

A1L35 = count[1] & (!count[0] # !count[2]) # !count[1] & count[2];


--A1L36 is Mux~448
--operation mode is normal

A1L36 = !count[1] & !count[2] & !count[0];


--A1L37 is Mux~449
--operation mode is normal

A1L37 = count[0] & (!count[1] & !count[2]);


--A1L38 is Mux~450
--operation mode is normal

A1L38 = count[1] & count[0] & (!count[2]);


--A1L39 is Mux~451
--operation mode is normal

A1L39 = count[2] & (!count[1] & !count[0]);


--A1L40 is Mux~452
--operation mode is normal

A1L40 = count[2] & count[0] & (!count[1]);


--A1L41 is Mux~453
--operation mode is normal

A1L41 = count[1] & count[2] & (!count[0]);


--A1L42 is Mux~454
--operation mode is normal

A1L42 = count[1] & count[2] & count[0];


--q1 is q1
--operation mode is normal

q1_lut_out = A1L45;
q1 = DFFEAS(q1_lut_out, SysClk, VCC, , , , , , );


--fcount[7] is fcount[7]
--operation mode is normal

fcount[7]_lut_out = A1L1;
fcount[7] = DFFEAS(fcount[7]_lut_out, SysClk, VCC, , , , , , );


--fcount[6] is fcount[6]
--operation mode is normal

fcount[6]_lut_out = A1L2;
fcount[6] = DFFEAS(fcount[6]_lut_out, SysClk, VCC, , , , , , );


--A1L46 is rtl~47
--operation mode is normal

A1L46 = !fcount[7] & !fcount[6];


--fcount[3] is fcount[3]
--operation mode is normal

fcount[3]_lut_out = A1L4;
fcount[3] = DFFEAS(fcount[3]_lut_out, SysClk, VCC, , , , , , );


--fcount[2] is fcount[2]
--operation mode is normal

fcount[2]_lut_out = A1L6;
fcount[2] = DFFEAS(fcount[2]_lut_out, SysClk, VCC, , , , , , );


--fcount[1] is fcount[1]
--operation mode is normal

fcount[1]_lut_out = A1L8;
fcount[1] = DFFEAS(fcount[1]_lut_out, SysClk, VCC, , , , , , );


--fcount[0] is fcount[0]
--operation mode is normal

fcount[0]_lut_out = A1L10;
fcount[0] = DFFEAS(fcount[0]_lut_out, SysClk, VCC, , , , , , );


--A1L47 is rtl~48
--operation mode is normal

A1L47 = fcount[3] & fcount[2] & fcount[1] & fcount[0];


--fcount[5] is fcount[5]
--operation mode is normal

fcount[5]_lut_out = A1L12;
fcount[5] = DFFEAS(fcount[5]_lut_out, SysClk, VCC, , , , , , );


--fcount[4] is fcount[4]
--operation mode is normal

fcount[4]_lut_out = A1L14 $ A1L45;
fcount[4] = DFFEAS(fcount[4]_lut_out, SysClk, VCC, , , , , , );


--A1L45 is rtl~0
--operation mode is normal

A1L45 = A1L46 & A1L47 & !fcount[5] & !fcount[4];


--A1L1 is add~152
--operation mode is normal

A1L1_carry_eqn = A1L3;
A1L1 = fcount[7] $ (A1L1_carry_eqn);


--A1L2 is add~157
--operation mode is arithmetic

A1L2_carry_eqn = A1L13;
A1L2 = fcount[6] $ (!A1L2_carry_eqn);

--A1L3 is add~159
--operation mode is arithmetic

A1L3 = CARRY(fcount[6] & (!A1L13));


--A1L4 is add~162
--operation mode is arithmetic

A1L4_carry_eqn = A1L7;
A1L4 = fcount[3] $ (A1L4_carry_eqn);

--A1L5 is add~164
--operation mode is arithmetic

A1L5 = CARRY(!A1L7 # !fcount[3]);


--A1L6 is add~167
--operation mode is arithmetic

A1L6_carry_eqn = A1L9;
A1L6 = fcount[2] $ (!A1L6_carry_eqn);

--A1L7 is add~169
--operation mode is arithmetic

A1L7 = CARRY(fcount[2] & (!A1L9));


--A1L8 is add~172
--operation mode is arithmetic

A1L8_carry_eqn = A1L11;
A1L8 = fcount[1] $ (A1L8_carry_eqn);

--A1L9 is add~174
--operation mode is arithmetic

A1L9 = CARRY(!A1L11 # !fcount[1]);


--A1L10 is add~177
--operation mode is arithmetic

A1L10 = !fcount[0];

--A1L11 is add~179
--operation mode is arithmetic

A1L11 = CARRY(fcount[0]);


--A1L12 is add~182
--operation mode is arithmetic

A1L12_carry_eqn = A1L15;
A1L12 = fcount[5] $ (A1L12_carry_eqn);

--A1L13 is add~184
--operation mode is arithmetic

A1L13 = CARRY(!A1L15 # !fcount[5]);


--A1L14 is add~187
--operation mode is arithmetic

A1L14_carry_eqn = A1L5;
A1L14 = fcount[4] $ (!A1L14_carry_eqn);

--A1L15 is add~189
--operation mode is arithmetic

A1L15 = CARRY(fcount[4] & (!A1L5));


--SysClk is SysClk
--operation mode is input

SysClk = INPUT();


--SEG7[0] is SEG7[0]
--operation mode is output

SEG7[0] = OUTPUT(A1L29);


--SEG7[1] is SEG7[1]
--operation mode is output

SEG7[1] = OUTPUT(A1L30);


--SEG7[2] is SEG7[2]
--operation mode is output

SEG7[2] = OUTPUT(!A1L31);


--SEG7[3] is SEG7[3]
--operation mode is output

SEG7[3] = OUTPUT(!A1L32);


--SEG7[4] is SEG7[4]
--operation mode is output

SEG7[4] = OUTPUT(!A1L33);


--SEG7[5] is SEG7[5]
--operation mode is output

SEG7[5] = OUTPUT(!A1L34);


--SEG7[6] is SEG7[6]
--operation mode is output

SEG7[6] = OUTPUT(A1L35);


--SEG7[7] is SEG7[7]
--operation mode is output

SEG7[7] = OUTPUT(GND);


--SCAN[0] is SCAN[0]
--operation mode is output

SCAN[0] = OUTPUT(A1L36);


--SCAN[1] is SCAN[1]
--operation mode is output

SCAN[1] = OUTPUT(A1L37);


--SCAN[2] is SCAN[2]
--operation mode is output

SCAN[2] = OUTPUT(A1L31);


--SCAN[3] is SCAN[3]
--operation mode is output

SCAN[3] = OUTPUT(A1L38);


--SCAN[4] is SCAN[4]
--operation mode is output

SCAN[4] = OUTPUT(A1L39);


--SCAN[5] is SCAN[5]
--operation mode is output

SCAN[5] = OUTPUT(A1L40);


--SCAN[6] is SCAN[6]
--operation mode is output

SCAN[6] = OUTPUT(A1L41);


--SCAN[7] is SCAN[7]
--operation mode is output

SCAN[7] = OUTPUT(A1L42);


--q is q
--operation mode is output

q = OUTPUT(q1);


⌨️ 快捷键说明

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