radec/src/XnorGate.h

17 lines
270 B
C
Raw Permalink Normal View History

2017-04-23 19:18:11 -04:00
#ifndef XNOR
#define XNOR
#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 XnorGate : public Gate {
public:
XnorGate(int d, Wire* wire1, Wire* wire2, Wire* wire3);
Event evaluate(int evTime);
int getDelay();
2017-04-23 19:18:11 -04:00
};
#endif // !XNOR