Skip to content

antmicro/trace2power

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trace2power

Copyright (c) 2024-2025 Antmicro

This repository contains the trace2power tool that is capable of converting traces (in VCD or FST format) to a TCL script that can be used with OpenSTA to set pin, input port activity and duty cycle for power analysis. The tool replicates what OpenSTA does when loading a VCD file using the read_power_activities command but does so order of magnitude faster.

Building

Note that trace2power requires rustc 1.80.1 or newer.

cargo build --release

Usage

cargo run --release -- --clk-freq <clock frequency in Hz> <trace file>

Examples

Check out counter example for an explanation of how to interpret the output.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages