( ESNUG 234 Item 3 ) ---------------------------------------------- [3/14/96]
From: cliffc@europa.com (Cliff Cummings)
Subject: LMG-Synopsys EISA Source Model Bug
John -
I don't know how many of your ESNUG readers deal with Verilog system
simulation and Synopsys-LMG EISA Source Models, but those who do will benefit
greatly from the following bug information. The EISA Source Model
documentation is missing information regarding the eisapmaster command set.
The eisapmaster.txt file is missing the compare_data argument here:
mem_read (addr, size, byte_number, compare_data);
------------
io_read (addr, size, byte_number, compare_data);
------------
burst_read (addr, size, byte_number, compare_data, num_burst);
------------
continue_read (addr, size, byte_number, compare_data);
------------
Since these commands can be run from an external command file, they are not
checked at compile time but give syntax errors at run time. The syntax
errors point to the offending command but only report "Syntax Error" with no
additional details concerning the error.
Unfortunately, we lost a couple of days due to this problem. The first
command in our command file was a read_mem command, which gave a syntax
error. We checked the documentation which indicated that the command was
correct as written. We then tried replacing the mem_read command with an
io_read command, yielding the same result.
I finally spent a few hours looking over the EISA source-model Verilog code
(which is translated from VHDL and extremely difficult to follow), found the
command tasks and noted that four of the 12 command tasks had extra
un-documented arguments. Adding the compare_data arguments to the above
commands fixed the syntax errors. Most nasty!! LMG is aware of the problem
and will be correcting the documentation in the future (date unknown).
Hope this saves somebody some wailing and gnashing of teeth ;-)
- Cliff Cummings
(now on my own instead of at "Qualis Design")
|
|