Porblem with And.HDL

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

Porblem with And.HDL

wfalby
This post was updated on .
I typed in the following:

    [Correct HDL code removed by admin.]

I then run the And.tst script and it returns an error: Comparison failure at line 5. The output is always 0.
Where's my error?
Reply | Threaded
Open this post in threaded view
|

Re: Porblem with And.HDL

ybakos
Put your Nand declaration on one line. Maybe you're using tabs instead of spaces and it's messing up the parser.
Reply | Threaded
Open this post in threaded view
|

Re: Porblem with And.HDL

wfalby
Thanks for your response. I tried putting it all on one line and got the same error. I made sure only spaces were used. I'm running Vista Home Premium and used both Notepad and Wordpad. Does the HDL look correct?

Reply | Threaded
Open this post in threaded view
|

Re: Porblem with And.HDL

Shimon Schocken
Administrator
The HDL looks fine, but it's not the entire HDL file.  Email your .hdl file to me and I'll take a look.  -- Shimon
Reply | Threaded
Open this post in threaded view
|

Re: Porblem with And.HDL

wfalby
Shimon:

Did you receive the HDL file?

wfalby