; 8051SBC PLD Equation ; Memory and I/O decoder for 8051 Single Board Computer ; Wichit Sirichote, kswichit@kmitl.ac.th ; May 1, 2003 ; PLD: Lattice GAL16V8D CHIP 8051SBC GAL16V8 a15=1 rd=2 wr=3 a8=4 a9=5 a10=6 rs232=7 rs485=8 psen=9 rom_ce=12 ram_ce=13 ram_oe=14 rom_oe=15 lcd_e=16 gpio1=17 gpio2=18 rxd=19 EQUATIONS ram_oe = rd * psen rxd = rs232 * rs485 rom_ce = a15 ram_ce = /a15 rom_oe = psen /lcd_e = rd * wr + a8 + a9 + a10 + a15 /gpio1 = /a8 + a9 + a10 + a15 + wr gpio2 = a8 + /a9 + a10 + a15 + rd