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

📄 gal16v8new.pld

📁 2407的一些源代码
💻 PLD
字号:
Name       gal16v8.pld;
Partno     16v8;
Date       29/11/06;
Revision   01;
Designer   Hu qingbo;
Company    zju;
Assembly   U00;
Location   San Jose;
Device     g16v8;

/**************************************************************/
/*  The 74885 is a 8-bit magnitude comparator which can be    */
/*  cascaded without other circuitry.  The 'P' inputs are     */
/*  latched into 8 flip-flops to become the 'Q' value.  Until */
/*  a new value is latched into the 'Q' registers, all values */
/*  on the 'P' inputs are compared to the current 'Q' values. */
/*  This design also includes an 'Equal' output and input.    */
/**************************************************************/

/** Inputs **/

PIN    2  = dint;
PIN    3  = usbint;
PIN    4  = clkint;
PIN    5  = rw;
PIN    6  = is;
PIN    7  = a15;
PIN    8  = a14;
PIN    9  = a13;

/** Outputs **/

PIN    12  = led1;
PIN    13  = lcd1;
PIN    14  = lcd2;
PIN    15  = int;
PIN    17  = io;
PIN    18  = usb1;
PIN    19  = usb2led2;


/** Logic Equations **/

led1= rw # is # (!a15) # a14 # a13;   // 8000h    

lcd1= rw # is # a15 # (!a14) # a13;   //4000h   

lcd2= rw # is # (!a15) # (!a14) # a13;  //c000h  

int= !((!dint) # (!usbint) # (!clkint));

io = rw # is # a15 # a14 # (!a13);    //2000h   

usb1 = rw # is # (!a15) # a14 # (!a13);     //a000h   

usb2led2 = rw # is # a15 # (!a14) # (!a13); //6000h      

                                            

⌨️ 快捷键说明

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