mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-09 04:31:25 +00:00
Added help messages to ilang and verilog frontends
This commit is contained in:
parent
51c2b797b3
commit
8a6b0a3520
3 changed files with 60 additions and 2 deletions
|
@ -32,7 +32,17 @@ void rtlil_frontend_ilang_yyerror(char const *s)
|
|||
}
|
||||
|
||||
struct IlangFrontend : public Frontend {
|
||||
IlangFrontend() : Frontend("ilang") { }
|
||||
IlangFrontend() : Frontend("ilang", "read modules from ilang file") { }
|
||||
virtual void help()
|
||||
{
|
||||
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
|
||||
log("\n");
|
||||
log(" read_ilang [filename]\n");
|
||||
log("\n");
|
||||
log("Load modules from an ilang file to the current design. (ilang is a text\n");
|
||||
log("representation of a design in yosys's internal format.)\n");
|
||||
log("\n");
|
||||
}
|
||||
virtual void execute(FILE *&f, std::string filename, std::vector<std::string> args, RTLIL::Design *design)
|
||||
{
|
||||
log_header("Executing ILANG frontend.\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue