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

📄 mydsp2812.fit.eqn

📁 DSP2812 TFT彩屏显示 源码 给你得嵌入式系统增加TFT彩屏
💻 EQN
📖 第 1 页 / 共 2 页
字号:


--DSP_ADDR[1] is DSP_ADDR[1] at PIN_60
--operation mode is input

DSP_ADDR[1] = INPUT();


--DSP_ADDR[2] is DSP_ADDR[2] at PIN_61
--operation mode is input

DSP_ADDR[2] = INPUT();


--DSP_ADDR[3] is DSP_ADDR[3] at PIN_62
--operation mode is input

DSP_ADDR[3] = INPUT();


--DSP_ADDR[4] is DSP_ADDR[4] at PIN_63
--operation mode is input

DSP_ADDR[4] = INPUT();


--DSP_ADDR[5] is DSP_ADDR[5] at PIN_65
--operation mode is input

DSP_ADDR[5] = INPUT();


--DSP_ADDR[6] is DSP_ADDR[6] at PIN_67
--operation mode is input

DSP_ADDR[6] = INPUT();


--DSP_ADDR[7] is DSP_ADDR[7] at PIN_68
--operation mode is input

DSP_ADDR[7] = INPUT();


--CS0AND1n is CS0AND1n at PIN_92
--operation mode is input

CS0AND1n = INPUT();


--SPI_CS is SPI_CS at PIN_97
--operation mode is input

SPI_CS = INPUT();


--SPI_CLK is SPI_CLK at PIN_99
--operation mode is input

SPI_CLK = INPUT();


--SW[1] is SW[1] at PIN_21
--operation mode is input

SW[1] = INPUT();


--SW[2] is SW[2] at PIN_16
--operation mode is input

SW[2] = INPUT();


--SW[3] is SW[3] at PIN_22
--operation mode is input

SW[3] = INPUT();


--SW[4] is SW[4] at PIN_18
--operation mode is input

SW[4] = INPUT();


--USB_INTn is USB_INTn at PIN_27
--operation mode is input

USB_INTn = INPUT();


--USB_RDY is USB_RDY at PIN_28
--operation mode is input

USB_RDY = INPUT();


--USB_FLAGA is USB_FLAGA at PIN_31
--operation mode is input

USB_FLAGA = INPUT();


--USB_FLAGB is USB_FLAGB at PIN_30
--operation mode is input

USB_FLAGB = INPUT();


--USB_FLAGC is USB_FLAGC at PIN_29
--operation mode is input

USB_FLAGC = INPUT();


--CPLD_FRNB is CPLD_FRNB at PIN_78
--operation mode is input

CPLD_FRNB = INPUT();


--NMI is NMI at PIN_137
--operation mode is output

NMI = OUTPUT(~GND~0);


--INT2 is INT2 at PIN_136
--operation mode is output

INT2 = OUTPUT(~GND~1);


--A1L55 is DSP_DATA[0]~7 at PIN_44
--operation mode is bidir

A1L55 = DSP_DATA[0];

--DSP_DATA[0] is DSP_DATA[0] at PIN_44
--operation mode is bidir

DSP_DATA[0]_open_drain_out = OPNDRN(~VCC~0);
DSP_DATA[0] = BIDIR(DSP_DATA[0]_open_drain_out);


--A1L75 is DSP_DATA[1]~6 at PIN_42
--operation mode is bidir

A1L75 = DSP_DATA[1];

--DSP_DATA[1] is DSP_DATA[1] at PIN_42
--operation mode is bidir

DSP_DATA[1]_open_drain_out = OPNDRN(~VCC~1);
DSP_DATA[1] = BIDIR(DSP_DATA[1]_open_drain_out);


--A1L95 is DSP_DATA[2]~5 at PIN_41
--operation mode is bidir

A1L95 = DSP_DATA[2];

--DSP_DATA[2] is DSP_DATA[2] at PIN_41
--operation mode is bidir

DSP_DATA[2]_open_drain_out = OPNDRN(~VCC~2);
DSP_DATA[2] = BIDIR(DSP_DATA[2]_open_drain_out);


--A1L16 is DSP_DATA[3]~4 at PIN_40
--operation mode is bidir

A1L16 = DSP_DATA[3];

--DSP_DATA[3] is DSP_DATA[3] at PIN_40
--operation mode is bidir

