[sv-cc] DirectC C Layer - revised (pdf)


Subject: [sv-cc] DirectC C Layer - revised (pdf)
From: Andrzej Litwiniuk (Andrzej.Litwiniuk@synopsys.com)
Date: Wed Feb 05 2003 - 09:13:36 PST


Hi all,

Attached is the revised (again!) version of DirectC C Layer in pdf format
[formatting courtesy of Phil McGee (Synopsys)].

The table of contents is still in ascii format and is enclosed below.

Changes:
- rewritten 3.5 'Context' and non-'context' functions
- rewritten 3.6 'Pure' functions
- more in 4.7 Canonical representation of packed arrays
- more in 5.6 Input arguments
- new 5.8 Function result
- new macros in 6.1.2

Andrzej

--------------------------------------------------------------
Table of Contents
1. Overview
   1.1 Naming convention
2. Portability
   2.1 Binary compatibility
   2.2 Source level compatibility
   2.3 Include files
   2.4 "svc.h" include file
   2.5 "svc_src.h" include file
3. Semantical Constraints
   3.1 Types of formal arguments
   3.2 Input Arguments
   3.3 Output Arguments
   3.4 Value changes for output and inout arguments
   3.5 'Context' and non-'context' functions
   3.6 'Pure' functions
   3.7 Memory management
4. Data Types
   4.1 Limitations
   4.2 Duality of types: SV types vs. C types
   4.3 Assumed Data Representation
   4.4 Basic Types
   4.5 Normalized Ranges
   4.6 Mapping between SV ranges and normalized ranges
   4.7 Canonical representation of packed arrays
5. Argument passing modes
   5.1 Overview
   5.2 Calling SV functions from C
   5.3 Argument passing by value
   5.4 Argument passing by reference
       5.4.1 Allocating actual arguments for SV specific types.
   5.5 Argument passing by sv_handle - Open Arrays
   5.6 Input arguments
   5.7 Inout and output arguments
   5.8 Function result
6. Include files
   6.1 Binary compatibility include file "svc.h"
       6.1.1 scalars of type 'bit' and 'logic'
       6.1.2 Canonical representation of packed arrays
       6.1.3 Implementation dependent representation
       6.1.4 Translation between actual representation and canonical representation
   6.2 Source level compatibility include file "svc_src.h"
7. Arrays
   7.1 Multidimensional arrays
   7.2 Direct access to unpacked arrays
   7.3 Access to packed arrays via canonical representation
   7.4 Bit selects
   7.5 Part selects
8. Open Arrays
   8.1 Actual ranges
   8.2 Array querying functions
   8.3 Access functions
   8.4 Access to the actual representation
   8.5 Access via canonical representation
   8.6 Access to scalars ('bit' and 'logic')
   8.7 Access to array elements of other types
--------------------------------------------------------------




This archive was generated by hypermail 2b28 : Wed Feb 05 2003 - 09:14:49 PST