Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Description #2

Open
zhaoxueyan1 opened this issue Jul 4, 2020 · 2 comments
Open

Data Description #2

zhaoxueyan1 opened this issue Jul 4, 2020 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@zhaoxueyan1
Copy link
Owner

Data Description

The first line is a number N, which represents the number of vertices. And N lines are followed. For the each line, 7 items are expected. They represents Id,Name,Type,CppType,Width,Dir and Ext respectively. The following line has Only one number of M, which representes the number of edge. M lines are followed, each line has 2 numbers : u and v. They representes the sink and source respectively.

Tips:

  • The ID and Name is unique.
  • The Type is the origin type defined in the firrtl, if you want to learn more, plz read the firrtl spec.
  • More details will be introduced in other document, if you have a issues, plz let me know.
@zhaoxueyan1 zhaoxueyan1 added the documentation Improvements or additions to documentation label Jul 4, 2020
@zhaoxueyan1
Copy link
Owner Author

I have Update the Data description in 56fe84f.

@zhaoxueyan1
Copy link
Owner Author

VCD Analysis Format

1 Analysis file

suffix : .analysis

1.1 Content

Version, Comment, Date, Signal count,Times Recorded

1.2 Sample

Version:        Generated by VerilatedVcd 
Comment:       
Date:           Wed Jul  8 19:34:09 2020
 
Signal count:  8065
Times Recorded:1231

2 Output file

suffix: .out

2.1 Read method

while(~scanf("%d %s %d",&num,signal_name,&signal_id)){
    scanf("%d %s",&time_step,val);
}

2.2 Sample

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant