summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmed Irfan <irfan@ubuntu.(none)>2014-02-11 13:28:05 +0100
committerAhmed Irfan <irfan@ubuntu.(none)>2014-02-11 13:28:05 +0100
commit1d64b3e0084814774cb2a0eb5a9c99dbe1101bc2 (patch)
treef6464f70acdd2757c23db29f6e48a6c4bda9bb8e
parent1a2dc48c2ab8a809e345e1e62cc3f81fe7fd9485 (diff)
register output corrected
-rw-r--r--backends/btor/btor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/btor/btor.cc b/backends/btor/btor.cc
index 2c8546f0..03ef183a 100644
--- a/backends/btor/btor.cc
+++ b/backends/btor/btor.cc
@@ -647,7 +647,7 @@ struct BtorDumper
log(" - width is %d\n", output_width);
int cond = dump_sigspec(&cell->connections.at(RTLIL::IdString("\\CLK")), 1);
bool polarity = cell->parameters.at(RTLIL::IdString("\\CLK_POLARITY")).as_bool();
- const RTLIL::SigSpec* cell_output = &cell->connections.at(RTLIL::IdString("\\D"));
+ const RTLIL::SigSpec* cell_output = &cell->connections.at(RTLIL::IdString("\\Q"));
int value = dump_sigspec(&cell->connections.at(RTLIL::IdString("\\D")), output_width);
unsigned start_bit = 0;
for(unsigned i=0; i<cell_output->chunks.size(); ++i)