Hi Shalom, I read LRM incorrectly , Thank You for Your clarification, Regards, Radek _____ From: Bresticker, Shalom [mailto:shalom.bresticker@intel.com] Sent: Thursday, December 19, 2013 9:56 AM To: Radosław Nawrot; sv-cc@eda.org Subject: RE: [sv-cc] String concatenation as dumpfile argument Hi, Radek. This is already legal, it is done all the time. The intent of the LRM is "an expression whose value is .". Regards, Shalom From: owner-sv-cc@eda.org [mailto:owner-sv-cc@eda.org] On Behalf Of Rados?aw Nawrot Sent: Thursday, December 19, 2013 10:47 To: sv-cc@eda.org Subject: [sv-cc] String concatenation as dumpfile argument Hi All, I have question about string concatenation as $dumpfile argument. Is it legal ? LRM says: " 21.7.1.1 Specifying name of dump file ($dumpfile) The $dumpfile task shall be used to specify the name of the VCD file. The syntax for the task is given in Syntax 21-14. dumpfile_task ::= $dumpfile ( filename ) ; Syntax 21-14-Syntax for $dumpfile task (not in Annex A) The filename is an expression that is a string literal, string data type, or an integral data type containing a character string that names the file to be opened. The filename is optional and defaults to the string literal "dump.vcd" if not specified. " And whant about string concatenation? It would be very usefull ; example; string path,file $dumpfile({path,file}); Path can be hardcoded and file can he parameter of plusarg argument. I propose to change: " The filename is an expression that is a string literal, string data type, or an integral data type containing a character string that names the file to be opened. The filename is optional and defaults to the string literal "dump.vcd" if not specified. " to: " The filename is an expression that is a string literal, string data type, an integral data type or concatenation and replication of above. Such expression contains a character string that names the file to be opened. The filename is optional and defaults to the string literal "dump.vcd" if not specified. " Regards, Radek -- This message has been scanned for viruses and dangerous content by <http://www.mailscanner.info/> MailScanner, and is believed to be clean. --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu Dec 19 01:22:53 2013
This archive was generated by hypermail 2.1.8 : Thu Dec 19 2013 - 01:23:32 PST