Changes between Version 15 and Version 16 of arch_info


Ignore:
Timestamp:
Jan 16, 2017, 10:56:28 AM (7 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • arch_info

    v15 v16  
    9898|| '''size'''        || segment size (bytes) ||
    9999
    100 === 3.4) Peripheral ===
     100=== 3.4) Peripherals ===
    101101
    102 The '''archi.addPeriph( )''' construct adds one peripheral in a cluster. ALMOS-MK supports multi-channels peripherals.
     102The '''archi.addDevive( )''' construct adds one peripheral in a cluster. ALMOS-MK supports multi-channels peripherals.
     103ALMOS-MK supports multi-channels peripherals.
    103104This construct has the following arguments:
    104105|| '''cxy'''         || cluster identifier ||
     
    106107|| '''size'''        || segment size (bytes) ||
    107108|| '''ptype'''     || Peripheral type ||
    108 || '''subtype'''  || Peripheral subtype ||
    109109|| '''channels''' || number of channels for multi-channels peripherals ||
    110110|| '''arg0'''        || optionnal argument depending on peripheral type ||
     
    113113|| '''arg3'''          || optionnal argument depending on peripheral type ||
    114114
    115 Each peripheral type is defines by a composite index (ptype,subtype).
    116 The supported peripheral types and subtypes are defined in the [source:almos-work/tools/python/genarch.py genarch.py] file.
     115The peripheral type defines actually a composite index containing a functional type (func-type), and an implementation type (impl_type).
     116The supported peripheral types are defined in the [source:almos-work/tools/arch_info/arch_classes.py arch_classes.py] file.
    117117
    118118The following peripheral components require specific arguments with the following semantic:
     
    124124|| arg3       || unused                             || unused                       || number of STATUS registers       ||
    125125
    126 Hardware coprocessors using the Generic DMA controller to access memory are described as peripherals. They must be defined with the MWR ''ptype'' argument, and the ''subtype'' argument defines the coprocessor type.
     126Hardware coprocessors using the Generic DMA controller to access memory are described as peripherals. They must be defined with the MWR ''func_ptype'' argument, and the ''impl_type'' argument defines the coprocessor type.
    127127
    128128=== 3.5) Interrupt line ===
    129129
    130 The '''archi.addIrq()''' is used to describe the hardware interrupts routing from a physical peripheral to an interrupt concentrator. This construct adds one input IRQ line to an XCU peripheral, or to a PIC peripheral. It has the following arguments:
    131 || '''periph'''   || peripheral receiving the IRQ line ||
    132 || '''index'''    || input port index ||
    133 || '''isrtype'''  || Interrupt Service Routine type ||
    134 || '''channel''' || channel index for multi-channel ISR ||
     130The '''archi.addIrq()''' construct is used to describe the hardware interrupts routing from an output interrupt port in a physical peripheral, to an input interrupt port in an interrupt concentrator. This construct adds one input IRQ line to an XCU peripheral, or to a PIC peripheral. It has the following arguments:
     131|| '''dst_dev'''   || destination device (XCU or PIC)  ||
     132|| '''index'''    || input port index in destination device ||
     133|| '''src_dev'''  || source device ||
     134|| '''channel'''  || source device channel (default value is 0) ||
     135|| '''is_rx''' || source device direction (default value is False) ||
    135136
    136 The supported ISR types are defined in the [source:almos-work/tools/python/genarch.py genarch.py] file.
     137The supported devices types are defined in the [source:almos-work/tools/arch_info/arch_class.py arch_class.py] file.
    137138
    138139
     
    142143Therefore, the '''boot_info_t''' structure defines the generic (hardware independent) interface between the hardware specific boot-loader and the kernel. 
    143144
    144 It is defined in the [source:almos-work/tools/archinfo/boot_info.h boot_info.h] file.
     145It is defined in the [source:almos-work/tools/arch_info/boot_info.h boot_info.h] file.