hardware simulator don't load

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

hardware simulator don't load

Ahmed Hisham
why hardware simulator don't load the the And.HDL File
i have tried to load it with another HDL Files and there wasn't any problems
why there is a problem with this file



that's my code if i remove this line of code from the file load correctly what is the problem

/**
 * And gate:
 * out = 1 if (a == 1 and b == 1)
 *       0 otherwise
 */

CHIP And {
    IN a, b;
    OUT out;

    PARTS:
    And  (a=a, b=n, out=out);
}


the problem is in this line
rst
Reply | Threaded
Open this post in threaded view
|

Re: hardware simulator don't load

rst
You are trying to use the And gate in its implementation. You have to build it using gates that already exist, e.g. Nand.

Shahar.