aboutsummaryrefslogtreecommitdiffstats
path: root/backends/ilang
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-07-24 22:47:57 +0200
committerClifford Wolf <clifford@clifford.at>2014-07-24 23:10:58 +0200
commit6aa792c864444324a1b140c2b63bd860f0cc3914 (patch)
tree07b2bf3003864337df616a21374c046ddc352c62 /backends/ilang
parent7a608437c65e9646ed229055d61b310e7d93e37e (diff)
downloadyosys-6aa792c864444324a1b140c2b63bd860f0cc3914.tar.gz
yosys-6aa792c864444324a1b140c2b63bd860f0cc3914.tar.bz2
yosys-6aa792c864444324a1b140c2b63bd860f0cc3914.zip
Replaced more old SigChunk programming patterns
Diffstat (limited to 'backends/ilang')
-rw-r--r--backends/ilang/ilang_backend.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/ilang/ilang_backend.cc b/backends/ilang/ilang_backend.cc
index a312b02ce..e3093e378 100644
--- a/backends/ilang/ilang_backend.cc
+++ b/backends/ilang/ilang_backend.cc
@@ -103,7 +103,7 @@ void ILANG_BACKEND::dump_sigchunk(FILE *f, const RTLIL::SigChunk &chunk, bool au
void ILANG_BACKEND::dump_sigspec(FILE *f, const RTLIL::SigSpec &sig, bool autoint)
{
if (sig.chunks().size() == 1) {
- dump_sigchunk(f, sig.chunks()[0], autoint);
+ dump_sigchunk(f, sig.chunks().front(), autoint);
} else {
fprintf(f, "{ ");
for (auto it = sig.chunks().rbegin(); it != sig.chunks().rend(); it++) {