https://github.com/drom/sta
🕒 Static Timing Analysis diagram renderer
https://github.com/drom/sta
Last synced: about 1 year ago
JSON representation
🕒 Static Timing Analysis diagram renderer
- Host: GitHub
- URL: https://github.com/drom/sta
- Owner: drom
- License: mit
- Created: 2016-05-07T06:07:32.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-13T03:38:06.000Z (over 2 years ago)
- Last Synced: 2025-05-07T13:06:01.615Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 49.8 KB
- Stars: 13
- Watchers: 5
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.org/package/sta)
[](https://github.com/drom/sta/actions)
# STA
```
npm i sta
bin/sta.js test/path1.json > path1.svg
```
## Altera Quartus report parser.
```
bin/quartus.js prj.sta.rpt > prj.json
```

## icestorm JSON support
```
bin/sta.js --icestorm test/icestorm.json > icestorm.svg
```

## Native JSON format
```js
[ <-- group of paths
[ <-- each path
{ <-- each time interval
"total": 2.41,
"incr": 0,
"meta": "RR",
"type": "CELL", <-- cell
"element": [
"ir0[8]",
"q"
]
},
{
"total": 3.017,
"incr": 0.607,
"meta": "RR",
"type": "IC", <-- wire
"element": [
"u_tail_offset",
"u_len0010",
"len[0]~0",
"dataa"
]
}
...
]
...
]
```