radec/src/XorGate.h

17 lines
265 B
C
Raw Normal View History

2017-04-23 19:18:11 -04:00
#ifndef XOR
#define XOR
#include "Gate.h"
#include "Event.h"
#include "Wire.h"
2017-04-23 19:33:58 -04:00
using namespace std;
2017-04-23 19:18:11 -04:00
class XorGate : public Gate {
public:
XorGate(int d, Wire* wire1, Wire* wire2, Wire* wire3);
Event evaluate(int evTime);
int getDelay();
2017-04-23 19:18:11 -04:00
};
#endif // !XOR