aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2019-07-08 15:11:29 +0000
committerwhitequark <whitequark@whitequark.org>2019-07-08 15:11:29 +0000
commit628437b01cd37b95c020b2f4c4e2f2d8f0e9bf8b (patch)
treea7ee0c5daa8701c505665dbf936aa0c957b83fdb
parent48655dfb8b4dda7607ed7a790eb5f6bce5c27d38 (diff)
downloadyosys-628437b01cd37b95c020b2f4c4e2f2d8f0e9bf8b.tar.gz
yosys-628437b01cd37b95c020b2f4c4e2f2d8f0e9bf8b.tar.bz2
yosys-628437b01cd37b95c020b2f4c4e2f2d8f0e9bf8b.zip
verilog_backend: dump attributes on SwitchRule.
This appears to be an omission.
-rw-r--r--backends/verilog/verilog_backend.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/verilog/verilog_backend.cc b/backends/verilog/verilog_backend.cc
index 18c92521f..6288502a5 100644
--- a/backends/verilog/verilog_backend.cc
+++ b/backends/verilog/verilog_backend.cc
@@ -1494,6 +1494,7 @@ void dump_proc_switch(std::ostream &f, std::string indent, RTLIL::SwitchRule *sw
return;
}
+ dump_attributes(f, indent, sw->attributes);
f << stringf("%s" "casez (", indent.c_str());
dump_sigspec(f, sw->signal);
f << stringf(")\n");