aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rtlil.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-12-04 14:24:44 +0100
committerClifford Wolf <clifford@clifford.at>2013-12-04 14:24:44 +0100
commitf4b46ed31e5f5c41bbd4ee1fdf996ecdc2010174 (patch)
treeab513e840494e2be4b04149a149f7c12e605e7e4 /kernel/rtlil.h
parent93a70959f3f67ffcee8159b18a5f68904e32a074 (diff)
downloadyosys-f4b46ed31e5f5c41bbd4ee1fdf996ecdc2010174.tar.gz
yosys-f4b46ed31e5f5c41bbd4ee1fdf996ecdc2010174.tar.bz2
yosys-f4b46ed31e5f5c41bbd4ee1fdf996ecdc2010174.zip
Replaced signed_parameters API with CONST_FLAG_SIGNED
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r--kernel/rtlil.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index f00a51a26..5583be968 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -52,7 +52,7 @@ namespace RTLIL
enum ConstFlags {
CONST_FLAG_NONE = 0,
CONST_FLAG_STRING = 1,
- CONST_FLAG_SIGNED = 2, // unused -- to be used for parameters
+ CONST_FLAG_SIGNED = 2, // only used for parameters
CONST_FLAG_REAL = 4 // unused -- to be used for parameters
};
@@ -275,7 +275,7 @@ struct RTLIL::Module {
std::vector<RTLIL::SigSig> connections;
RTLIL_ATTRIBUTE_MEMBERS
virtual ~Module();
- virtual RTLIL::IdString derive(RTLIL::Design *design, std::map<RTLIL::IdString, RTLIL::Const> parameters, std::set<RTLIL::IdString> signed_parameters);
+ virtual RTLIL::IdString derive(RTLIL::Design *design, std::map<RTLIL::IdString, RTLIL::Const> parameters);
virtual size_t count_id(RTLIL::IdString id);
virtual void check();
virtual void optimize();
@@ -310,7 +310,6 @@ struct RTLIL::Cell {
RTLIL::IdString type;
std::map<RTLIL::IdString, RTLIL::SigSpec> connections;
std::map<RTLIL::IdString, RTLIL::Const> parameters;
- std::set<RTLIL::IdString> signed_parameters;
RTLIL_ATTRIBUTE_MEMBERS
void optimize();