Ficed the class names for some gates
This commit is contained in:
parent
cb89b1b657
commit
9e2eb6760f
@ -4,7 +4,7 @@
|
|||||||
#include "wire.h"
|
#include "wire.h"
|
||||||
#include "event.h"
|
#include "event.h"
|
||||||
|
|
||||||
class not : public gate {
|
class notGate : public gate {
|
||||||
notGate(priority_queue<event> *eQueue, int d, wire* wire1, wire* wire2);
|
notGate(priority_queue<event> *eQueue, int d, wire* wire1, wire* wire2);
|
||||||
void evaluate(int evTime);
|
void evaluate(int evTime);
|
||||||
};
|
};
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef OR
|
#ifndef OR
|
||||||
#define OR
|
#define OR
|
||||||
|
|
||||||
class orGate : public gate {
|
class xnorGate : public gate {
|
||||||
orGate(priority_queue<event> *eQueue, int d, wire* wire1, wire* wire2,
|
orGate(priority_queue<event> *eQueue, int d, wire* wire1, wire* wire2,
|
||||||
wire* wire3);
|
wire* wire3);
|
||||||
void evaluate(int evTime);
|
void evaluate(int evTime);
|
||||||
|
Loading…
Reference in New Issue
Block a user