aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview/multiplexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/coreview/multiplexer.h')
-rw-r--r--qtmips_gui/coreview/multiplexer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/qtmips_gui/coreview/multiplexer.h b/qtmips_gui/coreview/multiplexer.h
index 2cfc90d..ad4fd0b 100644
--- a/qtmips_gui/coreview/multiplexer.h
+++ b/qtmips_gui/coreview/multiplexer.h
@@ -9,7 +9,7 @@ namespace coreview {
class Multiplexer : public QGraphicsItem {
public:
- Multiplexer(unsigned size);
+ Multiplexer(unsigned size, bool ctl_up = false);
~Multiplexer();
QRectF boundingRect() const;
@@ -21,7 +21,6 @@ public:
const Connector *connector_in(unsigned i) const; // Inputs
void set(unsigned i); // Set what value should be set as connected (indexing from 1 where 0 is no line)
- void setCtl(bool up); // Set if control signal is from up or down (in default down)
private:
bool ctlfrom;