DSP_DATA[3]_open_drain_out = OPNDRN(~VCC~3);
DSP_DATA[3] = BIDIR(DSP_DATA[3]_open_drain_out);


--A1L36 is DSP_DATA[4]~3 at PIN_39
--operation mode is bidir

A1L36 = DSP_DATA[4];

--DSP_DATA[4] is DSP_DATA[4] at PIN_39
--operation mode is bidir

DSP_DATA[4]_open_drain_out = OPNDRN(~VCC~4);
DSP_DATA[4] = BIDIR(DSP_DATA[4]_open_drain_out);


--A1L56 is DSP_DATA[5]~2 at PIN_38
--operation mode is bidir

A1L56 = DSP_DATA[5];

--DSP_DATA[5] is DSP_DATA[5] at PIN_38
--operation mode is bidir

DSP_DATA[5]_open_drain_out = OPNDRN(~VCC~5);
DSP_DATA[5] = BIDIR(DSP_DATA[5]_open_drain_out);


--A1L76 is DSP_DATA[6]~1 at PIN_37
--operation mode is bidir

A1L76 = DSP_DATA[6];

--DSP_DATA[6] is DSP_DATA[6] at PIN_37
--operation mode is bidir

DSP_DATA[6]_open_drain_out = OPNDRN(~VCC~6);
DSP_DATA[6] = BIDIR(DSP_DATA[6]_open_drain_out);


--A1L96 is DSP_DATA[7]~0 at PIN_32
--operation mode is bidir

A1L96 = DSP_DATA[7];

--DSP_DATA[7] is DSP_DATA[7] at PIN_32
--operation mode is bidir

DSP_DATA[7]_open_drain_out = OPNDRN(~VCC~7);
DSP_DATA[7] = BIDIR(DSP_DATA[7]_open_drain_out);


--A1L37 is GPIOB[8]~7 at PIN_81
--operation mode is bidir

A1L37 = GPIOB[8];

--GPIOB[8] is GPIOB[8] at PIN_81
--operation mode is bidir

GPIOB[8]_open_drain_out = OPNDRN(~VCC~8);
GPIOB[8] = BIDIR(GPIOB[8]_open_drain_out);


--A1L48 is GPIOB[15]~0 at PIN_87
--operation mode is bidir

A1L48 = GPIOB[15];

--GPIOB[15] is GPIOB[15] at PIN_87
--operation mode is bidir

GPIOB[15]_open_drain_out = OPNDRN(~VCC~9);
GPIOB[15] = BIDIR(GPIOB[15]_open_drain_out);


--A1L12 is CPLD_SDA~0 at PIN_140
--operation mode is bidir

A1L12 = CPLD_SDA;

--CPLD_SDA is CPLD_SDA at PIN_140
--operation mode is bidir

CPLD_SDA_tri_out = TRI(A1L77, A1L48);
CPLD_SDA = BIDIR(CPLD_SDA_tri_out);


--CPLD_LED4 is CPLD_LED4 at PIN_56
--operation mode is output

CPLD_LED4 = OUTPUT(~GND~2);


--DACSn is DACSn at PIN_100
--operation mode is output

DACSn = OUTPUT(~GND~3);


--INT1 is INT1 at PIN_138
--operation mode is output

INT1 = OUTPUT(A1L19);


--A1L67 is GPIOB[9]~6 at PIN_82
--operation mode is bidir

A1L67 = GPIOB[9];

--GPIOB[9] is GPIOB[9] at PIN_82
--operation mode is bidir

GPIOB[9]_open_drain_out = OPNDRN(~VCC~10);
GPIOB[9] = BIDIR(GPIOB[9]_open_drain_out);


--SPI_SOMI is SPI_SOMI at PIN_93
--operation mode is bidir

SPI_SOMI_open_drain_out = OPNDRN(~VCC~11);
SPI_SOMI = BIDIR(SPI_SOMI_open_drain_out);


--A1L051 is SPI_SIMO~0 at PIN_96
--operation mode is bidir

A1L051 = SPI_SIMO;

--SPI_SIMO is SPI_SIMO at PIN_96
--operation mode is bidir

SPI_SIMO_open_drain_out = OPNDRN(~VCC~12);
SPI_SIMO = BIDIR(SPI_SIMO_open_drain_out);


--CPLDSPI_CLK is CPLDSPI_CLK at PIN_143
--operation mode is output

CPLDSPI_CLK = OUTPUT(A1L741);


--IFCLK is IFCLK at PIN_45
--operation mode is bidir

IFCLK_open_drain_out = OPNDRN(~VCC~13);
IFCLK = BIDIR(IFCLK_open_drain_out);


--CPLD_LED1 is CPLD_LED1 at PIN_53
--operation mode is output

CPLD_LED1 = OUTPUT(A1L94);


--CPLD_LED2 is CPLD_LED2 at PIN_54
--operation mode is output

CPLD_LED2 = OUTPUT(A1L15);


--CPLD_FALE is CPLD_FALE at PIN_70
--operation mode is output

CPLD_FALE = OUTPUT(A1L64);


--CPLD_FCLE is CPLD_FCLE at PIN_71
--operation mode is output

CPLD_FCLE = OUTPUT(A1L84);


--CPLD_RDn is CPLD_RDn at PIN_74
--operation mode is output

CPLD_RDn = OUTPUT(A1L831);


--IOPORT[1] is IOPORT[1] at PIN_102
--operation mode is bidir

IOPORT[1]_open_drain_out = OPNDRN(~VCC~14);
IOPORT[1] = BIDIR(IOPORT[1]_open_drain_out);


--IOPORT[2] is IOPORT[2] at PIN_106
--operation mode is bidir

IOPORT[2]_open_drain_out = OPNDRN(~VCC~15);
IOPORT[2] = BIDIR(IOPORT[2]_open_drain_out);


--IOPORT[3] is IOPORT[3] at PIN_107
--operation mode is bidir

IOPORT[3]_open_drain_out = OPNDRN(~VCC~16);
IOPORT[3] = BIDIR(IOPORT[3]_open_drain_out);


--IOPORT[4] is IOPORT[4] at PIN_109
--operation mode is bidir

IOPORT[4]_open_drain_out = OPNDRN(~VCC~17);
IOPORT[4] = BIDIR(IOPORT[4]_open_drain_out);


--IOPORT[5] is IOPORT[5] at PIN_110
--operation mode is bidir

IOPORT[5]_open_drain_out = OPNDRN(~VCC~18);
IOPORT[5] = BIDIR(IOPORT[5]_open_drain_out);


--IOPORT[6] is IOPORT[6] at PIN_111
--operation mode is bidir

IOPORT[6]_open_drain_out = OPNDRN(~VCC~19);
IOPORT[6] = BIDIR(IOPORT[6]_open_drain_out);


--IOPORT[7] is IOPORT[7] at PIN_112
--operation mode is bidir

IOPORT[7]_open_drain_out = OPNDRN(~VCC~20);
IOPORT[7] = BIDIR(IOPORT[7]_open_drain_out);


--IOPORT[8] is IOPORT[8] at PIN_113
--operation mode is bidir

IOPORT[8]_open_drain_out = OPNDRN(~VCC~21);
IOPORT[8] = BIDIR(IOPORT[8]_open_drain_out);


--IOPORT[9] is IOPORT[9] at PIN_116
--operation mode is bidir

IOPORT[9]_open_drain_out = OPNDRN(~VCC~22);
IOPORT[9] = BIDIR(IOPORT[9]_open_drain_out);


--IOPORT[10] is IOPORT[10] at PIN_117
--operation mode is bidir

IOPORT[10]_open_drain_out = OPNDRN(~VCC~23);
IOPORT[10] = BIDIR(IOPORT[10]_open_drain_out);


--IOPORT[11] is IOPORT[11] at PIN_118
--operation mode is bidir

IOPORT[11]_open_drain_out = OPNDRN(~VCC~24);
IOPORT[11] = BIDIR(IOPORT[11]_open_drain_out);


--IOPORT[12] is IOPORT[12] at PIN_119
--operation mode is bidir

IOPORT[12]_open_drain_out = OPNDRN(~VCC~25);
IOPORT[12] = BIDIR(IOPORT[12]_open_drain_out);


--IOPORT[13] is IOPORT[13] at PIN_131
--operation mode is bidir

IOPORT[13]_open_drain_out = OPNDRN(~VCC~26);
IOPORT[13] = BIDIR(IOPORT[13]_open_drain_out);


--IOPORT[14] is IOPORT[14] at PIN_132
--operation mode is bidir

IOPORT[14]_open_drain_out = OPNDRN(~VCC~27);
IOPORT[14] = BIDIR(IOPORT[14]_open_drain_out);


