Changes between Version 15 and Version 16 of arch_info
- Timestamp:
- Jan 16, 2017, 10:56:28 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
arch_info
v15 v16 98 98 || '''size''' || segment size (bytes) || 99 99 100 === 3.4) Peripheral ===100 === 3.4) Peripherals === 101 101 102 The '''archi.addPeriph( )''' construct adds one peripheral in a cluster. ALMOS-MK supports multi-channels peripherals. 102 The '''archi.addDevive( )''' construct adds one peripheral in a cluster. ALMOS-MK supports multi-channels peripherals. 103 ALMOS-MK supports multi-channels peripherals. 103 104 This construct has the following arguments: 104 105 || '''cxy''' || cluster identifier || … … 106 107 || '''size''' || segment size (bytes) || 107 108 || '''ptype''' || Peripheral type || 108 || '''subtype''' || Peripheral subtype ||109 109 || '''channels''' || number of channels for multi-channels peripherals || 110 110 || '''arg0''' || optionnal argument depending on peripheral type || … … 113 113 || '''arg3''' || optionnal argument depending on peripheral type || 114 114 115 Each peripheral type is defines by a composite index (ptype,subtype).116 The supported peripheral types a nd subtypes are defined in the [source:almos-work/tools/python/genarch.py genarch.py] file.115 The peripheral type defines actually a composite index containing a functional type (func-type), and an implementation type (impl_type). 116 The supported peripheral types are defined in the [source:almos-work/tools/arch_info/arch_classes.py arch_classes.py] file. 117 117 118 118 The following peripheral components require specific arguments with the following semantic: … … 124 124 || arg3 || unused || unused || number of STATUS registers || 125 125 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.126 Hardware 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. 127 127 128 128 === 3.5) Interrupt line === 129 129 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 || 130 The '''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) || 135 136 136 The supported ISR types are defined in the [source:almos-work/tools/python/genarch.py genarch.py] file.137 The supported devices types are defined in the [source:almos-work/tools/arch_info/arch_class.py arch_class.py] file. 137 138 138 139 … … 142 143 Therefore, the '''boot_info_t''' structure defines the generic (hardware independent) interface between the hardware specific boot-loader and the kernel. 143 144 144 It is defined in the [source:almos-work/tools/arch info/boot_info.h boot_info.h] file.145 It is defined in the [source:almos-work/tools/arch_info/boot_info.h boot_info.h] file.