Re: [Oberon] Oberon Digest, Vol 238, Issue 6
Dear Elen Honestly speaking i don't understand what exactly you'r going to emulate and so if this information will help, but anyway let me say; i got an Evaluation Board from Digilent with an Artix-7 FPGA on it and then could - with the support of astrobe - program the NW RISC5 processor from the Verilog source. Oberon is running well on it. So this is no original but current hardware. Best regards from Switzerland Daniel On Sun, 2024-03-17 at 12:00 +0100, oberon-request@lists.inf.ethz.ch wrote:
Send Oberon mailing list submissions to oberon@lists.inf.ethz.ch
To subscribe or unsubscribe via the World Wide Web, visit https://lists.inf.ethz.ch/mailman/listinfo/oberon or, via email, send a message with subject or body 'help' to oberon-request@lists.inf.ethz.ch
You can reach the person managing the list at oberon-owner@lists.inf.ethz.ch
When replying, please edit your Subject line so it is more specific than "Re: Contents of Oberon digest..."
Today's Topics:
1. Emulating Project Oberon's RISC5 Architecture using Icarus Verilog (Elen Edain) 2. Re: Emulating Project Oberon's RISC5 Architecture using Icarus Verilog (Hellwig Geisse)
--------------------------------------------------------------------- -
Message: 1 Date: Sat, 16 Mar 2024 10:15:05 +0000 From: Elen Edain <elen.edain@protonmail.com> To: oberon@lists.inf.ethz.ch Subject: [Oberon] Emulating Project Oberon's RISC5 Architecture using Icarus Verilog Message-ID: <jQ3PCiO9X0FdAiKZeNURSPbsnrvCMK4suFF9FnBwOsH5JKsA4_UGIumFYdAD tMQ_AoBMO0PNVjKpb41k1n1v0yO8S1uOyBUQX62krC5ve5Q=@protonmail.com> Content-Type: text/plain; charset="utf-8"
Hello and Greetings from Iceland,
I am currently undertaking a project to simulate the Project Oberon RISC5 system architecture using Icarus Verilog, aiming to replicate the system?s environment in a manner similar to QEMU for educational exploration. This endeavor is inspired by Niklaus Wirth's educational vision, focusing on understanding system design comprehensively.
Despite progress, I've encountered a challenge with emulating specific FPGA modules (originally on a Digilent Spartan 3 board), notably the DCM, RAM16X1D, and IOBUF modules, as a software simulation. This aspect falls beyond my expertise as a software engineer, primarily dealing with hardware emulation nuances. Thus I am on a learning journey as well and it is early days.
I am seeking the community's expertise and advice on simulating these FPGA modules in Verilog, to further develop a detailed tutorial aligned with Wirth's original documentation, thereby eliminating the dependency on the original FPGA board.
The ultimate aim is to produce a contemporary, step-by-step guide for working through the Project Oberon ecosystem without the need for the original FPGA board. Any advice, resources, or guidance on where to start with these hardware component emulations would be greatly appreciated.
Best regards,
Elen
Hi Daniel,
Is anybody out there who has experience with the Lola Compiler (Lola-
Verilog)? Could compile the compiler, but i'm stuck to get it work with a module.lola file. Thanks for any hint.
I use the Lola-2 compiler frequently in my work with FPGAs. If you're working within the Project Oberon system on an FPGA (you don't say) then selecting (with mouse right button) the beginning of a Lola-2 module text and executing LSC.Compile @ will scan, parse and compile the text to an in-memory data structure (basically a netlist). Then executing LSV.List Test.Lola.v (the filename doesn't matter and doesn't have to be the same as the Lola-2 module name) will output equivalent Verilog code, for reading by proprietary or open-source FPGA tools. These commands are provided at the top of https://people.inf.ethz.ch/wirth/Lola/Sources/SmallPrograms.Lola.txt so you can try compiling the two examples in that file. I hope that helps, please post some more details if you're still stuck. Cheers, Paul
participants (2)
-
Daniel Schmid -
Paul Reed