- improve to-do list in README
- move code that exercises searching for values at specific time within signals from src/vcd/parse.rs to sr/vcd/main.rs - make necessary struct and enum fields public as well as possibly the structs and enums themselves
This commit is contained in:
parent
c25353073b
commit
f4e27ffcb6
6 changed files with 39 additions and 30 deletions
|
@ -7,7 +7,7 @@ use num::{BigUint, Zero};
|
|||
pub struct LsbIdxOfTmstmpValOnTmln(pub(super) u32);
|
||||
|
||||
#[derive(Debug)]
|
||||
pub(super) enum SigType {
|
||||
pub enum SigType {
|
||||
Integer,
|
||||
Parameter,
|
||||
Real,
|
||||
|
@ -25,7 +25,7 @@ pub(super) enum TimelineQueryResults {
|
|||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub(super) enum Signal {
|
||||
pub enum Signal {
|
||||
Data {
|
||||
name: String,
|
||||
sig_type: SigType,
|
||||
|
@ -69,7 +69,7 @@ pub(super) enum Signal {
|
|||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub(super) enum SignalErrors {
|
||||
pub enum SignalErrors {
|
||||
PreTimeline {
|
||||
desired_time: BigUint,
|
||||
timeline_start_time: BigUint,
|
||||
|
|
Reference in a new issue