Fix bug on VCD parsing mechanism

parent 19f17f15
...@@ -493,6 +493,10 @@ class Simcore: ...@@ -493,6 +493,10 @@ class Simcore:
vcdParsedOutput.pop(0) vcdParsedOutput.pop(0)
#vcdBinaryOutput.pop(0) #vcdBinaryOutput.pop(0)
# Expand signal to match stimulus length
for ii in range(totalSamples - len(vcdParsedOutput)):
connect_sample_out = np.zeros(len(vcdParsedOutput)) connect_sample_out = np.zeros(len(vcdParsedOutput))
for ii in range(len(vcdParsedOutput)): for ii in range(len(vcdParsedOutput)):
connect_sample_out[ii] = vcdParsedOutput[ii] connect_sample_out[ii] = vcdParsedOutput[ii]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment