Skip to content

Commit

Permalink
Stop using file name as the IP Core name in spec and dataflow builders
Browse files Browse the repository at this point in the history
  • Loading branch information
mszalkowski-ant committed Oct 15, 2024
1 parent fb66f8c commit ea5fd0e
Show file tree
Hide file tree
Showing 21 changed files with 1,469 additions and 1,400 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Resolved an issue where IP Core node names in the GUI were parsed from the yaml description file name.
- Resolved an issue with YAML files produced by `topwrap parse`, where unnecessary double hyphens (`--`) appeared in signal definitions

## [0.1.0] - 2024-09-27
Expand Down
2 changes: 1 addition & 1 deletion examples/hdmi/ipcores/axi_dispctrl.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2021-2024 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0

name: axi_dispctrl_v1_0
name: axi_dispctrl

interfaces:
S00_AXI:
Expand Down
2 changes: 1 addition & 1 deletion examples/hdmi/ipcores/clock_crossing.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2021-2024 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0

name: cdc_flag
name: clock_crossing

signals:
in:
Expand Down
2 changes: 1 addition & 1 deletion examples/hdmi/ipcores/dma_axi_in_axis_out.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2021-2024 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0

name: DMATop
name: dma_axi_in_axis_out

interfaces:
m_axis:
Expand Down
2 changes: 1 addition & 1 deletion examples/hdmi/ipcores/hdmi_tx.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2021-2024 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0

name: HDMI_Tx_v1_0
name: hdmi_tx

signals:
in:
Expand Down
2 changes: 1 addition & 1 deletion examples/hdmi/ipcores/litex_mmcm.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2021-2024 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0

name: top
name: litex_mmcm

interfaces:
axi:
Expand Down
2 changes: 1 addition & 1 deletion examples/hdmi/ipcores/proc_sys_reset.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2021-2024 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0

name: proc_sys_reset_0
name: proc_sys_reset

signals:
in:
Expand Down
2 changes: 1 addition & 1 deletion examples/hdmi/ipcores/ps7.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2021-2024 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0

name: ps7_inst
name: ps7

signals:
in:
Expand Down
2 changes: 1 addition & 1 deletion examples/pwm/ipcores/ps7.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2021-2024 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0

name: ps7_inst
name: ps7

