42 class ProjectDirectory;
68 NETLIST_API std::unique_ptr<Netlist>
load_netlist(
const std::filesystem::path& netlist_file,
const std::filesystem::path& gate_library_file = std::filesystem::path());
79 NETLIST_API std::unique_ptr<Netlist>
load_netlist(
const std::filesystem::path& netlist_file, GateLibrary* gate_library);
std::unique_ptr< Netlist > create_netlist(const GateLibrary *gate_library)
Create a new empty netlist using the specified gate library.
std::unique_ptr< Netlist > load_hal_project(const std::filesystem::path &project_dir)
Create a netlist from the given hal project.
std::unique_ptr< Netlist > load_netlist_from_string(const std::string &netlist_string, const std::filesystem::path &gate_library_file)
Create a netlist from the given string.
std::unique_ptr< Netlist > load_netlist(const std::filesystem::path &netlist_file, const std::filesystem::path &gate_library_file)
Create a netlist from the given file.
std::vector< std::unique_ptr< Netlist > > load_netlists(const std::filesystem::path &netlist_file)
Create a netlist from a given file for each matching pre-loaded gate library.