Load HDL file which modified failed

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

Load HDL file which modified failed

dimuth
I am a Mac user.

I modified the not gate implementation and the file is as follows

CHIP Not {
    IN in;
    OUT out;

    PARTS:
    Not(in=in ,out=notin);
}

after edit the hdl file by the external editor i can not load the file. but before edit the file i could load the hdl file.
Reply | Threaded
Open this post in threaded view
|

Re: Load HDL file which modified failed

cadet1620
Administrator
dimuth wrote
I am a Mac user.
...
after edit the hdl file by the external editor i can not load the file. but before edit the file i could load the hdl file.
The most common cause is that your editor is saving the the edited file in UTF-8 encoding.
You need to set your editor to save in ASCII or ANSI encoding.

There is also a bug in your HDL. You might want to read the Hardware Construction Survival Guide, specifically the HDL syntax and the meaning of "a=a" section.

--Mark