+import sys
import datetime
+sys.path.append("../../")
from migScope.tools.conv import *
class Var:
myvcd.add(Var("wire",3,"foo3"))
myvcd.add(Var("wire",4,"foo4"))
ramp = [i%128 for i in range(1024)]
- myvcd.add(Var("wire",16,"sinus",ramp))
+ myvcd.add(Var("wire",16,"ramp",ramp))
print(myvcd)
if __name__ == '__main__':
sys.path.append("../")
from migScope import trigger, recorder
-
from migScope.tools.truthtable import *
from migScope.tools.vcd import *
#Arm
yield TWrite(recorder0.address + 1, 1)
-
+ # Wait Record to be done
+ ##############################
global rec_done
while not rec_done:
yield None
+ # Read recorded data
+ ##############################
global dat_rdy
for t in range(64):
yield TWrite(recorder0.address + 7, 1)