g3projects 0.2.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of g3projects might be problematic. Click here for more details.
- {g3projects-0.2.2 → g3projects-0.2.3}/PKG-INFO +1 -1
- {g3projects-0.2.2 → g3projects-0.2.3}/pyproject.toml +1 -1
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/physical/_physical.py +12 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects.egg-info/PKG-INFO +1 -1
- {g3projects-0.2.2 → g3projects-0.2.3}/LICENCE +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/README.md +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/setup.cfg +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/__init__.py +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/__init__.py +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/_logical.py +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/templates/ansic_prg.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/templates/autogenerated_block.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/templates/config_txt.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/templates/main_c.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/templates/main_c_system.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/templates/package_pkg_logical.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/templates/package_pkg_project.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/templates/package_pkg_system.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/templates/variables_var.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/templates/variables_var_system.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/main/__init__.py +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/main/_main.py +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/physical/__init__.py +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/physical/templates/config_pkg.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/physical/templates/config_sfdomain.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/physical/templates/cpu_pkg.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/physical/templates/hardware_hw.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/physical/templates/iomap_iom.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/physical/templates/physical_pkg.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/physical/templates/zone_sw.tpl +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/py.typed +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/utils/__init__.py +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/utils/_utils.py +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects.egg-info/SOURCES.txt +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects.egg-info/dependency_links.txt +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects.egg-info/entry_points.txt +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects.egg-info/requires.txt +0 -0
- {g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects.egg-info/top_level.txt +0 -0
|
@@ -135,10 +135,22 @@ def generate_hardware_hw_contents(
|
|
|
135
135
|
|
|
136
136
|
# Iomap.iom #
|
|
137
137
|
|
|
138
|
+
|
|
138
139
|
def generate_iomap_iom_contents(system: SWSystemDictWrapper) -> list[str]:
|
|
139
140
|
iomap_lines = []
|
|
140
141
|
for zone, _, device_path, device_data in system.iter_devices_system():
|
|
141
142
|
if zone == 'Common':
|
|
143
|
+
if 'control' in device_data:
|
|
144
|
+
if 'config' in device_data['control']:
|
|
145
|
+
if 'name' in device_data['control']['config']:
|
|
146
|
+
if 'SystemSafety' in device_data['control']['config']['name']:
|
|
147
|
+
for key, value in device_data['control'].get('iomap', {}).items():
|
|
148
|
+
device_varname = system.get_device_varname(device_data)
|
|
149
|
+
device = f'fb{device_varname}'
|
|
150
|
+
#zone_taskname = device_data['control']['config']['system']
|
|
151
|
+
zone_taskname = "System"
|
|
152
|
+
iomap_line = f'::{zone_taskname}:{device}.{key} AT {value};'
|
|
153
|
+
iomap_lines.append(indent(iomap_line, ' '))
|
|
142
154
|
continue
|
|
143
155
|
zone_taskname = system.get_zone_taskname(zone)
|
|
144
156
|
for key, value in device_data['control'].get('iomap', {}).items():
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/templates/autogenerated_block.tpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/templates/package_pkg_logical.tpl
RENAMED
|
File without changes
|
{g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/templates/package_pkg_project.tpl
RENAMED
|
File without changes
|
{g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/templates/package_pkg_system.tpl
RENAMED
|
File without changes
|
|
File without changes
|
{g3projects-0.2.2 → g3projects-0.2.3}/src/g3projects/logical/templates/variables_var_system.tpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|