[Oberon] FPGA - Two BYTE entities

Tomas Kral thomas.kral at email.cz
Sat Sep 23 21:27:05 CEST 2017


Hi,

On FPGA Oberon we have (long) WORDS and BYTES, reading SHORTS(two
bytes), requires some coding.

(* this works *)
    Files.ReadByte(R, bt0); Files.ReadByte(R, bt1); short := bt0 +
    bt1*100H

(* this does not *)
    Files.ReadBytes(R, short, 2);

I saw above in ETH Oberon code frequently.


-- 
Tomas Kral <thomas.kral at email.cz>


More information about the Oberon mailing list