Closed Vinayakamk closed 1 year ago
Hello @Vinayakamk, we are glade that you are finding Lighter helpful. There are two ways of integrating Lighter into any version of Yosys:
Follow the How To Use instructions in the Readme. ---> This will basically wrap Lighter as a Yosys plugin and automatically insert it into your system.
Lighter is also integrated with the yosys-f4pga-plugins repo where you can also install the clock gating plugin into Yosys along with a collection of other helpful plugins. Follow the instructions in their Repo for more details.
and also i have doubt,do i need to do to plugin every time.if i close terminal. im confused as i open other terminal with same directory where i have installed minconda,i got this error
Yes exactly. In the case of the first option, you must use this command every time to insert the plugin into Yosys.
yosys -m cg_plugin.so your_script.tcl
And cg_plugin.so file must exist in your working directory. Which is generated using the following command:
yosys-config --build cg_plugin.so clock_gating_plugin.cc
If you choose to use the other option, that is using this repo yosys-f4pga-plugins repo, you would need to install it only once into your system.
@Vinayakamk
got it.thanks a lot for the reply
im searched documentation to install 2nd type yosys-f4pga-plugins repo
may i get it??
thank you again for such an effort to implement the great and cool optimization -clcok gating
@Vinayakamk You should just clone the repo and run make install
in the main directory.
i got it,thank you so much for the reply
Welcome
this is more over question instaed technical issue i thought of integrate automatic clock gating in openlane's yosys.
how can i do it? plese let me know or if u have any resources plese do share the link!
thanks in advance!!