blob: 70c4996c5d1ce0d85f708ce9f1df9fc93e281efd [file]
#ifndef _GET_PORTS_H_
#define _GET_PORTS_H_
#include "get_cmd.h"
USING_YOSYS_NAMESPACE
struct GetPorts : public GetCmd {
GetPorts() : GetCmd("get_ports", "Print matching ports") {}
std::string TypeName() override;
std::string SelectionType() override;
void ExtractSelection(Tcl_Obj* tcl_list, RTLIL::Module* module,
const CommandArgs& args) override;
void execute(std::vector<std::string> args, RTLIL::Design* design) override;
};
#endif // GET_PORTS_H_