Altera_Forum
Honored Contributor
17 years agoProblem with C2H
Hi,
I have given a long C code to C2H for converting to HDL. On first run it gives error saying something like: Adrdress range of uart1.s1 overlaps with pll.s1, etc. In this run I used "auto-assign base address" option of SOPC builder. When I manually configured the base addresses in SOPC builder, C2H gives different error saying: Exception in thread "System Generation" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Unknown Source) at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source) at java.lang.AbstractStringBuilder.append(Unknown Source) at java.lang.StringBuilder.append(Unknown Source) at com.altera.utilities.altNode.AltNodeXML$TElement.toString(AltNodeXML.java:853) at com.altera.utilities.altNode.AltNodeXML$TElement.toString(AltNodeXML.java:794) at com.altera.utilities.altNode.AltNodeXML.toXmlString(AltNodeXML.java:606) at com.altera.sopcreport.EnsembleReport.toXml(EnsembleReport.java:146) at com.altera.sopcreport.EnsembleReport.write(EnsembleReport.java:157) at com.altera.sopceditor.actions.GenerateSystemEdit.writeSopcInfo(GenerateSystemEdit.java:323) at com.altera.sopceditor.actions.GenerateSystemEdit$1.run(GenerateSystemEdit.java:193) at java.lang.Thread.run(Unknown Source) make: *** [c2h_hdl-t] Error 254 I do not know what to do next. Why this is happening and what can be the solution. Can you give any suggestions?