blob: ab5bf754968d23fc9c1aed8b63eb1a37194fe760 [file]
#ifndef _GET_PINS_H_
#define _GET_PINS_H_
#include "get_cmd.h"
USING_YOSYS_NAMESPACE
struct GetPins : public GetCmd {
GetPins() : GetCmd("get_pins", "Print matching pins") {}
private:
std::string TypeName() override;
std::string SelectionType() override;
void execute(std::vector<std::string> args, RTLIL::Design* design) override;
SelectionObjects ExtractSelection(RTLIL::Design* design,
const CommandArgs& args) override;
void ExtractSingleSelection(Tcl_Obj* tcl_list, RTLIL::Design* design,
const std::string& port_name,
const CommandArgs& args);
};
#endif // GET_PINS_H_