Selaa lähdekoodia

Final report instruction decoding WIP

Min 5 vuotta sitten
vanhempi
commit
606e0770e1

+ 3 - 0
.gitignore

@@ -32,3 +32,6 @@ greybox_tmp/
 *.bbl
 *.blg
 *.run.xml
+*svg-tex.pdf
+*svg-tex.pdf_tex
+.~lock.*#

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 42 - 8
docs/final_report/5-methods.tex


+ 41 - 0
docs/final_report/6-results.tex

@@ -22,3 +22,44 @@ Give the facts, then give your analysis of the facts.
 Present your graphs, figures, tables, photos, and equations needed to show what you accomplished.
 Label everything clearly, using the recommendations given below in “Things to Look For”
 \fi
+
+\subsection{Benchmark Programs}
+
+
+
+\subsubsection{Number of instructions}
+
+\subsubsection{Instruction composition}
+Function composition was executed with following code:
+
+\begin{lstlisting}[frame=single, caption={RISC assembly frame for executring tests}, emph={setup,start,done}]
+setup:
+	JUMP .start
+.done:
+	JUMP .done
+.start:
+	; Setup values
+	; Call function
+	JUMP .done
+\end{lstlisting}
+
+\begin{lstlisting}[frame=single, caption={OISC assembly frame for executring tests}, emph={setup,start,done}]
+setup:
+	BR1 .start @1
+	BR0 .start @0
+	BRZ 0x00
+.done:
+	BRZ 0x00
+.start:
+	; Setup values
+	; Call function
+	BR1 .done @1
+	BR0 .done @0
+	BRZ 0x00
+\end{lstlisting}
+
+
+
+\subsection{Maximum clock frequency}
+
+\subsection{}

+ 1 - 1
docs/final_report/7-conclusion.tex

@@ -6,4 +6,4 @@ The final chapter is short and sweet, to the point:
  Now step out one level, then another indicating the impact your work will have on the literature and on future endeavours.
  * Start with the specifics and end with the general.
  * Summarise key result; mention limitations, note anything unexpected.
-\fi
+\fi

+ 5 - 5
docs/final_report/8-appendix.tex

@@ -1,12 +1,12 @@
 
 
-
+\subsection{Processor instruction set tables}\label{subsec:instruction_sets}
 \arrayrulecolor{black}
 \begin{longtable}[h!]{| l | p{.70\textwidth} | c |}
 \caption{Instruction set for RISC processor. * Required immediate size in bytes}
 \label{table:risc_instructions}\\
 
-\hline 
+\hline
 \rowcolor[rgb]{0.82,0.82,0.82}
 Instr. & Description & I-size *\\\hline
 \endhead		
@@ -93,7 +93,7 @@ INTRE& Set interrupt entry pointer & 2 \\\hline
 \arrayrulecolor{black}
 \begin{longtable}[h!]{| l | p{0.8\textwidth} |}
 	\caption{Instructions for OISC processor.}
-	\label{table:oisc_instructions}\\
+	\label{tab:oisc_instructions}\\
 	
 	\hline 
 	\rowcolor[rgb]{0.82,0.82,0.82}
@@ -125,8 +125,8 @@ INTRE& Set interrupt entry pointer & 2 \\\hline
 	
 	\arrayrulecolor{black}\hline
 	\multicolumn{2}{|c|}{
-		\cellcolor[rgb]{0.7,0.7,1}\textit{Source Addresses}} \\
-	\hline\arrayrulecolor[rgb]{0.82,0.82,0.82}
+		\cellcolor[rgb]{0.7,0.7,1}\textit{Source Addresses}} \\\hline
+	\arrayrulecolor[rgb]{0.82,0.82,0.82}
 	
 	NULL & Get constant 0 \\
 	ALU0 & Get value at ALU source A accumulator \\

BIN
docs/final_report/index.pdf


+ 15 - 0
docs/final_report/index.tex

@@ -13,6 +13,7 @@
 \usepackage{caption}
 \usepackage{enumitem}
 \usepackage{lipsum}
+\usepackage{listings}
 
 
 
@@ -39,6 +40,20 @@
 \usepackage[backend=bibtex]{biblatex}
 \addbibresource{references.bib}
 
+\definecolor{c1}{HTML}{ff7568} 
+\definecolor{c2}{HTML}{8cbfff} 
+\definecolor{c3}{HTML}{a6ddb7} 
+\definecolor{darkred}{rgb}{0.6,0,0}
+
+\lstdefinelanguage{asm}{
+	morekeywords={ADC,ADD,ADDC,ADDI,ALU0,ALU1,AND,ANDI,BEQ,BGE,BGT,BR0,BR1,BRZ,BZ,CALL,CI0,CI1,CI2,CLC,CLN,CLS,COM,COMA,COMD,CPY0,CPY1,CPY2,CPY3,DEC,DIV,EQ,GE,GETAH,GETIF,GT,INC,INTRE,JUMP,LE,LT,LWHI,LWLO,MEM0,MEM1,MEM2,MEMHI,MEMLO,MOD,MOVE,MUL,MULHI,MULLO,NE,NULL,OR,ORI,PC0,PC1,POP,PUSH,RBWI,REG0,REG1,RET,RETI,RJUMP,ROL,ROR,SBC,SETC,SETI,SETN,SETS,SLL,SRA,SRL,SSETN,SSETS,STACK,STPT0,STPT1,SUB,SUBC,SUBI,SWHI,SWLO,XOR,XORI},
+	sensitive=false,
+	morecomment=[l]{;},
+	morestring=[b]",
+}
+
+\lstset{language=asm, basicstyle=\ttfamily, commentstyle=\color{gray}, emphstyle={\color{darkred}}}
+
 \begin{document}
 	
 	\begin{titlepage}

docs/report_4/graphics/ucl-banner-dl-port-outline.eps → docs/resources/graphics/ucl-banner-dl-port-outline.eps


BIN
docs/resources/oisc_decoder.dia


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 2674 - 0
docs/resources/oisc_decoder.eps


BIN
docs/resources/risc_imo.dia


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 3657 - 0
docs/resources/risc_imo.eps