2017-04-10 20:44:44 -04:00
|
|
|
#ifndef XNOR
|
|
|
|
#define XNOR
|
2017-04-10 21:16:13 -04:00
|
|
|
#include "gate.h"
|
|
|
|
#include "event.h"
|
|
|
|
#include "wire.h"
|
2017-04-09 21:42:07 -04:00
|
|
|
|
2017-04-10 20:44:44 -04:00
|
|
|
class xnorGate : public gate {
|
2017-04-14 19:10:32 -04:00
|
|
|
public:
|
2017-04-10 20:44:44 -04:00
|
|
|
xnorGate(priority_queue<event> *eQueue, int d, wire* wire1, wire* wire2,
|
|
|
|
wire* wire3);
|
|
|
|
void evaluate(int evTime);
|
2017-04-09 21:42:07 -04:00
|
|
|
};
|
|
|
|
|
2017-04-10 20:44:44 -04:00
|
|
|
#endif // !XNOR
|