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

📄 encode.fit.eqn

📁 FPGA 开发板源码。芯片为Mars EP1C6F.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.
--A1L19 is c_tmp~363 at LC_X7_Y20_N1
--operation mode is normal

A1L19 = a[3] # a[4] # a[6] # a[5];


--A1L20 is c_tmp~364 at LC_X6_Y20_N6
--operation mode is normal

A1L20 = !a[3] & (a[2] # a[1]);


--A1L21 is c_tmp~365 at LC_X7_Y20_N5
--operation mode is normal

A1L21 = a[6] # a[5] # A1L20 & !a[4];


--A1L22 is c_tmp~366 at LC_X6_Y20_N4
--operation mode is normal

A1L22 = !a[3] & (a[2] # a[0] & !a[1]);


--A1L23 is c_tmp~367 at LC_X7_Y20_N7
--operation mode is normal

A1L23 = a[6] # !a[5] & (a[4] # A1L22);


--A1L35 is Mux~510 at LC_X7_Y20_N2
--operation mode is normal

A1L35 = !a[7] & (A1L23 & (A1L21 # !A1L19) # !A1L23 & A1L21 & !A1L19);


--A1L36 is Mux~511 at LC_X7_Y20_N9
--operation mode is normal

A1L36 = !a[7] & (A1L23 # !A1L21 & A1L19);


--A1L37 is Mux~512 at LC_X7_Y20_N6
--operation mode is normal

A1L37 = a[7] # A1L23 & (A1L21 $ A1L19) # !A1L23 & (A1L21 # !A1L19);


--A1L38 is Mux~513 at LC_X7_Y20_N4
--operation mode is normal

A1L38 = !A1L21 & !a[7] & (A1L23 $ A1L19);


--A1L39 is Mux~514 at LC_X7_Y20_N3
--operation mode is normal

A1L39 = a[6] # a[7] # !a[4] & !a[5];


--A1L40 is Mux~515 at LC_X7_Y20_N8
--operation mode is normal

A1L40 = a[7] # !a[6] & (A1L33 # a[5]);


--A1L33 is Mux~483 at LC_X6_Y20_N5
--operation mode is normal

A1L33 = a[2] # a[3] # a[4] # a[1];


--A1L41 is Mux~516 at LC_X7_Y20_N0
--operation mode is normal

A1L41 = A1L34 & !a[4] & !a[6] & !a[5];


--A1L34 is Mux~498 at LC_X6_Y20_N3
--operation mode is normal

A1L34 = !a[2] & !a[3] & !a[7] & a[1];


--a[6] is a[6] at PIN_239
--operation mode is input

a[6] = INPUT();


--a[5] is a[5] at PIN_238
--operation mode is input

a[5] = INPUT();


--a[4] is a[4] at PIN_237
--operation mode is input

a[4] = INPUT();


--a[3] is a[3] at PIN_236
--operation mode is input

a[3] = INPUT();


--a[2] is a[2] at PIN_235
--operation mode is input

a[2] = INPUT();


--a[1] is a[1] at PIN_234
--operation mode is input

a[1] = INPUT();


--a[0] is a[0] at PIN_233
--operation mode is input

a[0] = INPUT();


--a[7] is a[7] at PIN_240
--operation mode is input

a[7] = INPUT();


--c[0] is c[0] at PIN_194
--operation mode is output

c[0] = OUTPUT(VCC);


--c[1] is c[1] at PIN_197
--operation mode is output

c[1] = OUTPUT(!A1L40);


--c[2] is c[2] at PIN_200
--operation mode is output

c[2] = OUTPUT(A1L35);


--c[3] is c[3] at PIN_201
--operation mode is output

c[3] = OUTPUT(A1L36);


--c[4] is c[4] at PIN_202
--operation mode is output

c[4] = OUTPUT(!A1L37);


--c[5] is c[5] at PIN_203
--operation mode is output

c[5] = OUTPUT(A1L41);


--c[6] is c[6] at PIN_214
--operation mode is output

c[6] = OUTPUT(!A1L39);


--c[7] is c[7] at PIN_215
--operation mode is output

c[7] = OUTPUT(A1L38);


--en[0] is en[0] at PIN_193
--operation mode is output

en[0] = OUTPUT(GND);


--en[1] is en[1] at PIN_188
--operation mode is output

en[1] = OUTPUT(GND);


--en[2] is en[2] at PIN_187
--operation mode is output

en[2] = OUTPUT(GND);


--en[3] is en[3] at PIN_186
--operation mode is output

en[3] = OUTPUT(GND);


--en[4] is en[4] at PIN_185
--operation mode is output

en[4] = OUTPUT(GND);


--en[5] is en[5] at PIN_184
--operation mode is output

en[5] = OUTPUT(GND);


--en[6] is en[6] at PIN_183
--operation mode is output

en[6] = OUTPUT(GND);


--en[7] is en[7] at PIN_182
--operation mode is output

en[7] = OUTPUT(GND);
















⌨️ 快捷键说明

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