From: Bernhard Urban Date: Fri, 26 Mar 2010 19:00:03 +0000 (+0100) Subject: spec: dies und das X-Git-Tag: spec-abgabe1~5 X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=hwmod.git;a=commitdiff_plain;h=00b4c25bc4f96e2b99a1d8a7b845eced6dbe26cf spec: dies und das --- diff --git a/spec/Architektur.dia b/spec/Architektur.dia index 9c0bd63..527a887 100644 --- a/spec/Architektur.dia +++ b/spec/Architektur.dia @@ -68,16 +68,16 @@ - + - + - + @@ -85,13 +85,13 @@ - + - + - + @@ -126,13 +126,13 @@ - + - + - + @@ -249,13 +249,13 @@ - + - + - + @@ -290,13 +290,13 @@ - + - + - + @@ -331,13 +331,13 @@ - + - + - + @@ -372,13 +372,13 @@ - + - + - + @@ -413,13 +413,13 @@ - + - + - + @@ -454,13 +454,13 @@ - + - + - + @@ -495,54 +495,13 @@ - + - + - - - - - - - - - - - - - - - - - - - #Bin/Dez-Converter# - - - - - - - - - - - - - - - - - - - - - - - + @@ -575,16 +534,16 @@ - + - + - + - - + + @@ -603,15 +562,15 @@ - + - + - + - + @@ -644,16 +603,16 @@ - + - + - + - - + + @@ -668,20 +627,20 @@ - + - + - + - + - - + + @@ -697,19 +656,19 @@ - + - + - + - + - - + + @@ -728,16 +687,16 @@ - + - + - + - - + + @@ -756,16 +715,16 @@ - + - + - + - - + + @@ -784,16 +743,16 @@ - + - + - + - - + + @@ -808,19 +767,19 @@ - + - + - + - + - + @@ -853,16 +812,16 @@ - + - + - + - - + + @@ -881,16 +840,16 @@ - + - + - + - - + + @@ -909,44 +868,16 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - - + + @@ -965,16 +896,16 @@ - + - + - + - - + + @@ -993,16 +924,16 @@ - + - + - + - - + + @@ -1018,19 +949,19 @@ - + - + - + - + - - + + @@ -1045,16 +976,16 @@ - - + + - + - + - + @@ -1068,7 +999,7 @@ - + @@ -1081,48 +1012,17 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - - + + @@ -1141,16 +1041,16 @@ - + - + - + - - + + @@ -1169,16 +1069,16 @@ - + - + - + - - + + @@ -1197,16 +1097,16 @@ - + - + - + - - + + @@ -1222,19 +1122,19 @@ - + - + - + - + - - + + @@ -1249,20 +1149,20 @@ - + - + - + - + - - + + @@ -1277,7 +1177,7 @@ - + diff --git a/spec/Architektur.png b/spec/Architektur.png index ff39fb8..c3e88a8 100644 Binary files a/spec/Architektur.png and b/spec/Architektur.png differ diff --git a/spec/TODO b/spec/TODO index f72f653..e0b5e8d 100644 --- a/spec/TODO +++ b/spec/TODO @@ -1,14 +1,10 @@ High Level Design Description - o nochmals drueber arbeiten am schluss (z.b. bin2dez converter rausnehmen). - o arch bild aktualisieren. + o nochmals drueber arbeiten am schluss Testfälle für alle Requirements o um zb. die History zu füllen sind 50+ Eingaben zu tätigen, kann mit anderen Testfällen kombiniert werden -Detaillierte Design Description - o fsm-todo: rs232, display - fuer abgabe selbst: o mit \newpage tabellen gscheid formatieren, sodass keine grauslichen Seitenumbrueche mitten in der Tabelle sind... (dort wo es halt moeglich ist). diff --git a/spec/sm/alu.pdf b/spec/sm/alu.pdf index 75a92da..1f02ea3 100644 Binary files a/spec/sm/alu.pdf and b/spec/sm/alu.pdf differ diff --git a/spec/sm/alu.tex b/spec/sm/alu.tex index c3accfe..437d304 100644 --- a/spec/sm/alu.tex +++ b/spec/sm/alu.tex @@ -21,15 +21,15 @@ \ncline[linestyle=dotted]{res}{idle} -\ncarc[arcangle=20]{idle}{add}\ncput*[npos=.50]{\shortstack{do\_calc$\uparrow$\\opc == ADD}} +\ncarc[arcangle=20]{idle}{add}\ncput*[npos=.50]{\shortstack{do\_calc$\uparrow$\\opc = ADD}} \ncarc[arcangle=20]{add}{idle} -\ncarc[arcangle=20]{idle}{sub}\ncput*[npos=.50]{\shortstack{do\_calc$\uparrow$\\opc == SUB}} +\ncarc[arcangle=20]{idle}{sub}\ncput*[npos=.50]{\shortstack{do\_calc$\uparrow$\\opc = SUB}} \ncarc[arcangle=20]{sub}{idle} -\ncarc[arcangle=20]{idle}{mul}\ncput*[npos=.50]{\shortstack{do\_calc$\uparrow$\\opc == MUL}} +\ncarc[arcangle=20]{idle}{mul}\ncput*[npos=.50]{\shortstack{do\_calc$\uparrow$\\opc = MUL}} \ncarc[arcangle=20]{mul}{idle} -\ncarc[arcangle=20]{idle}{div}\ncput*[npos=.50]{\shortstack{do\_calc$\uparrow$\\opc == DIV}} +\ncarc[arcangle=20]{idle}{div}\ncput*[npos=.50]{\shortstack{do\_calc$\uparrow$\\opc = DIV}} \ncarc[arcangle=20]{div}{idle} \end{document} diff --git a/spec/sm/parser.pdf b/spec/sm/parser.pdf index 0b2784b..affaf5e 100644 Binary files a/spec/sm/parser.pdf and b/spec/sm/parser.pdf differ diff --git a/spec/sm/parser.tex b/spec/sm/parser.tex index 5b4806b..51d11c8 100644 --- a/spec/sm/parser.tex +++ b/spec/sm/parser.tex @@ -55,5 +55,5 @@ \ncarc[arcangle=0]{null}{calc} \ncarc[arcangle=0]{calc}{read}\ncput*[npos=.50]{int\_done$\uparrow$} -\ncarc[arcangle=0]{calc}{done}\ncput*[npos=.50]{aktop == DONE} +\ncarc[arcangle=0]{calc}{done}\ncput*[npos=.50]{aktop = DONE} \end{document} diff --git a/spec/sm/scanner.pdf b/spec/sm/scanner.pdf index 4e645b7..39b9f05 100644 Binary files a/spec/sm/scanner.pdf and b/spec/sm/scanner.pdf differ diff --git a/spec/sm/scanner.tex b/spec/sm/scanner.tex index db92b56..0c21a11 100644 --- a/spec/sm/scanner.tex +++ b/spec/sm/scanner.tex @@ -8,16 +8,16 @@ \begin{psmatrix}[mnode=oval, colsep=2cm, rowsep=2cm] [mnode=R,name=res]{sys\_res\_n} & -[name=idle]{\shortstack{\textbf{idle}\\bs = 0\\take=0\\do\_it=0}} & -[name=take]{\shortstack{\textbf{\"ubernehmen}\\take = 1\\char = $b_0$}} \\ +[name=idle]{\shortstack{\textbf{idle}\\bs:=0;\\take:=0;\\do\_it:=0;}} & +[name=take]{\shortstack{\textbf{\"ubernehmen}\\take:=1;\\char:=$b_0$;}} \\ %% -[name=doit]{\shortstack{\textbf{enter}\\do\_it = 1}} & +[name=doit]{\shortstack{\textbf{enter}\\do\_it:=1;}} & & -[name=mod]{\shortstack{\textbf{mod}\\$b_0$ = data}} \\ +[name=mod]{\shortstack{\textbf{mod}\\$b_0$:=data;}} \\ %% & -[name=read]{\shortstack{\textbf{read}\\$b_0$ = data}} & -[name=bs]{\shortstack{\textbf{l\"oschen}\\backspace = 1}} \\ +[name=read]{\shortstack{\textbf{read}\\$b_0$:=data;}} & +[name=bs]{\shortstack{\textbf{l\"oschen}\\backspace:=1;}} \\ \end{psmatrix} \psset{arrows=->, shortput=nab} @@ -27,10 +27,10 @@ \ncarc[arcangle=25]{idle}{read}\ncput*[npos=.43]{new\_data$\uparrow$} \ncarc[arcangle=25]{read}{idle}\ncput*[npos=.43]{ung\"ultiges byte} -\ncarc[arcangle=-25]{read}{bs}\ncput*[npos=.50]{$b_0 == 0x0e$} -\ncarc[arcangle=25]{read}{doit}\ncput*[npos=.50]{$b_0 == 0x1c$} +\ncarc[arcangle=-25]{read}{bs}\ncput*[npos=.50]{$b_0 = 0x0e$} +\ncarc[arcangle=25]{read}{doit}\ncput*[npos=.50]{$b_0 = 0x1c$} -\ncarc[arcangle=0]{read}{mod}\ncput*[npos=.40]{$b_0 == 0xe0$} +\ncarc[arcangle=0]{read}{mod}\ncput*[npos=.40]{$b_0 = 0xe0$} \ncarc[arcangle=-40]{mod}{take}\ncput*[npos=.40]{g\"ultiges zeichen} \ncarc[arcangle=-25]{mod}{idle}\ncput*[npos=.53]{ung\"ultiges byte} diff --git a/spec/spec.tex b/spec/spec.tex index cc9125e..29bdfca 100644 --- a/spec/spec.tex +++ b/spec/spec.tex @@ -113,7 +113,7 @@ command\_data & in & 32 & std\_logic\_vector & Display & Daten f\"ur das Kommand free & out & 1 & std\_logic & Display & Signalisiert Bereitschaft \ZE \TEND - +\newpage \subsubsection{Display} %Liest einzelne Zeichen aus der History aus und leitet diese an das VGA Modul weiter, um sie in der entsprechenden Zeile anzeigen zu lassen \THEAD @@ -132,7 +132,7 @@ command\_data & out & 32 & std\_logic\_vector & VGA & Daten f\"ur das Kommando \ free & in & 1 & std\_logic & VGA & Signalisiert Bereitschaft \ZE \TEND - +\newpage \subsubsection{RS232} %Senden und Empfangen von Nachrichten vom/zum PC über die serielle Schnittstelle \THEAD @@ -146,7 +146,7 @@ tx\_data & out & 8 & std\_logic\_vector & PC-Kommunikation & Datenfeld f\"ur das tx\_new & out & 1 & std\_logic & PC-Kommunikation & Signalisiert dass das anliegende Byte gesendet werden soll \ZE \TEND - +\newpage \subsubsection{PC-Kommunikation} %Auf eine vom PC eintreffende Bufferübermittlungsanforderung oder ein Drücken des entsprechenden Board-Buttons, liest es Zeichen für Zeichen aus dem History Modul aus und leitet es an das RS232 Modul weiter \THEAD @@ -165,6 +165,7 @@ char & in & 8 & character & History & enth\"alt angeforderne Daten \ZE \TEND +\newpage \subsubsection{PS/2} \THEAD new\_data & out & 1 & std\_logic\_vector & Scanner & Signalisiert neuen Scancode \ZE