Entries from 2022-07-25 to 1 day

Learning How to Use Yosys (6. Displaying Modules with My Own Pass)

Let's start by building a simple Pass for Yosys. We will write a Pass that lists the names of the modules. We obtain the names of the modules registered in the design. yosys/passes/tests/mypass.cc void execute(std::vector<std::string> args, RTLIL::Desi</std::string>…