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

📄 hanmin.fit.eqn

📁 4位汉明编译码源代码。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_hamout[4] is hanmin_cd:inst|hamout[4] at LC_X7_Y3_N9
--operation mode is normal

B1_hamout[4] = din[1] $ (din[2] $ din[3]);


--B1_hamout[5] is hanmin_cd:inst|hamout[5] at LC_X2_Y3_N4
--operation mode is normal

B1_hamout[5] = din[3] $ din[2] $ din[0];


--B1_hamout[6] is hanmin_cd:inst|hamout[6] at LC_X5_Y4_N1
--operation mode is normal

B1_hamout[6] = din[1] $ din[0] $ din[3];


--B1_hamout[7] is hanmin_cd:inst|hamout[7] at LC_X7_Y3_N3
--operation mode is normal

B1_hamout[7] = din[0] $ (din[1] $ din[2]);


--din[3] is din[3] at PIN_6
--operation mode is input

din[3] = INPUT();


--din[2] is din[2] at PIN_7
--operation mode is input

din[2] = INPUT();


--din[1] is din[1] at PIN_74
--operation mode is input

din[1] = INPUT();


--din[0] is din[0] at PIN_69
--operation mode is input

din[0] = INPUT();


--sec is sec at PIN_81
--operation mode is output

sec = OUTPUT(GND);


--ded is ded at PIN_15
--operation mode is output

ded = OUTPUT(GND);


--ne is ne at PIN_61
--operation mode is output

ne = OUTPUT(VCC);


--cdout[7] is cdout[7] at PIN_12
--operation mode is output

cdout[7] = OUTPUT(din[3]);


--cdout[6] is cdout[6] at PIN_2
--operation mode is output

cdout[6] = OUTPUT(din[2]);


--cdout[5] is cdout[5] at PIN_72
--operation mode is output

cdout[5] = OUTPUT(din[1]);


--cdout[4] is cdout[4] at PIN_64
--operation mode is output

cdout[4] = OUTPUT(din[0]);


--cdout[3] is cdout[3] at PIN_66
--operation mode is output

cdout[3] = OUTPUT(B1_hamout[4]);


--cdout[2] is cdout[2] at PIN_8
--operation mode is output

cdout[2] = OUTPUT(B1_hamout[5]);


--cdout[1] is cdout[1] at PIN_87
--operation mode is output

cdout[1] = OUTPUT(B1_hamout[6]);


--cdout[0] is cdout[0] at PIN_68
--operation mode is output

cdout[0] = OUTPUT(B1_hamout[7]);


--dout[3] is dout[3] at PIN_5
--operation mode is output

dout[3] = OUTPUT(din[3]);


--dout[2] is dout[2] at PIN_3
--operation mode is output

dout[2] = OUTPUT(din[2]);


--dout[1] is dout[1] at PIN_70
--operation mode is output

dout[1] = OUTPUT(din[1]);


--dout[0] is dout[0] at PIN_67
--operation mode is output

dout[0] = OUTPUT(din[0]);


⌨️ 快捷键说明

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