diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-11-24 17:29:11 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-11-24 17:29:11 +0100 |
commit | f71e27dbf15d063ca45378ff2eb2d8102220f199 (patch) | |
tree | 67137e2ddf4dcf588fa4397d15d3e7648805a896 /kernel | |
parent | 609caa23b5e12547c043dc4a1827d1a531af1992 (diff) | |
download | yosys-f71e27dbf15d063ca45378ff2eb2d8102220f199.tar.gz yosys-f71e27dbf15d063ca45378ff2eb2d8102220f199.tar.bz2 yosys-f71e27dbf15d063ca45378ff2eb2d8102220f199.zip |
Remove auto_wire framework (smarter than the verilog standard)
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rtlil.cc | 6 | ||||
-rw-r--r-- | kernel/rtlil.h | 3 |
2 files changed, 1 insertions, 8 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index afd7ca2f1..5bfb33a2d 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -265,11 +265,6 @@ RTLIL::IdString RTLIL::Module::derive(RTLIL::Design*, std::map<RTLIL::IdString, log_error("Module `%s' is used with parameters but is not parametric!\n", id2cstr(name)); } -void RTLIL::Module::update_auto_wires(std::map<RTLIL::IdString, int>) -{ - log_error("Module `%s' has automatic wires bu no HDL backend to handle it!\n", id2cstr(name)); -} - size_t RTLIL::Module::count_id(RTLIL::IdString id) { return wires.count(id) + memories.count(id) + cells.count(id) + processes.count(id); @@ -779,7 +774,6 @@ RTLIL::Wire::Wire() port_id = 0; port_input = false; port_output = false; - auto_width = false; } RTLIL::Memory::Memory() diff --git a/kernel/rtlil.h b/kernel/rtlil.h index a4c3008bc..4b790cbde 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -265,7 +265,6 @@ struct RTLIL::Module { 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 void update_auto_wires(std::map<RTLIL::IdString, int> auto_sizes); virtual size_t count_id(RTLIL::IdString id); virtual void check(); virtual void optimize(); @@ -283,7 +282,7 @@ struct RTLIL::Module { struct RTLIL::Wire { RTLIL::IdString name; int width, start_offset, port_id; - bool port_input, port_output, auto_width; + bool port_input, port_output; RTLIL_ATTRIBUTE_MEMBERS Wire(); }; |