Commit Graph

81 Commits

Author SHA1 Message Date
Joel Beckmeyer
65142fa5d8 add several functions and update others 2017-04-25 13:53:59 -04:00
Joel Beckmeyer
10df712a45 fix another feedback loop issue 2017-04-25 12:24:53 -04:00
Joel Beckmeyer
ebd79657e7 start implementing fixes to account for oscillation 2017-04-25 10:51:14 -04:00
Joel Beckmeyer
848c471b14 add static variable for tracking event number 2017-04-25 10:36:51 -04:00
Joel Beckmeyer
fb0c023cf4 add undefined logic to all gates 2017-04-25 10:10:07 -04:00
Joel Beckmeyer
93a176884d fix naming error 2017-04-25 09:08:16 -04:00
daniel
21084a033e Merge branch 'master' of https://daniel12997@gitlab.com/AluminumTank/radec.git 2017-04-24 23:06:27 -04:00
daniel
c15879016b Fix All the errors 2017-04-24 23:06:26 -04:00
Joel Beckmeyer
93612d7e1d implement new method to make file parsing more robust 2017-04-24 22:55:37 -04:00
Joel Beckmeyer
62cf24a0de fix constructor error 2017-04-24 22:39:40 -04:00
Joel Beckmeyer
6c40ee863f Merge branch 'master' of https://gitlab.com/AluminumTank/radec 2017-04-24 22:37:04 -04:00
Joel Beckmeyer
f7ffb392b0 make gate-returned events follow the structure 2017-04-24 22:36:48 -04:00
daniel
e3aad796f0 add a setNum to the event class 2017-04-24 22:35:44 -04:00
Joel Beckmeyer
bf8d3c78a5 Merge branch 'master' of https://gitlab.com/AluminumTank/radec 2017-04-24 22:26:05 -04:00
Joel Beckmeyer
5e9932b1dd remove old code 2017-04-24 22:25:51 -04:00
daniel
1958336d29 Remove old code from evaluate functions for and and not gates. 2017-04-24 22:25:29 -04:00
Joel Beckmeyer
fe794c6725 make parseCircuit() push gates onto input wire gates vector 2017-04-24 22:18:06 -04:00
daniel
681b4c91ad stuff 2017-04-24 22:14:00 -04:00
Joel Beckmeyer
b326f08971 fix several data member/member function confuzzlings 2017-04-24 21:15:16 -04:00
Joel Beckmeyer
75f7f3abd9 Merge branch 'master' of https://gitlab.com/AluminumTank/radec 2017-04-24 21:09:55 -04:00
Joel Beckmeyer
6f256eb395 add print function 2017-04-24 21:09:38 -04:00
daniel
a005f92560 Merge branch 'master' of https://daniel12997@gitlab.com/AluminumTank/radec.git 2017-04-24 21:06:00 -04:00
daniel
3e968534ed add the print operator to the wire class 2017-04-24 21:05:59 -04:00
Joel Beckmeyer
081330103c implement print() and fix simulate() 2017-04-24 20:24:39 -04:00
Joel Beckmeyer
c4c62ed53b Implement simulate() 2017-04-24 20:14:22 -04:00
daniel
7475eb8087 Add getters for the event class. Add getGate function to wire class. 2017-04-24 20:13:22 -04:00
daniel
496b61d77b Merge branch 'master' of https://daniel12997@gitlab.com/AluminumTank/radec.git 2017-04-24 19:37:12 -04:00
Joel Beckmeyer
d692c5ff3a make wire instantiation great again 2017-04-24 19:36:08 -04:00
daniel
985e6c0c4d Add convertToIO to the wire class 2017-04-24 19:35:30 -04:00
Joel Beckmeyer
217e1aab71 remove newline from prompt 2017-04-23 21:02:10 -04:00
Joel Beckmeyer
2a7d351dec ask for input 2017-04-23 21:00:56 -04:00
daniel
0e751426ad fix joel's mistake 2017-04-23 20:53:17 -04:00
daniel
0d6b814860 fix the gate.cpp filename 2017-04-23 20:48:33 -04:00
Joel Beckmeyer
d07406cd58 fix double pointer stupidity 2017-04-23 20:44:45 -04:00
daniel
a225318882 add scope resolution to parseVector 2017-04-23 20:43:08 -04:00
daniel
2307a6b304 Merge branch 'master' of https://daniel12997@gitlab.com/AluminumTank/radec.git 2017-04-23 20:30:19 -04:00
daniel
17dc12732c Make wire history better 2017-04-23 20:30:15 -04:00
Joel Beckmeyer
f64ee84269 add parseVector function 2017-04-23 20:15:12 -04:00
daniel
d08c7cb919 Add getName for wire 2017-04-23 19:59:57 -04:00
daniel
031fea3e0a Add a setOut to the gate parent class 2017-04-23 19:53:37 -04:00
daniel
2cacfb9dc0 Fix evaluate functions for gates to return an event 2017-04-23 19:46:37 -04:00
daniel
1846c25784 Nothing to worry about 2017-04-23 19:33:58 -04:00
daniel
5d61e058b4 Fix the gate evaluate definition to return event 2017-04-23 19:29:29 -04:00
daniel
63211c6c8e Merge branch 'master' of https://daniel12997@gitlab.com/AluminumTank/radec.git 2017-04-23 19:24:47 -04:00
daniel
7bf89ece15 Fix the class names in simulation .cpp 2017-04-23 19:24:33 -04:00
Joel Beckmeyer
419f108926 fix several more class capitalization errors 2017-04-23 19:20:29 -04:00
Joel Beckmeyer
66e5ae9418 finish fixing class names 2017-04-23 19:18:11 -04:00
Joel Beckmeyer
e5273f96e2 fix capitalization of classes 2017-04-23 19:13:23 -04:00
daniel
13d85a4651 Add the getter of delay in the gate classes. Add the findeWire and get delay functions for the simulation class. Fix the order of the input to: "in >> data" from "data << in". 2017-04-20 13:01:04 -04:00
daniel
959bca93c4 merge stuff 2017-04-20 12:42:47 -04:00