if signal.decoder:
var_type = "string"
var_size = 1
- var_init = signal.decoder(signal.reset).replace(" ", "_")
+ var_init = signal.decoder(signal.reset).expandtabs().replace(" ", "_")
else:
var_type = "wire"
var_size = signal.nbits
for vcd_signal in self._vcd_signals[signal_slot]:
signal = self._slot_signals[signal_slot]
if signal.decoder:
- var_value = signal.decoder(new).replace(" ", "_")
+ var_value = signal.decoder(new).expandtabs().replace(" ", "_")
else:
var_value = new
vcd_timestamp = (self._timestamp + self._delta) / self._epsilon