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

📄 pocp.fit.eqn

📁 简单的i/O接口的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.
--C1_IRQ is POC:inst1|IRQ at LC_X2_Y1_N2
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

C1_IRQ_lut_out = GND;
C1_IRQ = DFFEAS(C1_IRQ_lut_out, GLOBAL(CLK), VCC, , , C1_SR[7], , , VCC);


--C1_SR[7] is POC:inst1|SR[7] at LC_X2_Y2_N0
--operation mode is normal

C1_SR[7]_lut_out = addr[1] # C1L28 # !B1_2;
C1_SR[7] = DFFEAS(C1_SR[7]_lut_out, GLOBAL(CLK), VCC, , , , , , );


--C1L26Q is POC:inst1|PD[7]~reg0 at LC_X2_Y2_N4
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

C1L26Q_lut_out = GND;
C1L26Q = DFFEAS(C1L26Q_lut_out, GLOBAL(CLK), VCC, , RESET, C1L10, , , VCC);


--C1L27Q is POC:inst1|process0~2 at LC_X2_Y2_N7
--operation mode is normal

C1L27Q_lut_out = !B1_2;
C1L27Q = DFFEAS(C1L27Q_lut_out, GLOBAL(CLK), VCC, , RESET, , , , );


--C1L25Q is POC:inst1|PD[6]~reg0 at LC_X2_Y4_N6
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

C1L25Q_lut_out = GND;
C1L25Q = DFFEAS(C1L25Q_lut_out, GLOBAL(CLK), VCC, , RESET, C1L11, , , VCC);


--C1L24Q is POC:inst1|PD[5]~reg0 at LC_X2_Y2_N9
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

C1L24Q_lut_out = GND;
C1L24Q = DFFEAS(C1L24Q_lut_out, GLOBAL(CLK), VCC, , RESET, C1L12, , , VCC);


--C1L23Q is POC:inst1|PD[4]~reg0 at LC_X2_Y2_N3
--operation mode is normal

C1L23Q_lut_out = C1L13;
C1L23Q = DFFEAS(C1L23Q_lut_out, GLOBAL(CLK), VCC, , RESET, , , , );


--C1L22Q is POC:inst1|PD[3]~reg0 at LC_X2_Y4_N9
--operation mode is normal

C1L22Q_lut_out = C1L14;
C1L22Q = DFFEAS(C1L22Q_lut_out, GLOBAL(CLK), VCC, , RESET, , , , );


--C1L21Q is POC:inst1|PD[2]~reg0 at LC_X2_Y4_N2
--operation mode is normal

C1L21Q_lut_out = C1L15;
C1L21Q = DFFEAS(C1L21Q_lut_out, GLOBAL(CLK), VCC, , RESET, , , , );


--C1L20Q is POC:inst1|PD[1]~reg0 at LC_X2_Y4_N4
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

C1L20Q_lut_out = GND;
C1L20Q = DFFEAS(C1L20Q_lut_out, GLOBAL(CLK), VCC, , RESET, C1L16, , , VCC);


--C1L19Q is POC:inst1|PD[0]~reg0 at LC_X2_Y4_N0
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

C1L19Q_lut_out = GND;
C1L19Q = DFFEAS(C1L19Q_lut_out, GLOBAL(CLK), VCC, , RESET, C1L17, , , VCC);


--C1L28 is POC:inst1|process0~57 at LC_X2_Y4_N3
--operation mode is normal

C1L28 = addr[2] # addr[0] # !CS # !RW;


--D1_23 is printer:inst|74193:7|23 at LC_X3_Y2_N8
--operation mode is normal

D1_23_lut_out = !D1_23;
D1_23 = DFFEAS(D1_23_lut_out, D1L7, !GLOBAL(C1_TR), , , , , , );


--D1_24 is printer:inst|74193:7|24 at LC_X3_Y3_N8
--operation mode is normal

D1_24_lut_out = !D1_24;
D1_24 = DFFEAS(D1_24_lut_out, D1L6, !GLOBAL(C1_TR), , , , , , );


--D1_26 is printer:inst|74193:7|26 at LC_X4_Y2_N9
--operation mode is normal

D1_26_lut_out = !D1_26;
D1_26 = DFFEAS(D1_26_lut_out, B1_3, !GLOBAL(C1_TR), , , , , , );


--D1_25 is printer:inst|74193:7|25 at LC_X4_Y2_N4
--operation mode is normal

D1_25_lut_out = !D1_25;
D1_25 = DFFEAS(D1_25_lut_out, D1L1, !GLOBAL(C1_TR), , , , , , );


--D1L6 is printer:inst|74193:7|28~14 at LC_X3_Y2_N5
--operation mode is normal

D1L6 = B1_4 # D1_25 # !D1_26 # !CLK;


--D1L7 is printer:inst|74193:7|28~15 at LC_X3_Y2_N1
--operation mode is normal

D1L7 = D1L6 # !D1_24;


--B1_2 is printer:inst|2 at LC_X2_Y2_N6
--operation mode is normal

B1_2 = RESET & !B1_4 & (D1_23 # D1L7);


--C1L10 is POC:inst1|BR~448 at LC_X2_Y2_N5
--operation mode is normal

C1_BR[7]_qfbk = C1_BR[7];
C1L10 = addr[1] & (C1_BR[7]_qfbk) # !addr[1] & (C1L28 & (C1_BR[7]_qfbk) # !C1L28 & data[7]);

--C1_BR[7] is POC:inst1|BR[7] at LC_X2_Y2_N5
--operation mode is normal

C1_BR[7] = DFFEAS(C1L10, GLOBAL(CLK), VCC, , , , , , );


--C1L11 is POC:inst1|BR~449 at LC_X3_Y4_N0
--operation mode is normal

C1_BR[6]_qfbk = C1_BR[6];
C1L11 = addr[1] & (C1_BR[6]_qfbk) # !addr[1] & (C1L28 & (C1_BR[6]_qfbk) # !C1L28 & data[6]);

--C1_BR[6] is POC:inst1|BR[6] at LC_X3_Y4_N0
--operation mode is normal

C1_BR[6] = DFFEAS(C1L11, GLOBAL(CLK), VCC, , , , , , );


--C1L12 is POC:inst1|BR~450 at LC_X3_Y4_N2
--operation mode is normal

C1_BR[5]_qfbk = C1_BR[5];
C1L12 = addr[1] & (C1_BR[5]_qfbk) # !addr[1] & (C1L28 & (C1_BR[5]_qfbk) # !C1L28 & data[5]);

--C1_BR[5] is POC:inst1|BR[5] at LC_X3_Y4_N2
--operation mode is normal

C1_BR[5] = DFFEAS(C1L12, GLOBAL(CLK), VCC, , , , , , );


--C1L13 is POC:inst1|BR~451 at LC_X2_Y2_N2
--operation mode is normal

C1_BR[4]_qfbk = C1_BR[4];
C1L13 = addr[1] & (C1_BR[4]_qfbk) # !addr[1] & (C1L28 & (C1_BR[4]_qfbk) # !C1L28 & data[4]);

--C1_BR[4] is POC:inst1|BR[4] at LC_X2_Y2_N2
--operation mode is normal

C1_BR[4] = DFFEAS(C1L13, GLOBAL(CLK), VCC, , , , , , );


--C1L14 is POC:inst1|BR~452 at LC_X2_Y4_N8
--operation mode is normal

C1_BR[3]_qfbk = C1_BR[3];
C1L14 = addr[1] & (C1_BR[3]_qfbk) # !addr[1] & (C1L28 & (C1_BR[3]_qfbk) # !C1L28 & data[3]);

--C1_BR[3] is POC:inst1|BR[3] at LC_X2_Y4_N8
--operation mode is normal

C1_BR[3] = DFFEAS(C1L14, GLOBAL(CLK), VCC, , , , , , );


--C1L15 is POC:inst1|BR~453 at LC_X2_Y4_N1
--operation mode is normal

C1_BR[2]_qfbk = C1_BR[2];
C1L15 = addr[1] & (C1_BR[2]_qfbk) # !addr[1] & (C1L28 & (C1_BR[2]_qfbk) # !C1L28 & data[2]);

--C1_BR[2] is POC:inst1|BR[2] at LC_X2_Y4_N1
--operation mode is normal

C1_BR[2] = DFFEAS(C1L15, GLOBAL(CLK), VCC, , , , , , );


--C1L16 is POC:inst1|BR~454 at LC_X2_Y4_N5
--operation mode is normal

C1_BR[1]_qfbk = C1_BR[1];
C1L16 = addr[1] & (C1_BR[1]_qfbk) # !addr[1] & (C1L28 & (C1_BR[1]_qfbk) # !C1L28 & data[1]);

--C1_BR[1] is POC:inst1|BR[1] at LC_X2_Y4_N5
--operation mode is normal

C1_BR[1] = DFFEAS(C1L16, GLOBAL(CLK), VCC, , , , , , );


--C1L17 is POC:inst1|BR~455 at LC_X2_Y4_N7
--operation mode is normal

C1_BR[0]_qfbk = C1_BR[0];
C1L17 = addr[1] & (C1_BR[0]_qfbk) # !addr[1] & (C1L28 & (C1_BR[0]_qfbk) # !C1L28 & data[0]);

--C1_BR[0] is POC:inst1|BR[0] at LC_X2_Y4_N7
--operation mode is normal

C1_BR[0] = DFFEAS(C1L17, GLOBAL(CLK), VCC, , , , , , );


--C1_TR is POC:inst1|TR at LC_X3_Y2_N2
--operation mode is normal

C1_TR_lut_out = RESET & (B1_4 # !D1_23 & !D1L7);
C1_TR = DFFEAS(C1_TR_lut_out, GLOBAL(CLK), VCC, , , , , , );


--B1_3 is printer:inst|3 at LC_X4_Y2_N6
--operation mode is normal

B1_3 = B1_4 # !CLK;


--D1L1 is printer:inst|74193:7|6~11 at LC_X4_Y2_N5
--operation mode is normal

D1L1 = B1_4 # !D1_26 # !CLK;


--B1_4 is printer:inst|4 at LC_X3_Y2_N6
--operation mode is normal

B1_4 = !B1_2 & !C1_TR;


--CLK is CLK at PIN_14
--operation mode is input

CLK = INPUT();


--addr[2] is addr[2] at PIN_3
--operation mode is input

addr[2] = INPUT();


--addr[0] is addr[0] at PIN_100
--operation mode is input

addr[0] = INPUT();


--CS is CS at PIN_7
--operation mode is input

CS = INPUT();


--RW is RW at PIN_98
--operation mode is input

RW = INPUT();


--addr[1] is addr[1] at PIN_6
--operation mode is input

addr[1] = INPUT();


--RESET is RESET at PIN_8
--operation mode is input

RESET = INPUT();


--data[7] is data[7] at PIN_27
--operation mode is input

data[7] = INPUT();


--data[6] is data[6] at PIN_92
--operation mode is input

data[6] = INPUT();


--data[5] is data[5] at PIN_71
--operation mode is input

data[5] = INPUT();


--data[4] is data[4] at PIN_19
--operation mode is input

data[4] = INPUT();


--data[3] is data[3] at PIN_96
--operation mode is input

data[3] = INPUT();


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

data[2] = INPUT();


--data[1] is data[1] at PIN_95
--operation mode is input

data[1] = INPUT();


--data[0] is data[0] at PIN_97
--operation mode is input

data[0] = INPUT();


--IRQ is IRQ at PIN_18
--operation mode is output

IRQ = OUTPUT(C1_IRQ);


--pd[7] is pd[7] at PIN_16
--operation mode is output

pd[7]_tri_out = TRI(C1L26Q, C1L27Q);
pd[7] = OUTPUT(pd[7]_tri_out);


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

pd[6]_tri_out = TRI(C1L25Q, C1L27Q);
pd[6] = OUTPUT(pd[6]_tri_out);


--pd[5] is pd[5] at PIN_17
--operation mode is output

pd[5]_tri_out = TRI(C1L24Q, C1L27Q);
pd[5] = OUTPUT(pd[5]_tri_out);


--pd[4] is pd[4] at PIN_15
--operation mode is output

pd[4]_tri_out = TRI(C1L23Q, C1L27Q);
pd[4] = OUTPUT(pd[4]_tri_out);


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

pd[3]_tri_out = TRI(C1L22Q, C1L27Q);
pd[3] = OUTPUT(pd[3]_tri_out);


--pd[2] is pd[2] at PIN_99
--operation mode is output

pd[2]_tri_out = TRI(C1L21Q, C1L27Q);
pd[2] = OUTPUT(pd[2]_tri_out);


--pd[1] is pd[1] at PIN_4
--operation mode is output

pd[1]_tri_out = TRI(C1L20Q, C1L27Q);
pd[1] = OUTPUT(pd[1]_tri_out);


--pd[0] is pd[0] at PIN_1
--operation mode is output

pd[0]_tri_out = TRI(C1L19Q, C1L27Q);
pd[0] = OUTPUT(pd[0]_tri_out);


⌨️ 快捷键说明

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