Changed sniper, md
This commit is contained in:
1 parent
64f35f869e
commit
3a73b6cb9e
12 files changed
+183
-133
No files matched your search
@@ -71,7 +71,7 @@ int load_sim_input(std::string const &sim_input) {
|
||||
}
|
||||
}
|
||||
|
||||
int run_sim(std::string const &input_file) {
|
||||
int sim(std::string const &input_file) {
|
||||
spartan::protos::SimSessionOptions options;
|
||||
std::ifstream proto_in(input_file);
|
||||
std::string str((std::istreambuf_iterator<char>(proto_in)),
|
||||
@@ -257,9 +257,9 @@ void validate_fifo(std::string const &pcap) {
|
||||
|
||||
std::map<std::string, std::function<int(std::vector<std::string> const &)>>
|
||||
extensions = {
|
||||
{"run_sim",
|
||||
{"sim",
|
||||
[](auto const &args) {
|
||||
run_sim(args[1]);
|
||||
sim(args[1]);
|
||||
return 0;
|
||||
}},
|
||||
|
||||
|
||||
Reference in new issue
Block a user