Skip to content

Commit

Permalink
read_xaiger2: Add help
Browse files Browse the repository at this point in the history
  • Loading branch information
povik committed Oct 7, 2024
1 parent f44a418 commit 7989d53
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion frontends/aiger2/xaiger.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,26 @@ IdString read_idstring(std::istream &f)
}

struct Xaiger2Frontend : public Frontend {
Xaiger2Frontend() : Frontend("xaiger2", "read XAIGER file (new)") {}
Xaiger2Frontend() : Frontend("xaiger2", "(experimental) read XAIGER file")
{
experimental();
}

void help() override
{
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
log("\n");
log(" read_xaiger2 -sc_mapping [options] <filename>\n");
log("\n");
log("Read a standard cell mapping from a XAIGER file into an existing module.\n");
log("\n");
log(" -module_name <name>\n");
log(" name of the target module\n");
log("\n");
log(" -map2 <filename>\n");
log(" read file with symbol information\n");
log("\n");
}

void read_sc_mapping(std::istream *&f, std::string filename, std::vector<std::string> args, Design *design)
{
Expand Down

0 comments on commit 7989d53

Please sign in to comment.