Skip to content

CSharperMantle/ysyx-chip-area-visualizer

Repository files navigation

ysyx-chip-area-visualizer

Y Chip Area Visualizer: Visualize Yosys stat reports.

Originally designed for my YSYX project, it can be generalized to any compatible Yosys outputs. Currently this app accepts:

They can be generated by Yosys commands:

tee -o synth_stat.txt stat -liberty $LIB_FILE
tee -o input.json stat -liberty $LIB_FILE -json

This app uses D3.js for visualization, and React for DOM manipulation. The animations are powered by CSS transitions in SVG, without using third-party animation libraries. It can also serve as an example of writing modern, declarative visualizations combining D3.js and JSX.

Build

yarn install --immutable
yarn build

License

Copyright © 2025 Rong "Mantle" Bao <webmaster@csmantle.top>.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.