aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast/genrtlil.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-07-09 10:22:49 -0700
committerEddie Hung <eddie@fpgeh.com>2019-07-09 10:22:49 -0700
commitc91cb735620537c9f573be52cefe6267d0a9cfd8 (patch)
tree82ffd4f014504e4b003c14fba8594f748f2beafe /frontends/ast/genrtlil.cc
parentc68b9092100280dbc059526a88f9d8e2902ff6a3 (diff)
parente95ce1f7af269447943cf1798c03b02a0c5aa1a2 (diff)
downloadyosys-c91cb735620537c9f573be52cefe6267d0a9cfd8.tar.gz
yosys-c91cb735620537c9f573be52cefe6267d0a9cfd8.tar.bz2
yosys-c91cb735620537c9f573be52cefe6267d0a9cfd8.zip
Merge remote-tracking branch 'origin/master' into xc7mux
Diffstat (limited to 'frontends/ast/genrtlil.cc')
-rw-r--r--frontends/ast/genrtlil.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/ast/genrtlil.cc b/frontends/ast/genrtlil.cc
index 079fc11e5..571ddd988 100644
--- a/frontends/ast/genrtlil.cc
+++ b/frontends/ast/genrtlil.cc
@@ -504,6 +504,7 @@ struct AST_INTERNAL::ProcessGenerator
RTLIL::CaseRule *backup_case = current_case;
current_case = new RTLIL::CaseRule;
+ current_case->attributes["\\src"] = stringf("%s:%d", child->filename.c_str(), child->linenum);
last_generated_case = current_case;
addChunkActions(current_case->actions, this_case_eq_ltemp, this_case_eq_rvalue);
for (auto node : child->children) {