[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Icarus Verilog, convert_hex2ver and VPI



Dear Stephen:
    I believe Tony has two errors. I am addressing the first and you are
addressing the second. The first:

Error!  LPM_ROM must have data file for initialization.

is I believe a model issue and that is what I have been describing. The
second:

ERROR: $readmemh parameter must be a constant
                   0:Error!  Invalid address.

is the error you have been addressing, and I understand and appreciate where
you are coming from.  Tony needs to understand and solve the first on his
own and download your new code for the second.


----- Original Message -----
From: "Stephen Williams" <steve@icarus.com>
To: <geda-user@seul.org>
Sent: Friday, May 23, 2003 10:31 AM
Subject: Re: gEDA-user: Icarus Verilog, convert_hex2ver and VPI


>
> tonyp@platypus.net said:
> > ERROR: $readmemh parameter must be a constant
>
> I should be more explicit. This message is complaining that the
> file name parameter is not a constant string. However, that was
> too extreme a requirement, and in your case you are using a
> parameter to carry the value. The snapshots have fixed this
> by being more robust at accepting strings in things.
> --
> Steve Williams                "The woods are lovely, dark and deep.
> steve at icarus.com           But I have promises to keep,
> steve at picturel.com         and lines to code before I sleep,
> http://www.picturel.com       And lines to code before I sleep."
>