unable to load the RAM16K

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

unable to load the RAM16K

vishparshav1
This post was updated on .
I'm trying to load the load the RAM16K in the simulator but it says loading chip at the end and then this exception comes in the command line
----------->

Exception in thread "AWT-Windows" Exception in thread "Thread-13" java.lang.Null
PointerException
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
        at java.util.Vector.<init>(Unknown Source)
        at Hack.Gates.NodeSet.<init>(Unknown Source)
        at Hack.Gates.Node.addListener(Unknown Source)
        at Hack.Gates.CompositeGateClass.newInstance(Unknown Source)
        at Hack.Gates.CompositeGateClass.newInstance(Unknown Source)
        at Hack.Gates.CompositeGateClass.newInstance(Unknown Source)
        at Hack.Gates.CompositeGateClass.newInstance(Unknown Source)
        at Hack.Gates.CompositeGateClass.newInstance(Unknown Source)
        at Hack.Gates.CompositeGateClass.newInstance(Unknown Source)
        at Hack.Gates.CompositeGateClass.newInstance(Unknown Source)
        at Hack.HardwareSimulator.HardwareSimulator.loadGate(Unknown Source)
        at Hack.HardwareSimulator.HardwareSimulatorController$LoadChipTask.run(U
nknown Source)
        at java.lang.Thread.run(Unknown Source)
java.lang.OutOfMemoryError: Java heap space
--------------------->

It's taking a pretty lot of time to load even other RAM chips but its not loading the 16K chip




can somebody help me asap
Reply | Threaded
Open this post in threaded view
|

Re: unable to load the RAM16K

cadet1620
Administrator
It looks like you are running out of memory.

You need to use the subdirectory structure that the skeleton files come in and only use the built-in chips for the smaller RAMs when loading the larger RAMs.

RAM16K.hdl should be in projects/03/b and the only other HDL files in that directory should be RAM512 and RAM 4K.

[Please edit your post after you've solved your problem to remove the source code; we don't want correct solutions to remain on the forum.]

--Mark