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

📄 encode.map.eqn

📁 CPLD VHDL CODE非常好的参考资料
💻 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.
--A1L82 is Mux~590
A1L82_p1_out = !a[5] & !a[4] & !a[3] & !a[1] & !a[2] & !a[7];
A1L82_p2_out = !a[7] & a[6];
A1L82_or_out = A1L82_p1_out # A1L82_p2_out;
A1L82 = A1L82_or_out;


--A1L92 is Mux~592
A1L92_p1_out = a[1] & !a[4] & !a[3] & !a[5] & !a[6] & !a[2] & !a[7];
A1L92_or_out = A1L92_p1_out;
A1L92 = A1L92_or_out;


--A1L03 is Mux~598
A1L03_p0_out = !a[7] & !a[5] & a[3];
A1L03_p1_out = !a[7] & a[6];
A1L03_p2_out = !a[7] & a[2] & !a[5];
A1L03_p3_out = !a[7] & !a[5] & !a[1] & a[0];
A1L03_p4_out = !a[7] & !a[5] & a[4];
A1L03_or_out = A1L03_p0_out # A1L03_p1_out # A1L03_p2_out # A1L03_p3_out # A1L03_p4_out;
A1L03 = A1L03_or_out;


--A1L13 is Mux~600
A1L13_p1_out = !a[4] & !a[5];
A1L13_or_out = A1L13_p1_out # a[7] # a[6];
A1L13 = !(A1L13_or_out);


--A1L23 is Mux~606
A1L23_p1_out = a[3] & !a[5] & !a[6] & !a[4] & !a[7];
A1L23_p2_out = !a[5] & !a[6] & !a[4] & !a[7] & !a[1] & !a[2] & a[0];
A1L23_or_out = A1L23_p1_out # A1L23_p2_out;
A1L23 = A1L23_or_out;


--A1L33 is Mux~611
A1L33_p1_out = a[1] & !a[7] & !a[5] & !a[3] & !a[4];
A1L33_p2_out = !a[7] & a[6];
A1L33_p3_out = !a[7] & !a[5] & !a[3] & !a[4] & a[2];
A1L33_p4_out = !a[7] & !a[5] & !a[3] & !a[4] & a[0];
A1L33_or_out = A1L33_p1_out # A1L33_p2_out # A1L33_p3_out # A1L33_p4_out;
A1L33 = A1L33_or_out;


--A1L43 is Mux~615
A1L43_p1_out = !a[5] & !a[4] & a[3] & !a[7];
A1L43_p2_out = !a[7] & a[6];
A1L43_p3_out = !a[5] & !a[4] & !a[7] & !a[1] & !a[2] & a[0];
A1L43_or_out = A1L43_p1_out # A1L43_p2_out # A1L43_p3_out;
A1L43 = A1L43_or_out;


--~VCC~0 is ~VCC~0
~VCC~0_or_out = GND;
~VCC~0 = !(~VCC~0_or_out);


--~GND~0 is ~GND~0
~GND~0_or_out = GND;
~GND~0 = ~GND~0_or_out;


--~GND~1 is ~GND~1
~GND~1_or_out = GND;
~GND~1 = ~GND~1_or_out;


--~GND~2 is ~GND~2
~GND~2_or_out = GND;
~GND~2 = ~GND~2_or_out;


--~GND~3 is ~GND~3
~GND~3_or_out = GND;
~GND~3 = ~GND~3_or_out;


--~GND~4 is ~GND~4
~GND~4_or_out = GND;
~GND~4 = ~GND~4_or_out;


--~GND~5 is ~GND~5
~GND~5_or_out = GND;
~GND~5 = ~GND~5_or_out;


--~GND~6 is ~GND~6
~GND~6_or_out = GND;
~GND~6 = ~GND~6_or_out;


--~GND~7 is ~GND~7
~GND~7_or_out = GND;
~GND~7 = ~GND~7_or_out;


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

a[0] = INPUT();


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

a[1] = INPUT();


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

a[2] = INPUT();


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

a[3] = INPUT();


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

a[4] = INPUT();


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

a[5] = INPUT();


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

a[6] = INPUT();


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

a[7] = INPUT();


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

c[0] = OUTPUT(~VCC~0);


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

en[0] = OUTPUT(~GND~0);


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

en[1] = OUTPUT(~GND~1);


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

en[2] = OUTPUT(~GND~2);


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

en[3] = OUTPUT(~GND~3);


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

en[4] = OUTPUT(~GND~4);


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

en[5] = OUTPUT(~GND~5);


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

en[6] = OUTPUT(~GND~6);


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

en[7] = OUTPUT(~GND~7);


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

c[1] = OUTPUT(A1L82);


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

c[3] = OUTPUT(A1L03);


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

c[5] = OUTPUT(A1L92);


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

c[2] = OUTPUT(A1L33);


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

c[6] = OUTPUT(A1L13);


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

c[7] = OUTPUT(A1L23);


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

c[4] = OUTPUT(A1L43);


⌨️ 快捷键说明

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