130 points · by sinrostro · 11y ago · 96 comments
High assurance software design - nice intro http://web.cecs.pdx.edu/~hook/cs491sp08/AssuranceSp08.ppt
FOSS tools for high assurance http://www.dwheeler.com/essays/high-assurance-floss.html
Certified compilation (HW w/ need certified "synthesis") http://compcert.inria.fr/
Original work on subversion http://csrc.nist.gov/publications/history/myer80.pdf
Example of it in action http://www.cisr.us/downloads/theses/02thesis_anderson.pdf
Example of high assurance hardware (AAMP7G version is secure but no public paper...) http://www.csl.sri.com/papers/wift95/wift95.pdf
Far as getting OSS flows lower, I've been collecting methods for doing that. Physical [re-]synthesis is the next step for 130nm and 90nm. A few other tricks they use. I've collected a few papers on methods of doing as many as possible so academics can reimplement them for Yosys, Odin, ABC, etc in the future. It's critical that we get open flows for 90nm. We can do 180nm first as it's still highly useful, esp for custom. However, 90nm is better for standard cell and flash memory.
My mindset is that we can combine proprietary tools and open tools in a hybrid approach. Let the proprietary tools catch all the errors, guide re-synthesis, etc. So long as they can be made to produce a series of traces for synthesis and test vectors that open-source tools can check. One or more EDA vendors might go for this as it keeps their secrets secret and profits high while letting us do much easier work that OSS tools are already close to handling. I mean, we still strive for open EDA in long term but use this for interim. What you think?
It is unique in its ability to boot Oberon in 1 second, straight out of the box.
A quick googling found this: https://lists.inf.ethz.ch/pipermail/oberon/2015/008083.html
But I don't really understand the explanation. Does DRAM need software support? Would performance just be unacceptable?
The issue is that you then need to interface this to the CPU, modern DRAMs like to transfer bursts of several words and you need somewhere to put this. The obvious target is to one line in a cache but as the linked email states a cache controller for the Oberon RISC would be more complicated than the designers wanted for the project.
Or (on the software side) is its purpose to understand how compilers work?
It is commonly said that Plan 9 from Bell Labs is more UNIX than UNIX. This idea of sliding the view along an infinite plane, in turn, seems to me even more UNIX than anything I've seen or heard of. Not having used -- and in fact only having heard of in passing -- Oberon before, I can't comment on how Unixy the remainder of the system is, but none-the-less, this right here seems to capture the essense of UNIX. In all the times I have been impressed by well composed presentations, never have I questioned the need for "tricks" like screenshots and videos to get a coherrent presentation of interactive tasks or information from software external to whatever tool was being used to run the presentation.
I imagine that you could get lost quite easily in an infinite plane, so you'd need to be able to zoom out to find your windows but if you have too many windows opened then you have to zoom out so much than it's becoming hard to see which windows is what..
Workspaces seems a better way to organize your windows (even though it can also be difficult to find the workspace which contain the window you want).
There are hundreds of FPGA boards that do not meet the requirements of Project Oberon, in addition to the board you mention.
Realistically, though, this is likely to fall by the wayside, since I only have so many hours a day coding, and enough of it is spent at work.
Another approach is to blackbox USB and HDMI, and consider them outside the project, much like the VGA monitor or whatever is in the keyboard to send PS/2 signals. You can connect to spare IOs on the FPGA board with 'blackbox' hardware, as long as protocols are simple and open.
https://github.com/pdewacht/oberon-risc-emu
Exited to see people keep working on stuff like this.
As I see it, the ARM instruction sets (note the use of plural) are a moving target (look at Cortex chips with Thumb2 only). They are far from RISC if you count them, and the instruction encoding is horrendulous.
It's like saying "why not target Windows? I doubt that's going anywhere soon"
With FPGAs, your only risk is that the manufacturer discontinues the chip you targeted, and you can then target another brand with the same (or nearly the same) HDL code.
Need the I/O stuff, etc to be implemented for the node, too, though...
ARM has been around at this point for 30 years, and yes, there are incompatibilities from one to the next. But it'll probably be around in some form for another 30 years.
And, yes, your Windows binaries will probably still be runnable ten years from now, and your Linux binaries probably won't be.
I have heard many people talk about the NS32k in positive overall terms, I've researched it a few times, it looks like a nice CISC architecture, but not different/better enough than the 68k at the time.
I do recall the team under Jack Tramiel at Atari looked into the NS32k for their new 16/32-bit system, and even built a prototype, and then tossed it in favour of 68k because of purported bugs in the NS32k.
I assume the motivation for FPGA is the original Oberon idea: "its primary goal was to design and implement an entire system from scratch, and to structure it in such a way that it can be described, explained, and understood as a whole." (The original 1985 Oberon system was also running on custom FPGA hardware.)
Real "Full-stack" development. :)
However, my usual recommendation is SPARC given its ecosystem, openness, and mere $99 registration free. RISC-V, esp Rocket processor, will hopefully take its place. A custom, tiny RISC chip on a FPGA? Ok, ok, Wirth... that is more practical... (sighs) Lol...
Wirth decided it would be better to make a simple, custom processor that follows the spirit of the system. That by itself would be a fun project. He could put it on any current and future FPGA, something very unlikely to disappear. He then ported Oberon to it. Now, it's future-proof.
What I would like to see instead would be RISC-V instead of their own ISA. At least there some learnings could be shared with other academics and tinkerers.