Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a matcher for OS IP devices and IPs on a FPGA #839

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

IgnoreWarnings
Copy link
Collaborator

Match ip devices on os level with ips on the fpga based on memory address.

Signed-off-by: Pascal Bauer <[email protected]>
common/include/villas/kernel/devices/device_ip_matcher.hpp Outdated Show resolved Hide resolved
#include <villas/fpga/core.hpp>
#include <villas/kernel/devices/ip_device.hpp>

class DeviceIpMatcher {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why create a class? A function would be enough right?


std::vector<std::pair<std::shared_ptr<villas::fpga::ip::Core>,
villas::kernel::devices::IpDevice>>
match() const {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't look correctly formatted. Please check your clang-format configuration

@stv0g stv0g changed the title Add a matcher for os ip devices and ips on a fpga Add a matcher for OS IP devices and IPs on a FPGA Nov 29, 2024
@IgnoreWarnings IgnoreWarnings marked this pull request as draft December 5, 2024 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants