Closed chongxi closed 5 years ago
/disk0/Work/pydev/spiketag/spiketag/fpga/memory_api.py in to_fixed_point(v, dtype, binpoint)
81 def to_fixed_point(v, dtype='<i4', binpoint=14):
82 v = int(v * 2**binpoint)
---> 83 value = hexlify(struct.pack(dtype,v))
84 # print value
85 return struct.pack(dtype,v)
error: repeat count given without format specifier
error: repeat count given without format specifier