aboutsummaryrefslogtreecommitdiffstats
path: root/passes/abc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-11-19 01:03:57 +0100
committerClifford Wolf <clifford@clifford.at>2013-11-19 01:03:57 +0100
commit63285b300ca8a3057345f6b28ee20ff709ede24d (patch)
treecaf7cf8a8a9558eb75399e53532c13b31f85888a /passes/abc
parentc5e26f839c93af7bab93bffdab518f2a877291d9 (diff)
downloadyosys-63285b300ca8a3057345f6b28ee20ff709ede24d.tar.gz
yosys-63285b300ca8a3057345f6b28ee20ff709ede24d.tar.bz2
yosys-63285b300ca8a3057345f6b28ee20ff709ede24d.zip
Renamed temp module generated by "abc" pass from "logic" to "netlist"
Diffstat (limited to 'passes/abc')
-rw-r--r--passes/abc/abc.cc10
-rw-r--r--passes/abc/blifparse.cc2
2 files changed, 6 insertions, 6 deletions
diff --git a/passes/abc/abc.cc b/passes/abc/abc.cc
index 41104ee99..c539dd17d 100644
--- a/passes/abc/abc.cc
+++ b/passes/abc/abc.cc
@@ -340,7 +340,7 @@ static void abc_module(RTLIL::Design *design, RTLIL::Module *current_module, std
if (!cleanup)
tempdir_name[0] = tempdir_name[4] = '_';
char *p = mkdtemp(tempdir_name);
- log_header("Extracting gate logic of module `%s' to `%s/input.v'..\n", module->name.c_str(), tempdir_name);
+ log_header("Extracting gate netlist of module `%s' to `%s/input.v'..\n", module->name.c_str(), tempdir_name);
if (p == NULL)
log_error("For some reason mkdtemp() failed!\n");
@@ -369,7 +369,7 @@ static void abc_module(RTLIL::Design *design, RTLIL::Module *current_module, std
log_error("Opening %s for writing failed: %s\n", p, strerror(errno));
free(p);
- fprintf(f, "module logic (");
+ fprintf(f, "module netlist (");
bool first = true;
for (auto &si : signal_list) {
if (!si.is_port)
@@ -419,7 +419,7 @@ static void abc_module(RTLIL::Design *design, RTLIL::Module *current_module, std
fprintf(f, "endmodule\n");
fclose(f);
- log("Extracted %d gates and %zd wires to a logic network with %d inputs and %d outputs.\n",
+ log("Extracted %d gates and %zd wires to a netlist network with %d inputs and %d outputs.\n",
count_gates, signal_list.size(), count_input, count_output);
log_push();
@@ -510,9 +510,9 @@ static void abc_module(RTLIL::Design *design, RTLIL::Module *current_module, std
free(p);
log_header("Re-integrating ABC results.\n");
- RTLIL::Module *mapped_mod = mapped_design->modules["\\logic"];
+ RTLIL::Module *mapped_mod = mapped_design->modules["\\netlist"];
if (mapped_mod == NULL)
- log_error("ABC output file does not contain a module `logic'.\n");
+ log_error("ABC output file does not contain a module `netlist'.\n");
for (auto &it : mapped_mod->wires) {
RTLIL::Wire *w = it.second;
RTLIL::Wire *wire = new RTLIL::Wire;
diff --git a/passes/abc/blifparse.cc b/passes/abc/blifparse.cc
index 31523ec12..17acc843b 100644
--- a/passes/abc/blifparse.cc
+++ b/passes/abc/blifparse.cc
@@ -53,7 +53,7 @@ RTLIL::Design *abc_parse_blif(FILE *f)
RTLIL::State lut_default_state = RTLIL::State::Sx;
int port_count = 0;
- module->name = "\\logic";
+ module->name = "\\netlist";
design->modules[module->name] = module;
char buffer[4096];