fix stupid mistake
This commit is contained in:
parent
9e2eb6760f
commit
010d572e0a
@ -3,7 +3,13 @@
|
||||
using namespace std;
|
||||
|
||||
norGate::norGate(priority_queue<event> *eQueue, int d, wire* wire1, wire* wire2,
|
||||
wire* wire3) : e(eQueue), delay(d), in1(wire1), in2(wire2), out(wire3);
|
||||
wire* wire3) {
|
||||
e = eQueue;
|
||||
delay = d;
|
||||
in1 = wire1;
|
||||
in2 = wire2;
|
||||
out = wire3;
|
||||
}
|
||||
|
||||
void norGate::evaluate(int evTime) {
|
||||
//TODO
|
||||
|
@ -3,7 +3,13 @@
|
||||
using namespace std;
|
||||
|
||||
orGate::orGate(priority_queue<event> *eQueue, int d, wire* wire1, wire* wire2,
|
||||
wire* wire3) : e(eQueue), delay(d), in1(wire1), in2(wire2), out(wire3);
|
||||
wire* wire3) {
|
||||
e = eQueue;
|
||||
delay = d;
|
||||
in1 = wire1;
|
||||
in2 = wire2;
|
||||
out = wire3;
|
||||
}
|
||||
|
||||
void orGate::evaluate(int evTime) {
|
||||
//TODO
|
||||
|
@ -3,8 +3,13 @@
|
||||
using namespace std;
|
||||
|
||||
xnorGate::xnorGate(priority_queue<event> *eQueue, int d, wire* wire1,
|
||||
wire* wire2, wire* wire3) : e(eQueue), delay(d), in1(wire1), in2(wire2),
|
||||
out(wire3);
|
||||
wire* wire2, wire* wire3) {
|
||||
e = eQueue;
|
||||
delay = d;
|
||||
in1 = wire1;
|
||||
in2 = wire2;
|
||||
out = wire3;
|
||||
}
|
||||
|
||||
void xnorGate::evaluate(int evTime) {
|
||||
//TODO
|
||||
|
Loading…
Reference in New Issue
Block a user