3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-27 19:05:52 +00:00

Added "help" command

This commit is contained in:
Clifford Wolf 2013-02-28 10:21:55 +01:00
parent c3cc9839a9
commit 64aa9b37d6
2 changed files with 50 additions and 8 deletions

View file

@ -28,8 +28,8 @@
struct Pass
{
std::string pass_name;
Pass(std::string name);
std::string pass_name, short_help;
Pass(std::string name, std::string short_help = "** document me **");
virtual void run_register();
virtual ~Pass();
virtual void help();
@ -49,7 +49,7 @@ struct Pass
struct Frontend : Pass
{
std::string frontend_name;
Frontend(std::string name);
Frontend(std::string name, std::string short_help = "** document me **");
virtual void run_register();
virtual ~Frontend();
virtual void execute(std::vector<std::string> args, RTLIL::Design *design);
@ -65,7 +65,7 @@ struct Frontend : Pass
struct Backend : Pass
{
std::string backend_name;
Backend(std::string name);
Backend(std::string name, std::string short_help = "** document me **");
virtual void run_register();
virtual ~Backend();
virtual void execute(std::vector<std::string> args, RTLIL::Design *design);