News for hackers. Stuff that matters.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by lelf on Saturday November 15, 2014 @05:21AM (#8611369)
Philae is controlled by 2 RTX2010 CPUs (hot red), further 8 control the Experiments. 13 CPUs (10* RTX2010, 1* ADSP-21020, 2* 80C3x) in total. © https://twitter.com/philae2014/status/427842417920712704
Re:RTX2010 – Radiation-hardened stack machine microprocessor by keenerd on Saturday November 15, 2014 @03:40PM (#8612590)
For future archaeologists wondering why everyone is talking about Philae, the title of this thread used to be to the effect of "The rad-hard CPU used in Philae".
Re:RTX2010 – Radiation-hardened stack machine microprocessor by userbinator on Saturday November 15, 2014 @08:36AM (#8611644)
> 80C3x

An 8051-family microcontroller, the CPU architecture that's found almost everywhere - including space. I wonder if they're running Forth too, as this old discussion I found also mentions 80C32 and RTX2010 together with Forth:

https://groups.google.com/d/topic/comp.lang.forth/7PK44n68I_...

Re:RTX2010 – Radiation-hardened stack machine microprocessor by analog31 on Saturday November 15, 2014 @09:49PM (#8613320)
The 8052AH-BASIC is better known because of a Byte Magazine article, but there was also a commercially available 8051 variant that was mask programmed with a built in Forth interpreter. I've never seen one.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by samatman on Saturday November 15, 2014 @05:07PM (#8612791)
The yearly Forth Day meeting is happening right now, and Chuck Moore (inventor of Forth, designer of the RTX2010) is going to give his annual fireside chat in a matter of hours. I'm honored to be in attendance.

So if HN has any questions, this is a good time to ask them. The hangout is here:

https://plus.google.com/u/0/115269917987589859757/posts

Re:RTX2010 – Radiation-hardened stack machine microprocessor by tailrecursion on Saturday November 15, 2014 @06:15PM (#8612935)
Sam, Chuck designed the Novix but the Harris RTX 2000, which is very similar, was designed by others.

These are 16-bit chips (the Novix addressed 128 KB) that use dedicated stack memories, that's 3 ports to memory total. The RTX puts the stacks on chip.

The nice thing about these CPUs is they can do stack, alu, and return in parallel, interrupts are cheap, timings are predictable, and programming model is nice if you like Forth. One disadvantage of the design is that clock rate is limited. RAM fetch and instruction processing have to fit between pulses meaning RAM has to be approx twice as fast as clock.

Re:RTX2010 – Radiation-hardened stack machine microprocessor by jng on Saturday November 15, 2014 @05:52AM (#8611423)
I'm sure Mr. Moore feels vindicated that the fruits of his design work have powered humanity's first comet landing ever.

Still, it's telling of the industry's regard for Forth that the manufacturer itself manages to misspell the language as "Fourth" in the chip's official product page.

Re:RTX2010 – Radiation-hardened stack machine microprocessor by cbd1984 on Saturday November 15, 2014 @07:05AM (#8611508)
To be fair, Moore originally wanted the language to be called "Fourth":

> The file holding the interpreter was labeled FORTH, for 4th (next) generation software - but the operating system restricted file names to 5 characters.

http://www.colorforth.com/HOPL.html

It was the OS for the IBM 1130: http://en.wikipedia.org/wiki/IBM_1130

Because it was the cheapest computer IBM had at the time, it got used by a lot of young pioneers in their salad days.

Re:RTX2010 – Radiation-hardened stack machine microprocessor by lbruder on Saturday November 15, 2014 @07:06AM (#8611510)
Well, it was the original name Forth was going to have. Just that the OS it was built on allowed only five character file names...
Re:RTX2010 – Radiation-hardened stack machine microprocessor by tinco on Saturday November 15, 2014 @05:33AM (#8611390)
I wonder how hard it is to create a radiation hardened CPU. Is the premise that radiation can flip bits in the on-die cache and registers? would simply making those redundant be a solution? Or could a single flash of radiation invalidate all memory on the device?
Re:RTX2010 – Radiation-hardened stack machine microprocessor by Sanddancer on Saturday November 15, 2014 @06:11AM (#8611443)
There's all sorts of problems you have to deal with. Memory flipping is one of the most visible, but that radiation also will damage the lattice of the processor, making some transistors harder to flip on, and some much easier to flip on, leading to transient glitches, etc.

Redundancy's definitely one solution, which is one reason why spacecraft tend to have multiple processors and/or processors with redundant logic pipelines. They also tend to use different substrates that are harder for cosmic rays to effect, different, more expensive, casings that offer more shielding, and also larger, older, more vetted processes. For example, this chip is uses a 1 micron process, which is a lot bigger than the process used in current cpus, which means that there's a lot more mass in the transistors to soak the effects of radiation, making it harder to cause damage.

Re:RTX2010 – Radiation-hardened stack machine microprocessor by Osmium on Saturday November 15, 2014 @06:32AM (#8611466)
Or we can use alternative semiconductors that are more radiation-resistant. One of many reasons why materials discovery is still very important even if initial chips will never match the performance of silicon.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by wlievens on Saturday November 15, 2014 @07:20AM (#8611541)
Wouldn't work for all applications, tough, if I'm not mistaken, as you specifically need Silicon for imaging chips (CCD/CMOS). Or is that nonsense?
Re:RTX2010 – Radiation-hardened stack machine microprocessor by gus_massa on Saturday November 15, 2014 @08:53AM (#8611667)
Theoretically you can make integrated circuit with any semiconductor, but I don't know if anyone has been brave enough to try it.

The smallest integrated circuit is a diode, it has 1/2 transistors :). OK, a diode is not actually an integrated circuit, but if you can use a material to make a diode, you probably can use the same material to make an integrated circuit with enough money, time and ingenuity.

Some of the diodes are made of germanium. It has a very low band gap, that is useful for "crystal radios" ( http://en.wikipedia.org/wiki/Crystal_radio#Crystal_detector ). Perhaps this can be useful to make very low voltage CI, to reduce the power and heat. But perhaps there is a technical problem that I don't know.

The diodes in the LED have many semiconductors. The band gap of the material is related to the color ( http://en.wikipedia.org/wiki/Light-emitting_diode#Colors_and... ). With this you could make high voltage CI (like 10V?). Perhaps it may reduce the noise ratio??? But perhaps there is a technical problem that I don't know.

[kens: If you are reading this, I'd love to see a technical post about this subject.]

--

Edit: According to Wikipedia, one of the first CI was made of Germanium: http://en.wikipedia.org/wiki/Integrated_circuit#Invention

> Half a year after Kilby, Robert Noyce at Fairchild Semiconductor developed his own idea of an integrated circuit that solved many practical problems Kilby's had not. Noyce's design was made of silicon, whereas Kilby's chip was made of germanium. Noyce credited Kurt Lehovec of Sprague Electric for the principle of p–n junction isolation caused by the action of a biased p–n junction (the diode) as a key concept behind the IC.

Re:RTX2010 – Radiation-hardened stack machine microprocessor by TheLoneWolfling on Saturday November 15, 2014 @03:52PM (#8612630)
> "Germanium differs from silicon in that the supply for germanium is limited by the availability of exploitable sources, while the supply of silicon is only limited by production capacity since silicon comes from ordinary sand or quartz. As a result, while silicon could be bought in 1998 for less than $10 per kg,[20] the price of 1 kg of germanium was then almost $800.[20]"

So nearly 2 orders of magnitude price difference. In 1998 admittedly, but still. (Someone should come up with a better example for the Wikipedia article)

Re:RTX2010 – Radiation-hardened stack machine microprocessor by wlievens on Saturday November 15, 2014 @01:24PM (#8612252)
I know that, but I don't think every material has the interesting properties that Si does for image sensors, i.e. it needs to basically turn photons of the right wavelength range into electrons.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by gus_massa on Saturday November 15, 2014 @03:49PM (#8612619)
Sorry. I misread your comment.

Other users have answered the question, but I'd like to add a little more information. http://en.wikipedia.org/wiki/LED_circuit#LED_as_light_sensor

> As a photodiode, an LED is sensitive to wavelengths equal to or shorter than the predominant wavelength it emits. For example, a green LED is sensitive to blue light and to some green light, but not to yellow or red light.

If you want to measure the light of all visible wavelength, you must use a semiconductor with a low band gap, for example the named in the other comments: Germanium, Silicon or Gallium Arsenide

It's interesting to read the table in http://en.wikipedia.org/wiki/List_of_semiconductor_materials... but it's important to sort it by band gap fist, o you an compare the applications of semiconductor with a similar band gap.

Re:RTX2010 – Radiation-hardened stack machine microprocessor by jacquesm on Saturday November 15, 2014 @08:10PM (#8613153)
You could use Selenium as well.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by Someone on Saturday November 15, 2014 @08:34AM (#8611639)
Why would you need silicon for that? Even if it were the only process we use now (which it isn't. As a simple example, Germanium-based photo diodes do exist), materials research could conceivably produce other materials that work, too.

There are even more exotic examples to think of. Eyes turn light into electricity without (AFAIK) Silicon. Maybe part of that physics/chemistry can be practically used elsewhere?

Re:RTX2010 – Radiation-hardened stack machine microprocessor by wyager on Saturday November 15, 2014 @04:31PM (#8612722)
>Eyes turn light into electricity without (AFAIK) Silicon.

Correct. A photon hits a chromophore bound to an opsin protein, and flips the chirality of the chromophore from 11-cis to all-trans, which changes the structure of the opsin protein, which starts the cascade of activity leading to sight. We could definitely use chemical detectors to take advantage of this or a similar process.

Re:RTX2010 – Radiation-hardened stack machine microprocessor by spiritplumber on Saturday November 15, 2014 @02:29PM (#8612412)
Germanium diodes are still made because they have a much smaller voltage drop than silicon diodes do (0.1V nominal versus 0.7V nominal). This has its uses.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by na85 on Sunday November 16, 2014 @12:45AM (#8613544)
/nitpick:

Nerve impulses are not electricity. There is a moving charge gradient which is not the same as an electric current.

Re:RTX2010 – Radiation-hardened stack machine microprocessor by analog31 on Saturday November 15, 2014 @10:00PM (#8613338)
I work with optical detectors. There are certainly other materials that can be used for imaging. There are some things going for silicon -- depending on the application of course. Notably, it's sensitive to the visible wavelength range, up into the UV, and can be turned into detectors with extremely low self-noise. It can be manufactured at a level of purity that allows for extremely low electrical leakage that would otherwise add noise. Any system of two or more elements can't reach this purity because it would require an absolutely perfect stoichiometric mixture.

Large "scientific" CCD's benefit from large geometries (typ. 25 micron pixels), which probably contributes to radiation hardening. But it's hard to protect a chip from radiation without keeping it in the dark.

There's also the fact that silicon has received such refinement thanks to the overall semiconductor industry.

Re:RTX2010 – Radiation-hardened stack machine microprocessor by wlievens on Sunday November 16, 2014 @04:21AM (#8613791)
Cool, where do you work? I work for an image sensor company (CMOS - not CCD), though I'm a pure software engineer (wafer and assembly test software among other tools) so I don't know that much of device physics, only that which I've gleaned from company-wide presentations and the such.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by Sanddancer on Saturday November 15, 2014 @11:56AM (#8612037)
Other materials have been used for imagers. Gallium Arsenide in particular has been used for high speed, and high radiation, imaging circuits.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by wlievens on Saturday November 15, 2014 @01:25PM (#8612262)
Cool, I didn't know that.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by Create on Saturday November 15, 2014 @04:14PM (#8612685)
venera, cray etc.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by protomyth on Saturday November 15, 2014 @11:18AM (#8611956)
I seem to remember Hughes using sapphire, but they stopped because not enough business.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by miga on Sunday November 16, 2014 @07:58AM (#8614120)
Like silicon on sapphire?
Re:RTX2010 – Radiation-hardened stack machine microprocessor by noselasd on Saturday November 15, 2014 @06:36AM (#8611472)
Yes, one of the premises is it flips bits, a phenomena called Single Event Upset(SEU) - e.g. the open source LEON FT (http://www.gaisler.com/index.php/products/processors/leon3ft) processor, is designed to be able to correct and detect such errors - in addition to being manufactured with materials that block radiation. In spacecrafts such radiation hardened processors are often used in addition to having redundancy.

One issue with only using redundancy to overcome errors from radiation is you'll have a hard time determining which processor has an error - especially when several processors are affected at the same time.

Re:RTX2010 – Radiation-hardened stack machine microprocessor by wtracy on Saturday November 15, 2014 @11:57PM (#8613464)
Would optical processors be immune to some of these problems?
Re:RTX2010 – Radiation-hardened stack machine microprocessor by Animats on Saturday November 15, 2014 @12:46PM (#8612157)
If it's rad-hard, it's export-controlled in the US. See the US Munitions List, category XV, section (d), "Radiation-hardened microelectronic circuits".

https://www.pmddtc.state.gov/regulations_laws/documents/offi...

So mass market products aren't made radiation-hard. Rad-hard CPUs more modern than that FORTH engine exist; Atmel makes a rad-hard SPARC. But they're produced in tiny quantities and are thus very expensive.

Re:RTX2010 – Radiation-hardened stack machine microprocessor by SixSigma on Saturday November 15, 2014 @01:30PM (#8612272)
I'm pretty sure the marketing of "Our CPU is used on the probe" is enough to get a donation or two.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by Igglyboo on Sunday November 16, 2014 @01:16PM (#8614913)
I wonder this as well, is it really not enough to simply encase it in lead or something similar?
Re:RTX2010 – Radiation-hardened stack machine microprocessor by jacquesm on Saturday November 15, 2014 @06:26AM (#8611459)
Hah, an old friend. A company I worked with had a Novix in 1986/1987 for prototyping purposes (early days number plate recognition system). Before we got it we had to sign an unreasonable amount of paper. Rumor had it this is the chip powering the Tomahawk cruisemissile.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by abecedarius on Saturday November 15, 2014 @03:47PM (#8612613)
Brought a smile to my face too: I had a summer job in 1986 at FORTH, Inc., and spent some quality time with my officemate's cmForth manual. (cmForth was Chuck Moore's new Forth dialect for the Novix. IIRC the manual said the multiply-step instruction didn't quite work and gave a software workaround.)
Re:RTX2010 – Radiation-hardened stack machine microprocessor by Create on Saturday November 15, 2014 @05:02PM (#8612779)
Raytheon refurbish...
Re:RTX2010 – Radiation-hardened stack machine microprocessor by jesrui on Saturday November 15, 2014 @06:55AM (#8611500)
Another microprocessor able to execute Forth natively is the b16, from one of the original authors of Gforth.

http://bernd-paysan.de/b16.html

Re:RTX2010 – Radiation-hardened stack machine microprocessor by ryanmk on Saturday November 15, 2014 @03:02PM (#8612498)
There's also GreenArrays GA144, which has 144 forth machines on a single microprocessor.

http://www.greenarraychips.com/

Re:RTX2010 – Radiation-hardened stack machine microprocessor by mud_dauber on Saturday November 15, 2014 @09:25AM (#8611722)
How cool - I joined Harris after grad school expressly to work on RTX architecture issues. (Previously I was a Forth developer.)

Nice to see this neat-but-underappreciated architecture in the news.

Re:RTX2010 – Radiation-hardened stack machine microprocessor by naland on Saturday November 15, 2014 @11:00AM (#8611910)
>Nice to see this neat-but-underappreciated architecture in the news.

It's already appreciated. Let me recall here the 'scientist' character (A&B Srugatsky) who explains the World as a huge inertial mass to the good or evil in the same.

Tertium non datur it is a principle of our mind sometimes used in computers.

Re:RTX2010 – Radiation-hardened stack machine microprocessor by jacquesm on Saturday November 15, 2014 @08:13PM (#8613160)
What does Russian SF have to do with the Forth high level machine?
Re:RTX2010 – Radiation-hardened stack machine microprocessor by naland on Saturday November 15, 2014 @03:39PM (#8612589)
edit: Strugatsky. hi ±HN.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by abecedarius on Saturday November 15, 2014 @03:49PM (#8612615)
I believe the downvotes came from not seeing any relevance to your comment -- I don't see it myself.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by lucaspiller on Saturday November 15, 2014 @05:14AM (#8611358)
Tech specs are available on the manufacturer's site:

http://www.intersil.com/en/products/space-and-harsh-environm...

Re:RTX2010 – Radiation-hardened stack machine microprocessor by imrehg on Saturday November 15, 2014 @09:42AM (#8611754)
Listed but unfortunately not stocked: http://www.mouser.tw/Search/Refine.aspx?Keyword=RTX2010
Re:RTX2010 – Radiation-hardened stack machine microprocessor by kens on Saturday November 15, 2014 @11:37AM (#8612007)
I looked on Alibaba and Shenzhen suppliers have the HS9-RTX-2010-RH for sale at 10 cents a chip, able to supply up to 100,000 chips per month.

How do they do this? They're lying. Various Alibaba vendors list literally every part number they can find as something they are selling. If someone wants it, then they see if they can actually get it.

In any case, the real price for the RX2010 was between $1000 and $10,000 according to this thread I found from 1999: http://www.strangegizmo.com/forth/MISC/msg01281.html

Re:RTX2010 – Radiation-hardened stack machine microprocessor by mud_dauber on Saturday November 15, 2014 @12:38PM (#8612136)
Of course they are. The last place I'd go for reputable semiconductor suppliers is Alibaba. The LAST.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by nraynaud on Saturday November 15, 2014 @05:04PM (#8612787)
it's quite strange that there is not backlash against those manufacturers that don't make their parts or their datasheet available. They are just a pain in the butt and they drive our buying power down.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by SixSigma on Saturday November 15, 2014 @01:37PM (#8612282)
A very closely related processor, the RTX2000, is described in detail in Koopman's book "Stack Computers: the new wave"

http://users.ece.cmu.edu/~koopman/stack_computers/index.html

The RTX2010 has had its own wikipedia entry too since 2008 : http://en.wikipedia.org/wiki/RTX2010

Re:RTX2010 – Radiation-hardened stack machine microprocessor by programmer_dude on Saturday November 15, 2014 @07:12AM (#8611520)
Can someone point to resources comparing stack machines and register based machines? The RTX2010 technical documentation talks about all the advantages of a stack machine but doesn't say anything about its shortcomings.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by sehugg on Saturday November 15, 2014 @08:47AM (#8611657)
A lot of the usual criticisms don't apply. This code will never be JIT-compiled. Instructions take either 1 or 2 cycles depending on whether memory is accessed, so there's no pipelining or caching concerns.

Actually in this thing the top two elements of the stack are held in registers. So if you wanted to use the ANSI C compiler instead of FORTH, you might just think of it as a two-register machine (there are actually quite a few more) with a few special stack-manipulation instructions.

Re:RTX2010 – Radiation-hardened stack machine microprocessor by wlievens on Saturday November 15, 2014 @07:15AM (#8611523)
Optimal register allocation is an NP-complete problem. By doing away with it, you don't need to allocate registers.

How that compares on a practical level, I have no idea. But it's one of the reasons the JVM has a stack-based model and no registers: it makes writing compilers for JVM byte code a lot easier.

Re:RTX2010 – Radiation-hardened stack machine microprocessor by CHY872 on Saturday November 15, 2014 @02:36PM (#8612428)
This isn't quite right - we don't in general really care whether we're allocating optimally (for example, if we have 16 registers we don't care if we can potentially allocate to 10), and heuristic based approaches are practically very useful (and cheap).

In terms of compiler writing, if you wanted to write any optimisations you'd probably want to manipulate 3-address code internally, if only because the data flow based analyses would be made easier (and then you would emit stack code in the last step).

This might be a reason why the JVM designers decided to use a stack machine, but I doubt it's an important one - they'd easily be able to get ahold of a few decent compiler writers if they needed to.

Re:RTX2010 – Radiation-hardened stack machine microprocessor by wlievens on Saturday November 15, 2014 @03:20PM (#8612548)
I don't doubt the JVM designers have good compiler writers. I rather think that they wanted the bytecode to be accessible to write for other compiler writers, such as the team that implemented JSP servlets a century ago, but also perhaps with a future vision for the alternative JVM languages.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by sehugg on Saturday November 15, 2014 @09:05PM (#8613258)
Don't forget bytecode verification which is easier with just a stack rather than a stack + registers. Java was not originally envisioned to become the default server side + JIT technology it eventually became, it was meant for embedded apps which meant small simple bytecode.
Re:RTX2010 – Radiation-hardened stack machine microprocessor by s800 on Saturday November 15, 2014 @11:18AM (#8611955)
Interesting. I agree with your statement regarding it being an NP-complete problem, as intuitively it seems that way, but do you have a reference by chance? Thanks!
Re:RTX2010 – Radiation-hardened stack machine microprocessor by CHY872 on Saturday November 15, 2014 @02:20PM (#8612383)
Ok, so we can view register allocation as being a case of graph colouring; create a graph where the nodes are your 'virtual registers' and there's an edge between two nodes if those registers are both live at the same time. Then we can run on n registers iff we can colour the graph with n colours. This is one of the first identified NP-complete problems.

https://en.wikipedia.org/wiki/Graph_coloring

Re:RTX2010 – Radiation-hardened stack machine microprocessor by jlarocco on Saturday November 15, 2014 @12:05PM (#8612056)
I can't find the original paper, but this almost seems more relevant.

http://research.ihost.com/lcpc06/final/7/7_Paper.pdf

Actually, here's the original for sale, but the abstract doesn't explicitly mention being NP-complete.

http://www.sciencedirect.com/science/article/pii/00960551819...

Re:RTX2010 – Radiation-hardened stack machine microprocessor by userbinator on Saturday November 15, 2014 @08:46AM (#8611656)
http://en.wikipedia.org/wiki/Stack_machine#Performance_disad...

The biggest disadvantage is their performance because it's hard to make them do operations in parallel.