Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
STITCH
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pascal Engeler
STITCH
Commits
b133c04a
Commit
b133c04a
authored
4 months ago
by
Pascal Engeler
Browse files
Options
Downloads
Patches
Plain Diff
Added vcd analysis notebook
parent
da863585
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
utility/wave_analysis/vcd_analysis.ipynb
+63
-0
63 additions, 0 deletions
utility/wave_analysis/vcd_analysis.ipynb
with
63 additions
and
0 deletions
utility/wave_analysis/vcd_analysis.ipynb
0 → 100644
+
63
−
0
View file @
b133c04a
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Step 1: parse the header, find dictionary to translate between interesting signals and their tokens\n",
"\n",
"# Step 2: parse the rest, identify signal changes (lines that start with 1 or 0) and timestamps (lines that start with #, in ps)\n",
"\n",
"# Step 3: for signals phi, cordic_cos and cordic_sin, extract the value of all bits at all timestamps (50M timestamps)\n",
"\n",
"# Step 4: for each timestep, calculate the decimal value of phi, cordic_cos, cordic_sin\n",
"\n",
"# Step 5: plot phi, cordic_cos and cordic_sin as a function of time"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.7"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
%% Cell type:code id: tags:
```
python
# Step 1: parse the header, find dictionary to translate between interesting signals and their tokens
# Step 2: parse the rest, identify signal changes (lines that start with 1 or 0) and timestamps (lines that start with #, in ps)
# Step 3: for signals phi, cordic_cos and cordic_sin, extract the value of all bits at all timestamps (50M timestamps)
# Step 4: for each timestep, calculate the decimal value of phi, cordic_cos, cordic_sin
# Step 5: plot phi, cordic_cos and cordic_sin as a function of time
```
%% Cell type:code id: tags:
```
python
``
`
%%
Cell
type
:
code
id
:
tags
:
```
python
```
%% Cell type:code id: tags:
```
python
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment