Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions etc/examples/nodes/fpga-miob.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# SPDX-FileCopyrightText: 2025 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0

logging = {
level = "info"
}

fpgas = {
zcu106 = {
interface = "platform",
ips = "../../fpga/zcu106-dino/zcu106-dino.json",
#ignore_ips = ["dino_dinoif_dac_0", "dino_dinoif_fast_nologic_0"], # Optionally ignore IPs
polling = true,
}
}

nodes = {
fpga_0 = {
type = "fpga",
card = "zcu106"
# connect = ["dino<->dma"] # Alternate HW Loopback
connect = ["0<->dma"] # Loopback
lowLatencyMode = false,
},

signal_gen_0 = {
type = "signal.v2",
realtime = true,
rate = 2,
in = {
signals = (
{
name = "sine.v2",
signal = "sine",
frequency = 0.1,
amplitude = 10,
}
)
},
}
}

paths = (
{
in = "signal_gen_0"
out = "fpga_0"
hooks = (
{
type = "print"
})

},
{
in = "fpga_0"
hooks = (
{
type = "print"
}
)
}
)

1 change: 1 addition & 0 deletions tests/integration/test-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ CONFIGS=$(find ${SRCDIR}/etc/ -name '*.conf' -o -name '*.json')
for CONFIG in ${CONFIGS}; do
if [ "$(basename ${CONFIG})" == "opal.conf" ] ||
[ "$(basename ${CONFIG})" == "fpga.conf" ] ||
[ "$(basename ${CONFIG})" == "fpga-miob.conf" ] ||
[ "$(basename ${CONFIG})" == "paths.conf" ] ||
[ "$(basename ${CONFIG})" == "tricks.json" ] ||
[ "$(basename ${CONFIG})" == "tricks.conf" ] ||
Expand Down