Re: New draft LRM and progress

From: <alan.fitch@doulos.com>
Date: Tue Nov 30 2010 - 02:35:49 PST

Some more minor comments:

Section 9.5.7
What is the reason for

"The value of the relation &V[i] + j == &V[i + j] is undefined for all vectors v and for all indices i
and j."

Standard (STL) vectors are guaranteed to be laid out contiguously in memory such that you can just take
the address of the first element and access the contents as though they were a standard C array.

p423
"Class sc_vector_assembly shall be copyable"
I don't have the C++ standard to hand - but does copyable always also mean "assignable"?

18.3.4

The default name for tlm_fifo is sc_gen_unique_name("fifo"). That is the same as
for sc_fifo. So an sc_fifo object and a tlm_fifo object in the same scope would have
duplicate hierarchical names.

Alan

-- 
Alan Fitch
Senior Consultant
Doulos - Developing Design Know-how
VHDL * Verilog * SystemVerilog * SystemC * PSL * Perl * Tcl/Tk * Project Services
Doulos Ltd. Church Hatch, 22 Market Place, Ringwood, Hampshire, BH24 1AW, UK
Tel:  + 44 (0)1425 471223                       Email: alan.fitch@doulos.com 
Fax:  +44 (0)1425 471573                        http://www.doulos.com
--------------------------------------------------------------------------------
Doulos Ltd is registered in England and Wales with company no. 3723454
Its registered office is 4 Brackley Close, Bournemouth International Airport,
 Christchurch, BH23 6SE, UK. 
This message (and associated files) may contain information that is confidential, 
proprietary, privileged, or subject to copyright. It is intended solely for the use
of the individual to whom it is addressed and others authorised to receive it. If
you have received this email in error, please notify the sender and delete all
copies. This message may contain personal views which are not the views of
Doulos, unless specifically stated.
-----owner-systemc-p1666-technical@eda.org wrote: -----
To: systemc-p1666-technical@eda.org
From: john.aynsley@doulos.com
Sent by: owner-systemc-p1666-technical@eda.org
Date: 19/11/2010 10:23
Subject: New draft LRM and progress
Folks,
I have uploaded a new draft LRM including
sc_vector and sc_writer_policy.
We are now working on just 3 enhancements
plus any other minor issues or corrections, aiming for completion by the
end of November:
* Adding sc_pause and sc_get_status
* Making request_update thread safe
* Naming sc_events
Please keep up the energy levels so
we can complete each of these by end Nov.
Thanks!
John A
-- 
This message has been scanned for viruses and
dangerous content by
MailScanner, and is
believed to be clean.
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Nov 30 02:37:00 2010

This archive was generated by hypermail 2.1.8 : Tue Nov 30 2010 - 02:37:08 PST