"rickman" <> wrote in message
news:d9ecb5e5-5712-4430-8156-...
>I may need to add a CPU to a design I am doing. I had rolled my own
> core once with a 16 bit data path and it worked out fairly well. But
> it was 600 LUT/FFs and I would like to use something smaller if
> possible. The target is a Lattice XP3 with about 3100 LUT/FFs and
> about 2000 are currently used. I believe that once I add the CPU
> core, I can take out a lot of the logic since it runs so slowly. The
> fastest parallel data rate is 8 kHz with some at 1 kHz and the rest at
> 100 Hz. I probably would have used a CPU to start with instead of the
> FPGA, but there was a possible need to handle higher speed signals
> which seems to have gone away.
>
> I recall that someone had started a thread about serial
> implementations of processors that were supported by a C compiler. I
> don't think any ever turned up. But the OP had some other
> requirements that may have excluded a few very small designs. Are
> there any CPU cores, serial or parallel, that are significantly
> smaller than 600 LUT/FFs?
I would suggest you check out one of the many free PIC cores available on
the web. The reason for suggesting PIC is that it is accompanied by a
processional IDE from Microchip. Developing a processor is easy and the web
is full of wonderful and clever implementation but at the end of the day if
you have to develop some software you need a good IDE.
I just tried a quick push-button synthesis of a 16C54,
***********************************************
Device Utilization for LFXP3C/PQFP208
***********************************************
Resource Used Avail Utilization
-----------------------------------------------
LUTs 374 3072 12.17%
Flipflops 83 3072 2.70%
Block RAMs 0 6 0.00%
IOs 67 136 49.26%
-----------------------------------------------
Hans
www.ht-lab.com
> The Lattice part has LUT memory even dual
> port, so that is not a constraint, the LUTs can be used for
> registers.
>
> Rick