[Oberon] prom.mem [WAS: Re: FPGA toolchain again.]

eas lab lab.eas at gmail.com
Sun Feb 16 13:52:49 CET 2014


> ...but how to generate [...] a *.mem file for the Xilinx toolchain?

In case it helps, please find below (with the remaining zero words elided,
a total of 512 words are needed) the prom.mem which results from compiling
the disk bootloader in BootLoad.Mod currently on Prof. Wirth's site.

Best regards,
Paul

E7000151
00000000
00000000
00000000
00000000
00000000
00000000
00000000
4EE90014
AFE00000
A0E00004
--snip Zillion lines. ----------

This gives a nice example of *nix piping style aka concatenation, and why we
should make an extension to ETHO to achieve such, which would be much
easier to do, than eg.  the existing <Scheme.Tool> & <Layla>.. etc.:-

FOR LinesInFile  WriteOut |
FOR 4 HexChars DoEndian [only if needed, else omit this stage] |
<equivalent of *nix `dd` to File/prom.mem. [use existing drivers]

The output of stages 1 & 2 are simply manually/visually confirmed.

These kinds of tasks are what take all the time & effort.
Forget about the multi-core crap.

== Chris Glur.



More information about the Oberon mailing list