Fixed issue with return address in cpu_sim.py. Fixed bugs in compiler generation...
[trinary.git] / digital_simulator / Architecture.py
blobe817ea3c13fe4868180ae485561866b577711a1d
1 # vim: set fileencoding=utf8
2 # Architecture.py
4 # Architecture object.
7 class Architecture(object):
8 def __init__(self, name):
9 '''Initialize Architecture object. '''
11 self.name = name
13 def __str__(self):
14 return "<Architecture:%s>" % (self.name,)
16 if __name__ == "__main__":
17 a = Architecture("architecture")
19 print a