[Oberon] FPGA - Simple Graph Fill
Jörg
joerg.straube at iaeth.ch
Fri Nov 9 14:23:25 CET 2018
Tomas
Good, you found it yourself.
The order of S, N, W, E does not matter.
I personally would try to implement flood fill with iteration than recursion. And mind the borders x < 0, x >= W...
Jörg
Am 09.11.18, 14:13 schrieb "Oberon im Auftrag von Tomas Kral" <oberon-bounces at lists.inf.ethz.ch im Auftrag von thomas.kral at email.cz>:
On Fri, 9 Nov 2018 09:31:58 +0100
Tomas Kral <thomas.kral at email.cz> wrote:
> c := ASR(c, -(x MOD ppw * 4)) MOD 10H;
this did it
c := ASR(c, x MOD ppw * 4) MOD 10H;
with no (-) complement
No, I wonder how much it matters, the order of directions, we pick,
e.g. S - N - W - E?
--
Tomas Kral <thomas.kral at email.cz>
--
Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
https://lists.inf.ethz.ch/mailman/listinfo/oberon
More information about the Oberon
mailing list