blob: eb8c0993ebb891d037ab9e54ef44ca07247df593 [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,
Filters& filters, bool is_quiet) override;
};
#endif // GET_PORTS_H_