Skip to content

Commit

Permalink
change name of "parseVLNV" to "parseIpIdentifier"
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnoreWarnings committed Jun 18, 2024
1 parent 6535de6 commit e6f917d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fpga/include/villas/fpga/core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class CoreFactory : public plugin::Plugin {
public:
using plugin::Plugin::Plugin;

static std::list<IpIdentifier> parseVLNV(json_t *json_ips);
static std::list<IpIdentifier> parseIpIdentifier(json_t *json_ips);
static std::list<IpIdentifier> reorderIps(std::list<IpIdentifier> allIps);
static std::list<std::shared_ptr<Core>>
configureIps(std::list<IpIdentifier> orderedIps, json_t *json_ips,
Expand Down
4 changes: 2 additions & 2 deletions fpga/lib/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static std::list<Vlnv> vlnvInitializationOrder = {
Vlnv("xilinx.com:ip:axi_iic:"),
};

std::list<IpIdentifier> CoreFactory::parseVLNV(json_t *json_ips) {
std::list<IpIdentifier> CoreFactory::parseIpIdentifier(json_t *json_ips) {
// Parse all IP instance names and their VLNV into list `allIps`
std::list<IpIdentifier> allIps;

Expand Down Expand Up @@ -302,7 +302,7 @@ std::list<std::shared_ptr<Core>> CoreFactory::make(Card *card,
}

std::list<IpIdentifier> allIps =
parseVLNV(json_ips); // All IPs available in config
parseIpIdentifier(json_ips); // All IPs available in config

std::list<IpIdentifier> orderedIps =
reorderIps(allIps); // IPs ordered in initialization order
Expand Down

0 comments on commit e6f917d

Please sign in to comment.