2013-07-20 08:19:12 -05:00
|
|
|
|
|
|
|
\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}
|
|
|
|
|
2013-08-06 19:19:35 -05:00
|
|
|
\section{Example Module}
|
|
|
|
|
2014-01-27 23:55:47 -06:00
|
|
|
\lstinputlisting[title=stubnets.cc,numbers=left,frame=single,language=C++]{CHAPTER_Prog/stubnets.cc}
|
2013-08-06 19:19:35 -05:00
|
|
|
|
2014-01-27 23:55:47 -06:00
|
|
|
\lstinputlisting[title=Makefile,numbers=left,frame=single,language=make]{CHAPTER_Prog/Makefile}
|
2013-08-06 19:19:35 -05:00
|
|
|
|
2014-01-27 23:55:47 -06:00
|
|
|
\lstinputlisting[title=test.v,numbers=left,frame=single,language=Verilog]{CHAPTER_Prog/test.v}
|
2013-08-06 19:19:35 -05:00
|
|
|
|