Marie wrote
I can't load my script in the simulator. always have message chip load but never appear.
The most common reason for the Hardware Simulator to hang while loading an HDL file is because that file tries to use the part it is defining in its PARTS section. This is a common error when starting to learn the HDL.
This, or a Java stack overflow, can also happen if you have a dependency loop—if part A uses part B which uses PartA.
I suspect that you have something like
CHIP Not {
IN in;
OUT out;
PARTS:
Not(...
}
You can only use Nand parts when making your Not. Once you have Not working, then you can make And using Nand and Not, and so forth. Each chip you get working, you add to your toolbox of parts that can be used to build the next chip.
If you have not yet read it, check out the
Hardware Construction Survival Kit.
--Mark