3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-31 07:14:55 +00:00

Added RTLIL and Liberty syntax highlighting to manual

This commit is contained in:
Clifford Wolf 2013-07-25 14:00:16 +02:00
parent 88d0829d65
commit 36c39cbd04
3 changed files with 19 additions and 4 deletions

View file

@ -102,6 +102,21 @@ bookmarksopen=false%
\setlength{\parskip}{1.5ex plus 1ex minus 0.5ex}
\setlength{\parindent}{0pt}
\lstdefinelanguage{liberty}{
morecomment=[s]{/*}{*/},
morekeywords={library,cell,area,pin,direction,function,clocked_on,next_state,clock,ff},
morestring=[b]",
}
\lstdefinelanguage{rtlil}{
morecomment=[l]{//},
morecomment=[s]{/*}{*/},
morekeywords={module,attribute,parameter,wire,memory,auto,width,offset,size,input,output,inout,cell,connect,switch,case,assign,sync,low,high,posedge,negedge,edge,always,update,process,end},
morestring=[b]",
}
\begin{document}
\fancypagestyle{mypagestyle}{%