diff options
Diffstat (limited to 'backends')
| -rw-r--r-- | backends/btor/btor.cc | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/btor/btor.cc b/backends/btor/btor.cc index 2c8546f05..03ef183a5 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)  | 
