Closed TheZoq2 closed 1 year ago
I suppose not including the range in the signal name makes sense. I suppose that when I started working on Fastwave, I had assumed there'd be a tighter coupling between the frontend viewer and the backend.
Was including the range causing issues for you?
It was, yes. The translation stuff i'm doing in python relies on the names being there in their pure form, and if I read the spec, it seems like the [] enclosed stuff shouldn't be included in the identifier
I'm open to actually saving them, but I forgot to do that before pushing btw
I made another change to make the whole lib generic over the io::Read implementation, which allows it to be used with https://docs.rs/progress-streams/latest/progress_streams/ (and I guess any other weird streams we can think of)
These are the changes I need for my experimental vcd viewer so far:
byte_len_of_string_tmstmp_vals_on_tmln.push(curr_tmstmp_len_u8);
fixes a panic when indexing into string values