[Oberon] Updated RISC5 firmware
Jörg
joerg.straube at iaeth.ch
Thu Oct 25 09:31:09 CEST 2018
With diff you at least would more easily find what the author changed.
With patch I could easily re-implement my changes to several modules
(Personally I have to add everytime the cursor steering in TextFrames.Mod and my Swiss German keyboard in Input.Mod...)
Multiplier:
One version does not use the multiplier capabilities of the FPGA, pure shifting and adding.
The other version uses the FPGA multiplier blocks.
Described in 16.2.2: https://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.Computer.pdf <https://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.Computer.pdf>
Mouse:
two drivers for two different Mouse HW: MouseP based on PS/2 interface, MouseX for historic Lilith mouse
described in 17.2.1+2: https://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.Computer.pdf <https://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.Computer.pdf>
br
Jörg
> Am 25.10.2018 um 08:05 schrieb Skulski, Wojciech <skulski at pas.rochester.edu>:
>
> Jörg
>
>> Indeed, version control is not one of NWs strengths :-)
>> I lately had the idea to implement „diff" and „patch“ in Oberon.
>
> Version control will not provide insight into the intent of the writer. For example, I am curious what is the difference between RISC5.v dated 31.8.2018 and RISC5a.v dated 1.9.2018. Both can be fetched from the same page www.inf.ethz.ch/personal/wirth/ProjectOberon/index.html.
>
> Fortunately, there are some comments in that code:
>
> RISC5.v dated 31.8.2018 //with interrupt and floating-point
> RISC5a.v dated 1.9.2018 //no interrupt, no floating-point
>
> The former is accompanied by Multiplier.v dated 14.9.2015.
> The latter is accompanied by Multiplier1.v dated 29.4.2011
>
> So here I have a question: why two multipliers, and why their codes are different? Would be good to see a comment on the website. But there is no comment. Just a horizontal line.
>
> Even more puzzling is that RISC5.v is accompanied by MouseP.v, while RISC5a.v is accompanied by MouseX.v, which are again quite different. Another puzzle.
>
> The term "accompanied by" is my own interpretation of the horizontal lines dividing this web page. It would be good to know why the Verilog modules have been grouped this particular way. Is it true that MouseP.v needs floating point, while MouseX.v does not? Or is it an accident that they have been parted by a horizontal line?
>
> So the patch and the diff are not the only tools which we would need. Comments would be even more useful.
>
> How can I force my students to comment their source code when they can see this situation?
>
> W
>
>
>
>
>
>
>
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20181025/98ffb333/attachment.html>
More information about the Oberon
mailing list