473,406 Members | 2,387 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Embeddable Pcode compiler/interpreter Serial EEPROM

Hi All

I need a compiler (C preferably) that will output a Pcode that I can
create a interpreter for on a very small embedded system. I want to
execute the Pcode from serial flash.

Something like "Interactive C" but with a file output and a documented
Pcode would work great. This may be available, but I have had no luck
finding it.

I have a system that has an FPGA (Xilinx Spartin3) and a 8051. We
currently use the 8051 to do maintance and interactive control with
the FPGA.

The 8051 has a 256kbyte serial flash and we have a kinda pcode running
on the internal interpreter. But no real language or compiler. The guy
that wrote the whole thing is long gone.
By the way it uses a twisted version of self modifying code to execute
the pcode. It is very scary.

Also I have enough room in the FPGA to run 2 picoBlaze CPU's with 1k
of code space. I have build a serial to memory system to read the
serial flash into the memory space of the picoBlaze.

As it stands I can run a MAX of 2Mega bytes seconds through the
serial to memory hardware. That gives me 20 instruction cycles per
byte. So if I can get the Pcodes to 2-3bytes per - I have 40-60
instructions to execute them. Or about 500K instructions/sec.
This is more than enough time to do my work.

I want to get rid of the 8051 completly and just run on the internal
CPU's - one for real time stuff and one for pcode interpreter.

Any help/direction would be helpful.

Thanks

Nov 14 '05 #1
1 2439
George Jetson wrote:

[snip]
Any help/direction would be helpful.


comp.arch.embedded.* perhaps?

Nov 14 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

34
by: Nikola Skoric | last post by:
Is the a PHP compiler? A program that compiles PHP code to executable which doesn't need php interpreter to execute... -- Pozdrav/Regards, Nikola Skoric. "...Usne, tice-rugalice - a u oku...
61
by: km | last post by:
Hi all, is true parallelism possible in python ? or atleast in the coming versions ? is global interpreter lock a bane in this context ? regards, KM
15
by: Anton Gavrilov | last post by:
Hi all, I seek your advice on where to start if I want to write a compiler for a toy C-like language I invented (or, rather, am in the process of inventing). Yes, yes, I know I'm crazy and the...
4
by: Richard | last post by:
Office Addins are easy in .NET. Try this from Visual Studio's main menu: File New Project "Other Projects" Extensibility Projects Shared Addin Run the wizard and you're off...
5
by: foolsbar | last post by:
Hi there, I'm trying to write a C# application that gets information from a machine such as operating system, memory, cpu etc. I'm using WMI for this, and it all seems to work fine apart from...
1
by: CAFxX | last post by:
hi all, I was wondering whenever it is possible to write an embeddable early-binding database in c++ (mainly for performance reasons). the point is that often the programmer knows at compile time...
2
by: Michael Hudson | last post by:
The PyPy development team has been busy working and we've now packaged our latest improvements, completed work and new experiments as version 0.9.0, our fourth public release. The highlights of...
2
by: Limin Fu | last post by:
Hi, I am looking for an open source, embeddable C compiler that supports compiling and running C codes in memory. I know TCC is one such compiler, but I'd like to know if there is any other C...
31
by: Mark Dufour | last post by:
Hi all, I have recently released version 0.0.20 and 0.0.21 of Shed Skin, an optimizing Python-to-C++ compiler. Shed Skin allows for translation of pure (unmodified), implicitly statically typed...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.