radec/src/NandGate.h

17 lines
268 B
C
Raw Permalink Normal View History

2017-04-23 19:13:23 -04:00
#ifndef NAND
#define NAND
#include "Gate.h"
#include "Event.h"
#include "Wire.h"
using namespace std;
class NandGate : public Gate {
public:
NandGate(int d, Wire* wire1, Wire* wire2, Wire* wire3);
Event evaluate(int time);
2017-04-23 19:13:23 -04:00
int getDelay();
};
#endif // !NAND