incorporate new transistor format file into code

This commit is contained in:
Christopher Mosher
2013-12-09 19:17:26 -05:00
parent 7bd00764c2
commit 9b0bc1bb15
9 changed files with 397 additions and 7110 deletions
+4
View File
@@ -1,13 +1,16 @@
#ifndef CPU_H
#define CPU_H
#include <string>
#include <vector>
#include <set>
#include <map>
class AddressBus;
class seg {
public:
std::string id;
bool pullup;
bool pulldown;
bool on;
@@ -25,6 +28,7 @@ public:
class CPU {
private:
std::map<std::string,int> map_seg_i;
std::vector<seg> segs;
std::vector<trn> trns;
AddressBus& addressBus;