Commit Graph

113 Commits

Author SHA1 Message Date
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
0667c7ab88 Merge branch 'master' of https://daniel12997@gitlab.com/AluminumTank/radec.git 2017-04-23 19:29:33 -04:00
daniel
5d61e058b4 Fix the gate evaluate definition to return event 2017-04-23 19:29:29 -04:00
Joel Beckmeyer
c808dd3ec2 Merge branch 'master' of https://gitlab.com/AluminumTank/radec 2017-04-23 19:28:01 -04:00
Joel Beckmeyer
0d106c16fd rewrite Radec.cpp to use new Simulation class 2017-04-23 19:27:31 -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
8cf81bed17 Added something to the TODO. 2017-04-20 13:02:48 -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
daniel
a5e16c9347 Add the simulation class and start populating it. 2017-04-20 12:41:43 -04:00
Joel Beckmeyer
850d4e0fbd fix a bunch of compile-time errors 2017-04-14 19:10:32 -04:00
daniel
1832d7adff Add the logic for the gates and fix the wire set and get value functions. 2017-04-11 13:22:37 -04:00
Joel Beckmeyer
5229141506 Merge branch 'master' of https://gitlab.com/AluminumTank/radec 2017-04-10 21:29:11 -04:00
daniel
7574ffc9a4 Fix base initialization for and, not , and xor 2017-04-10 21:28:44 -04:00
Joel Beckmeyer
010d572e0a fix stupid mistake 2017-04-10 21:28:10 -04:00
daniel
2be1e257c3 Fix the event constructor to be legal 2017-04-10 21:21:41 -04:00
daniel
da393481e3 Add the includes and fixed the xnor class definition 2017-04-10 21:16:13 -04:00
daniel
9e2eb6760f Ficed the class names for some gates 2017-04-10 21:11:51 -04:00
daniel
cb89b1b657 Merge branch 'Daniel' 2017-04-10 21:07:24 -04:00
daniel
8aacd56b65 Add the event generation to the nand Gate 2017-04-10 21:05:46 -04:00
daniel
42037af8fa Add Queue as input for nand constructor 2017-04-10 21:05:46 -04:00
daniel
3524160204 Merge branch 'master' of https://daniel12997@gitlab.com/AluminumTank/radec.git 2017-04-10 21:03:57 -04:00
Joel Beckmeyer
ef14a61ba6 fix all gate classes and add pointer to priority queue 2017-04-10 21:03:29 -04:00
Joel Beckmeyer
517d6e333e fix boolean name to be more accurate 2017-04-10 21:02:41 -04:00
Joel Beckmeyer
c19ba28320 begin implementation of notGate 2017-04-10 21:02:41 -04:00
Joel Beckmeyer
190d227a97 add simple evaluation to andGate 2017-04-10 21:02:41 -04:00
daniel
c1c31af8e6 Add the event generation to the nand Gate 2017-04-10 20:44:48 -04:00
Joel Beckmeyer
030cb65800 fix all gate classes and add pointer to priority queue 2017-04-10 20:44:44 -04:00
daniel
441fda70ce Add Queue as input for nand constructor 2017-04-10 20:28:37 -04:00
Joel Beckmeyer
f365f0ab2b fix boolean name to be more accurate 2017-04-10 20:06:09 -04:00
Joel Beckmeyer
dc27677a67 begin implementation of notGate 2017-04-10 20:05:02 -04:00
Joel Beckmeyer
53198547c0 add simple evaluation to andGate 2017-04-10 19:49:35 -04:00
daniel
dfc6064bcd resolved the event 2017-04-10 19:43:31 -04:00
daniel
de3b3726c0 Fixed some stuff 2017-04-10 19:42:32 -04:00
Joel Beckmeyer
25cee00097 Merge branch 'master' of https://gitlab.com/AluminumTank/radec 2017-04-10 19:41:12 -04:00
Joel Beckmeyer
9d0f5beb74 add some functionality to andGate class 2017-04-10 19:38:54 -04:00
daniel
6741a85820 Fix the awfull code. 2017-04-10 19:09:13 -04:00
daniel
2d470a3682 Merge branch 'master' of https://daniel12997@gitlab.com/AluminumTank/radec.git 2017-04-10 18:57:21 -04:00
daniel
a7a03caa95 Define the wire class
Fix the pointers in gate
2017-04-10 18:57:03 -04:00
Joel Beckmeyer
bc949ffea7 implement event class 2017-04-10 17:15:05 -04:00
Joel Beckmeyer
0abbc7440e implement findWire() and clean up code 2017-04-10 16:39:03 -04:00