signals:
in:
Expand Down
4 changes: 2 additions & 2 deletions examples/user_repository/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ external:
- ex_out_1
ips:
core1:
file: examples/user_repository/repo/cores/example_core1/core1.yaml
file: repo/cores/example_core1/core1.yaml
core2:
file: examples/user_repository/repo/cores/example_core2/core2.yaml
file: repo/cores/example_core2/core2.yaml
106 changes: 59 additions & 47 deletions tests/data/data_kpm/conversions/complex/specification_complex.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@
"interfaceConnectionPattern": "solid"
}
},
"layers": [
{
"name": "IP Cores",
"nodeLayers": [
"IP Cores"
]
},
{
"name": "Externals",
"nodeLayers": [
"Externals"
]
},
{
"name": "Constants",
"nodeLayers": [
"Constants"
]
}
],
"layout": "CytoscapeEngine - grid",
"movementStep": 15,
"navbarItems": [
Expand Down Expand Up @@ -44,23 +64,23 @@
"category": "IPcore",
"interfaces": [
{
"direction": "input",
"direction": "output",
"maxConnectionsCount": -1,
"name": "c_mod_in_1",
"name": "c_int_out_1",
"type": [
"port"
]
},
{
"direction": "output",
"direction": "input",
"maxConnectionsCount": -1,
"name": "c_int_out_1",
"name": "c_mod_in_1",
"type": [
"port"
]
}
],
"layer": "c_mod_1",
"layer": "IP Cores",
"name": "c_mod_1",
"properties": [
{
Expand All @@ -76,23 +96,23 @@
"category": "IPcore",
"interfaces": [
{
"direction": "output",
"direction": "input",
"maxConnectionsCount": -1,
"name": "c_int_out_2",
"name": "c_mod_in_2",
"type": [
"port"
]
},
{
"direction": "input",
"direction": "output",
"maxConnectionsCount": -1,
"name": "c_mod_in_2",
"name": "c_int_out_2",
"type": [
"port"
]
}
],
"layer": "c_mod_2",
"layer": "IP Cores",
"name": "c_mod_2"
},
{
Expand All @@ -101,39 +121,39 @@
"category": "IPcore",
"interfaces": [
{
"direction": "output",
"direction": "input",
"maxConnectionsCount": -1,
"name": "c_mod_out_1",
"name": "c_int_const_in",
"type": [
"port"
]
},
{
"direction": "input",
"direction": "output",
"maxConnectionsCount": -1,
"name": "c_int_in_1",
"name": "c_mod_out_1",
"type": [
"port"
]
},
{
"direction": "input",
"maxConnectionsCount": -1,
"name": "c_int_const_in",
"name": "c_int_in_2",
"type": [
"port"
]
},
{
"direction": "input",
"maxConnectionsCount": -1,
"name": "c_int_in_2",
"name": "c_int_in_1",
"type": [
"port"
]
}
],
"layer": "c_mod_3",
"layer": "IP Cores",
"name": "c_mod_3"
},
{
Expand All @@ -149,14 +169,6 @@
"port"
]
},
{
"direction": "output",
"maxConnectionsCount": -1,
"name": "cs_s1_mint_out_1",
"type": [
"port"
]
},
{
"direction": "input",
"maxConnectionsCount": -1,
Expand All @@ -166,15 +178,15 @@
]
},
{
"direction": "input",
"direction": "output",
"maxConnectionsCount": -1,
"name": "cs_s1_f_ext_const_in",
"name": "cs_s1_mint_out_1",
"type": [
"port"
]
}
],
"layer": "s1_mod_1",
"layer": "IP Cores",
"name": "s1_mod_1"
},
{
Expand All @@ -199,7 +211,7 @@
]
}
],
"layer": "s1_mod_2",
"layer": "IP Cores",
"name": "s1_mod_2"
},
{
Expand All @@ -224,7 +236,7 @@
]
}
],
"layer": "s1_mod_3",
"layer": "IP Cores",
"name": "s1_mod_3",
"properties": [
{
Expand All @@ -240,39 +252,39 @@
"category": "IPcore",
"interfaces": [
{
"direction": "input",
"direction": "output",
"maxConnectionsCount": -1,
"name": "cs_s2_f_int_in_2",
"name": "cs_s2_mint_out_1",
"type": [
"port"
]
},
{
"direction": "output",
"direction": "input",
"maxConnectionsCount": -1,
"name": "cs_s2_mint_out_2",
"name": "cs_s2_f_int_in_1",
"type": [
"port"
]
},
{
"direction": "output",
"direction": "input",
"maxConnectionsCount": -1,
"name": "cs_s2_mint_out_1",
"name": "cs_s2_f_int_in_2",
"type": [
"port"
]
},
{
"direction": "input",
"direction": "output",
"maxConnectionsCount": -1,
"name": "cs_s2_f_int_in_1",
"name": "cs_s2_mint_out_2",
"type": [
"port"
]
}
],
"layer": "s2_mod_1",
"layer": "IP Cores",
"name": "s2_mod_1"
},
{
Expand All @@ -291,21 +303,21 @@
{
"direction": "input",
"maxConnectionsCount": -1,
"name": "cs_s2_mint_in_2",
"name": "cs_s2_mint_in_1",
"type": [
"port"
]
},
{
"direction": "input",
"maxConnectionsCount": -1,
"name": "cs_s2_mint_in_1",
"name": "cs_s2_mint_in_2",
"type": [
"port"
]
}
],
"layer": "s2_mod_2",
"layer": "IP Cores",
"name": "s2_mod_2"
},
{
Expand All @@ -321,7 +333,7 @@
]
}
],
"layer": "External Output",
"layer": "Externals",
"name": "External Output",
"properties": [
{
Expand All @@ -344,7 +356,7 @@
]
}
],
"layer": "External Input",
"layer": "Externals",
"name": "External Input",
"properties": [
{
Expand All @@ -367,7 +379,7 @@
]
}
],
"layer": "External Inout",
"layer": "Externals",
"name": "External Inout",
"properties": [
{
Expand All @@ -390,7 +402,7 @@
]
}
],
"layer": "Constant",
"layer": "Constants",
"name": "Constant",
"properties": [
{
Expand Down Expand Up @@ -421,7 +433,7 @@
]
}
],
"layer": "Subgraph port",
"layer": "Externals",
"name": "Subgraph port"
}
]
Expand Down
Loading

0 comments on commit ea5fd0e

Please sign in to comment.