--CPLD_LED3 is CPLD_LED3 at PIN_55
--operation mode is output

CPLD_LED3 = OUTPUT(A1L31);


--CPLD_WEn is CPLD_WEn at PIN_69
--operation mode is output

CPLD_WEn = OUTPUT(A1L271);


--GPIOB[10] is GPIOB[10] at PIN_83
--operation mode is bidir

GPIOB[10]_tri_out = TRI(A1L58, VCC);
GPIOB[10] = BIDIR(GPIOB[10]_tri_out);


--GPIOB[11] is GPIOB[11] at PIN_88
--operation mode is bidir

GPIOB[11]_tri_out = TRI(A1L68, VCC);
GPIOB[11] = BIDIR(GPIOB[11]_tri_out);


--GPIOB[12] is GPIOB[12] at PIN_91
--operation mode is bidir

GPIOB[12]_tri_out = TRI(A1L78, VCC);
GPIOB[12] = BIDIR(GPIOB[12]_tri_out);


--GPIOB[13] is GPIOB[13] at PIN_84
--operation mode is bidir

GPIOB[13]_tri_out = TRI(A1L88, VCC);
GPIOB[13] = BIDIR(GPIOB[13]_tri_out);


--CPLD_SCL is CPLD_SCL at PIN_141
--operation mode is output

CPLD_SCL = OUTPUT(A1L47);


--USB_CSn is USB_CSn at PIN_23
--operation mode is output

USB_CSn = OUTPUT(A1L361);


--USB_PKTEND is USB_PKTEND at PIN_25
--operation mode is output

USB_PKTEND = OUTPUT(A1L961);


--LD[1] is LD[1] at PIN_6
--operation mode is output

LD[1] = OUTPUT(LED[1]);


--LD[2] is LD[2] at PIN_7
--operation mode is output

LD[2] = OUTPUT(LED[2]);


--LD[3] is LD[3] at PIN_8
--operation mode is output

LD[3] = OUTPUT(LED[3]);


--LD[4] is LD[4] at PIN_9
--operation mode is output

LD[4] = OUTPUT(LED[4]);


--LD[5] is LD[5] at PIN_10
--operation mode is output

LD[5] = OUTPUT(LED[5]);


--LD[6] is LD[6] at PIN_11
--operation mode is output

LD[6] = OUTPUT(LED[6]);


--LD[7] is LD[7] at PIN_14
--operation mode is output

LD[7] = OUTPUT(LED[7]);


--LD[8] is LD[8] at PIN_15
--operation mode is output

LD[8] = OUTPUT(LED[8]);


--CPLDSPI_SIMO is CPLDSPI_SIMO at PIN_5
--operation mode is bidir

CPLDSPI_SIMO_tri_out = TRI(A1L151, VCC);
CPLDSPI_SIMO = BIDIR(CPLDSPI_SIMO_tri_out);


--GPIOB[14] is GPIOB[14] at PIN_86
--operation mode is bidir

GPIOB[14]_tri_out = TRI(A1L22, VCC);
GPIOB[14] = BIDIR(GPIOB[14]_tri_out);


--CPLD_NFCE is CPLD_NFCE at PIN_72
--operation mode is output

CPLD_NFCE = OUTPUT(A1L61);


--MY485_CSn is MY485_CSn at PIN_80
--operation mode is output

MY485_CSn = OUTPUT(A1L131);


--LED_CSn is LED_CSn at PIN_79
--operation mode is output

LED_CSn = OUTPUT(A1L721);


--M_CSn is M_CSn at PIN_98
--operation mode is output

M_CSn = OUTPUT(A1L331);


--DAFSn is DAFSn at PIN_101
--operation mode is output

DAFSn = OUTPUT(A1L03);


--SDSPI_CSn is SDSPI_CSn at PIN_139
--operation mode is output

SDSPI_CSn = OUTPUT(A1L541);


--AICCSn is AICCSn at PIN_142
--operation mode is output

AICCSn = OUTPUT(A1L2);






--A1L03 is DAFSn$latch~24 at LC109
A1L03_or_out = A1L72;
A1L03 = A1L03_or_out;


--A1L541 is SDSPI_CSn$latch~24 at LC6
A1L541_or_out = A1L241;
A1L541 = A1L541_or_out;


⌨️ 快捷键说明

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