mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
scripts/hwdef-parse: update ports format
This commit is contained in:
parent
4db0a98082
commit
935fa847aa
1 changed files with 6 additions and 2 deletions
|
@ -170,8 +170,12 @@ for busif in busifs:
|
|||
|
||||
ep = bus_trace(root, busname, opponent[type], whitelist)
|
||||
if ep in ips:
|
||||
ports = ips[ep].setdefault('ports', {})
|
||||
ports[type.lower()] = port
|
||||
ports = ips[ep].setdefault('ports', [])
|
||||
ports.append({
|
||||
'role': type.lower(),
|
||||
'target': switch.get('INSTANCE'),
|
||||
'port': port
|
||||
})
|
||||
|
||||
# find Interrupt assignments
|
||||
intc = root.find('.//MODULE[@MODTYPE="axi_pcie_intc"]')
|
||||
|
|
Loading…
Add table
Reference in a new issue