You might be able to use karnaugh maps to simplify the logic behind the conversion into a circuit using a few cheap off the shelf logic gates. Jon Baker jon@hayseed.net ----- Original Message ----- From: "Simon-Thijs de Feber" To: Sent: Thursday, December 06, 2001 4:36 PM Subject: [EE]: FPGA/GAL/PIC for port expansion/conversion > Hello, > > I am in doubt how to solve the following issue. > I have a 4 bit input and need to convert it to a 6 bit > output. > This can probably be done with a look-up table > (FPGA/GAL/PIC) > The Table is as follows > In Out > 0000 111111 > 0001 111101 > 0010 111110 > 0011 111010 > 0100 111000 > 0101 111010 > 0110 101001 > 0111 101000 > 1000 110000 > 1001 010000 > > Any one a good solution ??? > > > ________________________________________________________________ > Nokia 5510 looks weird sounds great. > Go to http://uk.promotions.yahoo.com/nokia/ discover and win it! > The competition ends 16 th of December 2001. > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body