projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48655df
)
verilog_backend: dump attributes on SwitchRule.
author
whitequark
<whitequark@whitequark.org>
Mon, 8 Jul 2019 15:11:29 +0000
(15:11 +0000)
committer
whitequark
<whitequark@whitequark.org>
Mon, 8 Jul 2019 15:11:29 +0000
(15:11 +0000)
This appears to be an omission.
backends/verilog/verilog_backend.cc
patch
|
blob
|
history
diff --git
a/backends/verilog/verilog_backend.cc
b/backends/verilog/verilog_backend.cc
index 18c92521f92a52d959e5c17d5a7c3de7ad64d159..6288502a549bd6efd445e5a5cb310f95bbda950b 100644
(file)
--- 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");