Changes between Version 1 and Version 2 of Writing Rules/General


Ignore:
Timestamp:
Apr 26, 2007, 10:29:54 PM (17 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Writing Rules/General

    v1 v2  
    55[[PageOutline]]
    66
    7 = A) Introduction =
    8 
    9 = B) Naming convention =
     7= A) Naming conventions =
    108
    119'''namespaces'''
     
    2523 * All component member variable names should be prefixed with `m_`
    2624
    27 = C) Component indexation =
     25= B) Component indexation =
    2826
    2927In a VCI-based architecture, all initiators and targets must be indexed. Initiators and targets have different address spaces.
     
    3331Indexes can be :
    3432 * a simple scalar index, in  case of a ''flat'' interconnect.
    35  * a composite index, in case of a ''clusterised'' architectures, using a two level hierarchical interconnect. Each component is identified by two scalars: cluster_index, local_index.
     33 * a composite index, in case of a ''clusterised'' architecture, using a two level hierarchical interconnect. Each component is identified by two scalars: cluster_index, local_index.
    3634
    3735The `common/int_tab.h`file defines an utility class storing a list of indexes : All indexes must be declared as IntTabs.
     36
     37= C) Endianness =
     38
     39All SoCLib targets components respect the little-endianness convention.
     40In case of write, the bytes transfers are fully controlled by the VCI BE bits :
     41 * If the VCI word is larger than one byte, the LSB bits of the VCI ADDRESS are ignored, and the VCI ADDRESS is only used to address the selected VCI word.
     42 *  the selected bytes are specified the VCI BE field, and the BE0 bit is always associated to the Byte 0 of the VCI WDATA field.
     43 * The BE1 bit is associated