chip wont load

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

chip wont load

pazgas
hi, ive implemented a Mux2-1 chip
the file name is the same as the chip and its sitting in a folder that is at the same level of the bat files

CHIP 2MUX1 {
        IN a, b, c;
        OUT out;
       
        PARTS:
        Not(in=c,out=Nc);
        And(a=a ,b=Nc ,out=a_Nc);
        And(a=b ,b=c ,out=b_c);
        Or(a=a_Nc ,b=b_c ,out=out);
}

cant find the problem and HW simulator doesnt load it.
Reply | Threaded
Open this post in threaded view
|

Re: chip wont load

pazgas
Error: Line 3 ("CHIP 2MUX1") missing chip name
Reply | Threaded
Open this post in threaded view
|

Re: chip wont load

WBahn
Administrator
In reply to this post by pazgas
I'm pretty sure that chip names can't start with a number.

You really need to use the names that are given in the project, otherwise the test scripts can't access the correct files.