add TODO notes and several other needed classes
This commit is contained in:
parent
7de36407f2
commit
372c6b6d87
0
src/event.cpp
Normal file
0
src/event.cpp
Normal file
13
src/event.h
Normal file
13
src/event.h
Normal file
@ -0,0 +1,13 @@
|
||||
#ifndef EVENT
|
||||
#define EVENT
|
||||
|
||||
class event {
|
||||
/* TODO:
|
||||
* event number
|
||||
* value
|
||||
* time
|
||||
* wire number
|
||||
*/
|
||||
};
|
||||
|
||||
#endif // !EVENT
|
@ -0,0 +1 @@
|
||||
|
12
src/gate.h
12
src/gate.h
@ -2,7 +2,15 @@
|
||||
#define GATE
|
||||
|
||||
class gate {
|
||||
|
||||
public:
|
||||
gate(wire* wire1 = nullptr, wire* wire2 = nullptr, wire* wire3 = nullptr);
|
||||
virtual int getOutput() = 0;
|
||||
protected:
|
||||
wire* in1, in2, out;
|
||||
/* TODO
|
||||
* delay
|
||||
* type
|
||||
*/
|
||||
};
|
||||
|
||||
#endif // !GATE
|
||||
#endif // !GATE
|
||||
|
11
src/wire.h
11
src/wire.h
@ -2,7 +2,14 @@
|
||||
#define WIRE
|
||||
|
||||
class wire {
|
||||
|
||||
/* TODO:
|
||||
* data members:
|
||||
* state
|
||||
* gate connections
|
||||
* wire number
|
||||
* name
|
||||
* is input/output
|
||||
*/
|
||||
};
|
||||
|
||||
#endif // !WIRE
|
||||
#endif // !WIRE
|
||||
|
Loading…
Reference in New Issue
Block a user