\chapter{Programming Yosys Extensions} \label{chapter:prog} \begin{fixme} This chapter will contain a guided tour to the Yosys APIs and conclude with an example module. \end{fixme} \section{Programming with RTLIL} \section{Internal Utility Libraries} \section{Loadable Modules} \section{Example Module} \lstinputlisting[title=stubnets.cc,numbers=left,frame=single,language=C++]{CHAPTER_Prog/stubnets.cc} \lstinputlisting[title=Makefile,numbers=left,frame=single,language=make]{CHAPTER_Prog/Makefile} \lstinputlisting[title=test.v,numbers=left,frame=single,language=Verilog]{CHAPTER_Prog/test.v}