<div dir="ltr">Thanks Michael and Jörg,<div><br></div><div>I agree that large modules are to be avoided and factoring a module is better than just relaxing limits, especially without understanding the consequences. Having bumped up against the limit (and then refactored my code) I wanted to know the nature of that limit.</div><div><br></div><div>Much appreciated,</div><div>Chuck</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 7, 2021 at 2:09 PM Michael Schierl <<a href="mailto:schierlm@gmx.de">schierlm@gmx.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hello,<br>
<br>
<br>
Am 06.04.2021 um 20:40 schrieb Joerg:<br>
> Chuck<br>
><br>
> It‘s indeed arbitrary. Keep in mind: it is in words. So, 8000 means ~32 kByte.<br>
> It’s generally a bad practice to generate modules bigger than 32 kByte. Altough there might be special cases where a split in several modules is not wanted or generates „strange“ module borders.<br>
><br>
> Indeed on my FPGA system with 15MB of memory and 1MB for color display, I could increase this limit, but I did not.<br>
<br>
In my experience, when increasing the limits of the compiler you first<br>
hit the 64KB globals limit, before running into any real RAM shortage.<br>
<br>
The arrays in the compiler have static sizes, so if you increase the<br>
limits, the arrays will grow even if not needed.<br>
<br>
<br>
Regards,<br>
<br>
<br>
Michael<br>
--<br>
<a href="mailto:Oberon@lists.inf.ethz.ch" target="_blank">Oberon@lists.inf.ethz.ch</a> mailing list for ETH Oberon and related systems<br>
<a href="https://lists.inf.ethz.ch/mailman/listinfo/oberon" rel="noreferrer" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/oberon</a><br>
</blockquote></div>