Changeset 215 for soft/giet_vm/mappings


Ignore:
Timestamp:
Sep 17, 2012, 10:47:46 AM (12 years ago)
Author:
karaoui
Message:

New components are now mandotory in the XML description:

The files giet_vsegs.ld and hard_config.h are now autogenerated by the xml2bin tool.

Location:
soft/giet_vm/mappings
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/mappings/1c_4p_four.xml

    r214 r215  
    11<?xml version="1.0"?>
    22
    3 <mapping_info   signature = "0xdeadbeef" name = "1c_4p_four" clusters = "1" vspaces  = "4" >
     3<mapping_info   signature = "0xdeadbeef" name = "1c_4p_four" cluster_x = "1" cluster_y = "1" vspaces  = "4" >
    44
    55*** This section describes an instance of the "caba_vgsb_xicu_mmu" generic architecture
     
    7171            <periph type = "TTY" psegname = "PSEG_TTY" channels  = "8" />
    7272            <periph type = "DMA" psegname = "PSEG_DMA" channels  = "1" />
     73            <periph type = "TIM" psegname = "PSEG_TIM" channels  = "4" />
     74            <periph type = "XICU" psegname = "PSEG_ICU" channels  = "5" />
    7375            <periph type = "FBF" psegname = "PSEG_FBF" />
    7476
  • soft/giet_vm/mappings/4c_1p_four.xml

    r214 r215  
    11<?xml version="1.0"?>
    22
    3 <mapping_info signature = "0xdeadbeef" name = "C4_P1_FOUR" clusters = "4" vspaces = "4" >
     3<mapping_info signature = "0xdeadbeef" name = "C4_P1_FOUR" cluster_x = "2" cluster_y = "2" vspaces = "4" >
    44
    55    <clusterset>
     
    88
    99            <pseg name = "PSEG_RAM" type = "RAM"  base = "0x00000000" length = "0x00C00000" />
    10             <pseg name = "PSEG_ICU" type = "PERI" base = "0x00F00000" length = "0x00001000" />
     10            <pseg name = "PSEG_XICU" type = "PERI" base = "0x00F00000" length = "0x00002000" />
    1111            <pseg name = "PSEG_DMA" type = "PERI" base = "0x00F30000" length = "0x00008000" />
    1212
     
    1717
    1818            <periph type = "DMA" psegname = "PSEG_DMA" channels = "1" />
     19            <periph type = "XICU" psegname = "PSEG_XICU" channels = "2" />
    1920
    2021        </cluster>
     
    2223
    2324            <pseg name = "PSEG_RAM" type = "RAM"  base = "0x40000000" length = "0x00C00000" />
    24             <pseg name = "PSEG_ICU" type = "PERI" base = "0x40F00000" length = "0x00001000" />
     25            <pseg name = "PSEG_XICU" type = "PERI" base = "0x40F00000" length = "0x00002000" />
    2526            <pseg name = "PSEG_DMA" type = "PERI" base = "0x40F30000" length = "0x00008000" />
    2627
     
    3132
    3233            <periph type = "DMA" psegname = "PSEG_DMA" channels = "1" />
     34            <periph type = "XICU" psegname = "PSEG_XICU" channels = "2" />
    3335
    3436        </cluster>
     
    3638
    3739            <pseg name = "PSEG_RAM" type = "RAM"  base = "0x80000000" length = "0x00C00000" />
    38             <pseg name = "PSEG_ICU" type = "PERI" base = "0x80F00000" length = "0x00001000" />
     40            <pseg name = "PSEG_XICU" type = "PERI" base = "0x80F00000" length = "0x00002000" />
    3941            <pseg name = "PSEG_DMA" type = "PERI" base = "0x80F30000" length = "0x00008000" />
    4042
     
    6971
    7072            <periph type = "DMA" psegname = "PSEG_DMA" channels = "1" />
     73            <periph type = "XICU" psegname = "PSEG_XICU" channels = "18" />
    7174            <periph type = "IOC" psegname = "PSEG_IOC" channels = "1" />
    7275            <periph type = "TTY" psegname = "PSEG_TTY" channels = "8" />
     
    7881
    7982            <pseg name = "PSEG_RAM" type = "RAM"  base = "0xC0000000" length = "0x00C00000" />
    80             <pseg name = "PSEG_ICU" type = "PERI" base = "0xC0F00000" length = "0x00001000" />
     83            <pseg name = "PSEG_XICU" type = "PERI" base = "0xC0F00000" length = "0x00001000" />
    8184            <pseg name = "PSEG_DMA" type = "PERI" base = "0xC0F30000" length = "0x00008000" />
    8285
     
    8790
    8891            <periph  type = "DMA" psegname  = "PSEG_DMA" channels = "1" />
     92            <periph type = "XICU" psegname = "PSEG_XICU" channels = "2" />
    8993        </cluster>
    9094    </clusterset>
     
    135139*** On peut aussi définir un vseg factorisé en introduisant le CLUSTER_SIZE...
    136140
    137         <vseg name = "seg_icu_0"          vbase = "0x00F00000" mode = "__W_" clusterid = "0" psegname = "PSEG_ICU" >
     141        <vseg name = "seg_icu_0"          vbase = "0x00F00000" mode = "__W_" clusterid = "0" psegname = "PSEG_XICU" >
    138142            <vobj name = "icu_0"          type = "PERI" length  = "0x00001000" />
    139143        </vseg>
    140         <vseg name = "seg_icu_1"          vbase = "0x40F00000" mode = "__W_" clusterid = "1" psegname = "PSEG_ICU" >
     144        <vseg name = "seg_icu_1"          vbase = "0x40F00000" mode = "__W_" clusterid = "1" psegname = "PSEG_XICU" >
    141145            <vobj name = "icu_1"          type = "PERI" length  = "0x00001000" />
    142146        </vseg>
    143         <vseg name = "seg_icu_2"          vbase = "0x80F00000" mode = "__W_" clusterid = "2" psegname = "PSEG_ICU" >
     147        <vseg name = "seg_icu_2"          vbase = "0x80F00000" mode = "__W_" clusterid = "2" psegname = "PSEG_XICU" >
    144148            <vobj name = "icu_2"          type = "PERI" length  = "0x00001000" />
    145149        </vseg>
    146         <vseg name = "seg_icu_3"          vbase = "0xC0F00000" mode = "__W_" clusterid = "3" psegname = "PSEG_ICU" >
     150        <vseg name = "seg_icu_3"          vbase = "0xC0F00000" mode = "__W_" clusterid = "3" psegname = "PSEG_XICU" >
    147151            <vobj name = "icu_3"          type = "PERI" length  = "0x00001000" />
    148152        </vseg>
  • soft/giet_vm/mappings/exemple.xml

    r214 r215  
    33<mapping_info   signature = "0xdeadbeef"
    44                name     = "1C_4P_FOUR"
    5                 clusters = "1"
    6                 vspaces  = "4" >
     5                vspaces  = "4"
     6                cluster_x = "1"
     7                cluster_y = "1" >
    78
    89        <clusterset>
     
    212213                                  channels  = "8" />
    213214
     215                         <periph  type      = "ICU"
     216                                  psegname  = "PSEG_ICU"
     217                                  channels  = "8" />
     218
    214219                         <periph  type      = "FBF"
    215220                                  psegname  = "PSEG_FBF" />
Note: See TracChangeset for help on using the changeset viewer.