It gets even better.  With some of the FGPAs you can not only drop in 7400
type gates etc. but also drop in an 8051 micro-controller with FLASH memory.

An aside:
I had a sore throat last week that turned into a head cold that had me not
wanting to do anything but read a novel.  Do something that wasn't designed
to earn money.  Instead I did something odd.  In RAD Studio Delphi I'm
simulating an NEC uPD78C10 micro-processor.  This is an 8 bit of the CISC
rather than RISC variety with all sorts of hardware features.  Decades back
I wrote a monitor program and an RTOS for it.  A friend/employee wrote a
cross assembler in C and a Tiny Pascal Interpreter in assembler.

First step was to rebuild the  cross assembler using RAD Studio C since the
old one wouldn't run on the newer WIN-7 64 bit architecture.  Then run the
assembler on the monitor program so I could get a LST file with opcodes and
linkage information.

I've got most of the 197 instructions done.  And many of those use all sorts
of different register modes (somewhat like a Z-80) so many of them reference
8 different registers.  The Delphi code I'd done isn't really efficient.
More to be readable.  But I am curious how long say a 10,000 iteration loop
will take.  And although I haven't looked at it for decades it was
pre-emptive round robin multi-tasking.  A Pascal program could be programmed
into EPROM with the appropriate header information to be linked into the
RTOS on power up and after that it would run as a task.

And just like reading a novel, for absolutely no reason other than to do it.
End of aside:

John

> -----Original Message-----
> From: Chris Albertson [mailto:albertson.ch...@gmail.com]
> Sent: June-24-18 7:44 PM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Raspberry Pi PREEMPT-RT --> Scheduling and
> message passing in general
> 
> Maybe we've gone full circle.  I just bought an $11 part on eBay.  I it is
> a CPLD.  Like an FPGA but smaller and much less expensive and easier to
> use.   The programming software has a mode where yu can call up a library
> of old 74LSxxx parts and drop them on a canvas and draw lies between pins.
> They have other functional blocks too, just see of them have the old 7400
> numbers.    I did something silly wired a bunch some LEDs to a 4-bit
> counters and watch in count in binary.   The 7400 series versions "Hello
> World" but now I can do that with just one chip.    The little CLPD can
> simulate maybe 100 7400 type chips and they can be clocked at 50MHz
> 
> SO it is the one chip solution that you wanted but the old SSI based
> solution that engineer wanted t build.
> 
> My use for it was counting encoder pluses up to about 1MHz. but I found I
> could do that with a microcontroler for 1/3rd the cost and size.
> 
> 
> 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to