blob: 0a7e90e7cf3578e79a56770875ba659296a88269 [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") {}
std::string TypeName() override;
std::string SelectionType() override;
void execute(std::vector<std::string> args, RTLIL::Design* design) override;
private:
void ExtractSingleSelection(Tcl_Obj* tcl_list, RTLIL::Design* design,
const std::string& port_name,
const CommandArgs& args);
};
#endif // GET_PINS_H_