- update README to reflect correct performance numbers
- add tasks to README - repair bug in events.rs that prevented most events in VCD file from being parsed - add some initial code for timeline scrubbing
This commit is contained in:
parent
3a4ed56532
commit
cbd8be1708
8 changed files with 125 additions and 57 deletions
|
@ -1,4 +1,6 @@
|
|||
use super::utilities::{ordered_binary_lookup_u8, LookupErrors};
|
||||
use chrono::prelude::*;
|
||||
use num::{BigUint, Zero};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub(super) struct Version(pub String);
|
||||
|
@ -72,6 +74,26 @@ pub(super) enum Signal {
|
|||
},
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub(super) enum TimelineQueryResults {
|
||||
BigUint(BigUint),
|
||||
String(String),
|
||||
}
|
||||
|
||||
impl Scope {
|
||||
pub(super) fn query_value(&self, time: TimelineIdx) -> Result<TimelineQueryResults, String> {
|
||||
// match
|
||||
// assert
|
||||
// ordered_binary_lookup_u8(
|
||||
// &value_sequence_as_bytes_u8,
|
||||
// 4,
|
||||
// &timeline_cursors,
|
||||
// TimelineIdx(scrubbing_cursor),
|
||||
// );
|
||||
Ok(TimelineQueryResults::String("".to_string()))
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub(super) struct Scope {
|
||||
pub(super) name: String,
|
||||
|
|
Reference in a new issue