aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast/ast.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-12-05 12:53:49 +0100
committerClifford Wolf <clifford@clifford.at>2013-12-05 12:53:49 +0100
commit5c39948eadbcda58d0b880dc162572838dad01a2 (patch)
tree9b9559eb0fb352e776e7dd5984fac97d4bf20668 /frontends/ast/ast.h
parent853538d78b0207ca218524cb766fd5cdb165478d (diff)
downloadyosys-5c39948eadbcda58d0b880dc162572838dad01a2.tar.gz
yosys-5c39948eadbcda58d0b880dc162572838dad01a2.tar.bz2
yosys-5c39948eadbcda58d0b880dc162572838dad01a2.zip
Added AstNode::mkconst_str API
Diffstat (limited to 'frontends/ast/ast.h')
-rw-r--r--frontends/ast/ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/ast/ast.h b/frontends/ast/ast.h
index ab1b9bec5..e9dfa5ace 100644
--- a/frontends/ast/ast.h
+++ b/frontends/ast/ast.h
@@ -213,6 +213,7 @@ namespace AST
// helper functions for creating AST nodes for constants
static AstNode *mkconst_int(uint32_t v, bool is_signed, int width = 32);
static AstNode *mkconst_bits(const std::vector<RTLIL::State> &v, bool is_signed);
+ static AstNode *mkconst_str(const std::string &str);
// helper function for creating sign-extended const objects
RTLIL::Const bitsAsConst(int width, bool is_signed);