There's an interesting VHDL model of a PIC, developed by Thomas Coonan, at: http://www.mindspring.com/~tcoonan Thomas hasn't actually put the model into an FPGA, but has simulated and tested it with actual PIC code, assembled with MPASM. Leon -- Leon Heller: leon@lfheller.demon.co.uk http://www.lfheller.demon.co.uk Amateur Radio Callsign G1HSM Tel: +44 (0) 118 947 1424 See http://www.lfheller.demon.co.uk/dds.htm for details of my AD9850 DDS system. See " "/diy_dsp.htm for a simple DIY DSP ADSP-2104 system.