|
|
Up |
|
|
  |
|
Author: Charles TurnerCharles Turner Date: Oct 28, 2006 03:46
|
| |
|
| | 32 Comments |
|
  |
Author: Don SeglioDon Seglio Date: Oct 28, 2006 18:51
Charles Turner wrote:
It's an interesting device, but I wonder how fast can it get data in and
out of the package since each CPU must wait it's turn until it has
access to the outside world. It's a chip that I have put in my list of
things to try out.
It has enough RAM to hold a decent amount of code inside so that is not
an issue, the eight CPU's can talk to each other through the common RAM,
it looks like it might be useful for quite a few things, and the
packaging available and price is good for home brewing up something. The
concept of the chip is simple, something that could be emulated inside a
FPGA.
|
| Show full article (2.19Kb) |
|
| | 30 Comments |
|
  |
Author: rickmanrickman Date: Oct 29, 2006 07:08
Don Seglio wrote:
> Charles Turner wrote:
> It's an interesting device, but I wonder how fast can it get data in and
> out of the package since each CPU must wait it's turn until it has
> access to the outside world. It's a chip that I have put in my list of
> things to try out.
That is actually a long term problem with any CPU design. Some of the
original computer designs were multiprocessor (SIMD) machines and would
be I/O bound. I worked on an array processor years ago (the early 80's
version of a DSP chip) which has more electronics devoted to moving
data around than it did in the compute head. Even today's DSP chips
are I/O bound which is why they provide varying amounts of internal
memory.
|
| Show full article (3.01Kb) |
| 27 Comments |
|
  |
Author: Jeff FoxJeff Fox Date: Oct 29, 2006 08:52
rickman wrote:
> I have yet to find a Forth that has any special support for cross
> compiling other than commercial products.
Tom Zimmer did the F-PC system and the TCOM package. F-PC
generated more F-PC threaded code on the top of the .EXE system.
TCOM compiled mostly compatible source code ( pre-ANS 16-bit
no 'CELLS' so it has 2* where post-ANS would write CELLS to be
clearer and more portable) and Target COMpile the code. The
target could be pin-hole optimized 8086 native code packaged in
.COM files with or without the name dictionary and Forth interpreter/
compiler included in the target code. TCOM will also target native
code cross compilation for a list of other targets and can be
extended with further targets. It is available at Taygeta.
> I suggest that you go to
> Tagyeta and the other forth web sites and find every resource you can
> on Forth cross compiling.
Yes. There are some other target compilers there and elsewhere.
> I once saw something from Jeff Fox that seemed to indicate a very
> simple way to cross compile, but I don't have the link.
|
| Show full article (2.87Kb) |
| 25 Comments |
|
  |
Author: Jeff FoxJeff Fox Date: Oct 29, 2006 09:19
normally target compilation is compilicated by having the same
names used in host, target, and target-compiler wordlists. And
there may be more wordlists and wordlist order manipulation
needed. What I described was a way to make the compiler
simple by keeping the code it compiled simple.
> the assembler for the two systems is the same so you don't have
> to create a secondary assembler to construct the target. In this
> case, and with a couple restrictions to the organization of the code,
> one might only need a single word added to the system and a few
> interpreted phrases to generate a new and modified target system.
For a directed threaded ANS standard eForth system with a
couple tiny changes to eForth to ensure that all meta-patched
immediate host words have a literal at the same offset it becomes:
: META ( -- ) ' ' 2 CELLS + ! ; \ as in META 0BRANCH IF
|
| Show full article (1.77Kb) |
| 24 Comments |
|
  |
Author: Don SeglioDon Seglio Date: Oct 29, 2006 12:21
rickman wrote:
> Don Seglio wrote:
>> Charles Turner wrote:
>> It's an interesting device, but I wonder how fast can it get data in and
>> out of the package since each CPU must wait it's turn until it has
>> access to the outside world. It's a chip that I have put in my list of
>> things to try out.
>
> That is actually a long term problem with any CPU design. Some of the
> original computer designs were multiprocessor (SIMD) machines and would
> be I/O bound. I worked on an array processor years ago (the early 80's
> version of a DSP chip) which has more electronics devoted to moving
> data around than it did in the compute head. Even today's DSP chips
> are I/O bound which is why they provide varying amounts of internal ...
|
| Show full article (4.76Kb) |
| no comments |
|
  |
Author: Don SeglioDon Seglio Date: Oct 29, 2006 13:21
Jeff Fox wrote:
Thanks, I made a reply to "richman" and before I sent it I took a little
nap, when I awoke I sent it right away before I noticed your answer so I
apologize for not being more clear on my previous postings. Having said
that, I haven't painted the whole picture so let me give you a brief sketch.
Below are some of my points that I mentioned in the other posting so
it's here for discussion. There are additional features but these are
the main ones.
Link list handling
Typed variables
Object programming
memory allocation and garbage collecting
extensive string support including pattern matching
database tool set for both disk based and memory based databases
rule base programming, this one would be easy to add if the other prior
items are in place.
TCP, UDP support for messaging and file transfers
USB support to connect to target systems or other devices.
Interface to OS system libraries in a consistent way across the various OS's
|
| Show full article (4.90Kb) |
| 23 Comments |
|
  |
Author: Elizabeth D RatherElizabeth D Rather Date: Oct 29, 2006 14:33
Don Seglio wrote:
...
> To summarize because I can ramble and not be clear at times;
>
> 1. Take a conventional Forth compiler and enhance it with the features
> in the list, to be used in writing applications that I like to do.
> 2, Use tool #1 to create a highly optimizing but conventional Forth
> cross compiler for embedded targets.
>
> I will look at the items you mentioned and see if they can be of use in
> when I get to phase 2
Another think you might want to look at is the proposed extension to ANS
Forth for cross compilers, at ftp://ftp.forth.com/pub/ANS%%20Forth. It's
available in MS Word and PDF. XCtext5.* is the "normative" (required)
part, and XCapp5.* is an explanatory appendix. XCpaper.pdf is an
overview. This is based on work done about 10 years ago, jointly by
FORTH, Inc. and MPE. Cross-compilers based on this architecture are
available from both companies (and possibly other implementors), and
have been used in a large number of applications.
|
| Show full article (1.39Kb) |
| 22 Comments |
|
  |
Author: Don SeglioDon Seglio Date: Oct 29, 2006 17:09
Elizabeth D Rather wrote:
> Don Seglio wrote:
> ...
>> To summarize because I can ramble and not be clear at times;
>>
>> 1. Take a conventional Forth compiler and enhance it with the features
>> in the list, to be used in writing applications that I like to do.
>> 2, Use tool #1 to create a highly optimizing but conventional Forth
>> cross compiler for embedded targets.
>>
>> I will look at the items you mentioned and see if they can be of use
>> in when I get to phase 2
>
> Another think you might want to look at is the proposed extension to ANS
> Forth for cross compilers, at ftp://ftp.forth.com/pub/ANS%%20Forth. It's
> available in MS Word and PDF. XCtext5.* is the "normative" (required)
> part, and XCapp5.* is an explanatory appendix. XCpaper.pdf is an
> overview. This is based on work done about 10 years ago, jointly by
> FORTH, Inc. and MPE. Cross-compilers based on this architecture are
> available from both companies (and possibly other implementors), and ...
|
| Show full article (1.91Kb) |
| 21 Comments |
|
  |
|
|
  |
Author: Elizabeth D RatherElizabeth D Rather Date: Oct 29, 2006 18:23
Don Seglio wrote:
> Elizabeth D Rather wrote:
>> Don Seglio wrote:
>> ...
...
>> Another think you might want to look at is the proposed extension to
>> ANS Forth for cross compilers, at
>> ftp://ftp.forth.com/pub/ANS%%20Forth. It's available in MS Word and
>> PDF. XCtext5.* is the "normative" (required) part, and XCapp5.* is an
>> explanatory appendix. XCpaper.pdf is an overview. This is based on
>> work done about 10 years ago, jointly by FORTH, Inc. and MPE.
>> Cross-compilers based on this architecture are available from both
>> companies (and possibly other implementors), and have been used in a
>> large number of applications.
>>
>> Cheers,
>> Elizabeth
>>
>
> Thank you, it's very useful information, I will print it and keep a copy ...
|
| Show full article (2.39Kb) |
| 20 Comments |
|
|
|
|