{"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmsyksphinz-en.hatenablog.com%2Fentry%2F2022%2F07%2F24%2F040000\" title=\"Learning How to Use Yosys (5. Trying to Create My Own Pass) - msyksphinz-en\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2022-07-24 04:00:00","title":"Learning How to Use Yosys (5. Trying to Create My Own Pass)","blog_url":"https://msyksphinz-en.hatenablog.com/","width":"100%","author_name":"msyksphinz","url":"https://msyksphinz-en.hatenablog.com/entry/2022/07/24/040000","provider_name":"Hatena Blog","version":"1.0","blog_title":"msyksphinz-en\u2019s diary","author_url":"https://blog.hatena.ne.jp/msyksphinz/","provider_url":"https://hatena.blog","height":"190","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/m/msyksphinz/20220103/20220103010108.png","categories":["Verilog","Yosys"],"description":"Let's start by building a simple Pass for Yosys. It is called mypass, and it is a Pass that does nothing. yosys/passes/tests/mypass.cc struct MyPass : public Pass { MyPass() : Pass(\"mypass\", \"My Pass\") { } void help() override { // |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---\u2026"}