Number | 309
|
Category | errata
|
Synopsis | 19.4, Example 3: two run-on $display lines
|
State | lrmdraft
|
Class | errata-simple
|
Arrival-Date | Mar 24 2003
|
Originator | Shalom.Bresticker@motorola.com
|
Release | 2001b: 19.4 (Example 3)
|
Environment |
|
Description |
In 19.4, Example 3, the following lines appear: `ifndef last_result initial $display("first_block, second_block, last_result not defined."); `elsif real_last initial $display("first_block, second_block not defined, last_result and real_last defined."); The two $display statements are each split up over two lines without closing and reopening the quotation marks. The example should be reformatted or changed to avoid it. |
Fix |
In 19.4, Example 3, CHANGE THE LINES `ifndef last_result initial $display("first_block, second_block, last_result not defined."); `elsif real_last initial $display("first_block, second_block not defined, last_result and real_last defined."); such that each of the 2 $display statements is split over 2 lines with each line beginning and ending with double quotes. |
Audit-Trail |
|
Unformatted |
|
Hosted by Boyd Technology