This state skips, it doesn't dump.
authorMalte S. Stretz <mss@apache.org>
Sat, 27 Jun 2009 19:24:23 +0000 (21:24 +0200)
committerMalte S. Stretz <mss@apache.org>
Sat, 27 Jun 2009 19:54:46 +0000 (21:54 +0200)
doc/2_sd/sd_manager_e.fsm
fhw_sd/sd_commands_p.vhd
fhw_sd/sd_manager_e.vhd

index ede61bc..eb397a0 100644 (file)
@@ -19,7 +19,7 @@
     <state pencolor="0" endstate="0" radius="40" description="" moore_outputs="" ypos="175" code="10" xpos="912" linewidth="1" >pipe</state>
     <state pencolor="0" endstate="0" radius="40" description="" moore_outputs="" ypos="191" code="11" xpos="561" linewidth="1" >loop</state>
     <state pencolor="0" endstate="0" radius="40" description="" moore_outputs="" ypos="292" code="12" xpos="1083" linewidth="1" >vrfy</state>
-    <state pencolor="0" endstate="0" radius="40" description="" moore_outputs="" ypos="173" code="13" xpos="1014" linewidth="1" >dump</state>
+    <state pencolor="0" endstate="0" radius="40" description="" moore_outputs="" ypos="173" code="13" xpos="1014" linewidth="1" >skip</state>
     <transition c1x="107.1335613130307" c2y="45.08453629972242" c1y="36.69252147551387" description="" straight="0" type="2" ypos="120.0138432258861" endx="524.025485826098" xpos="87.94773271647068" endy="46.5723387795035" c2x="451.8459869832808" >
       <from>0</from>
       <to>1</to>
       <inputs default="0" any="0" invert="0" ></inputs>
       <outputs></outputs>
     </transition>
-    <transition c1x="1024.155253301478" c2y="32.07537578006965" c1y="4.625366666158982" description="" straight="0" type="2" ypos="133.4020202535533" endx="603.639697216413" xpos="1019.656854249492" endy="42.6432841599442" c2x="786.5558088664668" >
+    <transition c1x="1024.155253301478" c2y="32.07537578006965" c1y="4.625366666158982" description="" straight="0" type="2" ypos="133.4020202535534" endx="603.639697216413" xpos="1019.656854249492" endy="42.6432841599442" c2x="786.5558088664668" >
       <from>13</from>
       <to>1</to>
       <inputs default="0" any="0" invert="0" ></inputs>
index a0bc215..07fb43e 100644 (file)
@@ -22,8 +22,8 @@ package sd_commands_p is
   constant cmd_do_pipe_c : std_logic_cmd_t := to_cmd(61);
   constant arg_do_pipe_c : std_logic_arg_t := to_arg(512);
   
-  constant cmd_do_dump_c : std_logic_cmd_t := to_cmd(60);
-  constant arg_do_dump_c : std_logic_arg_t := to_arg(2); -- CRC16
+  constant cmd_do_skip_c : std_logic_cmd_t := to_cmd(60);
+  constant arg_do_skip_c : std_logic_arg_t := to_arg(2); -- CRC16
   
   constant cmd_go_idle_state_c : std_logic_cmd_t := to_cmd(0);
   constant arg_go_idle_state_c : std_logic_arg_t := arg_null_c;
index c782cf1..e038dc8 100644 (file)
@@ -52,7 +52,7 @@ architecture rtl of sd_manager_e is
     bsiz_state_c,
     read_state_c,
     pipe_state_c,
-    dump_state_c,
+    skip_state_c,
     send_state_c,
     shft_state_c,
     vrfy_state_c,
@@ -81,7 +81,7 @@ begin
         when bsiz_state_c => curr_state_s <= send_state_c;
         when read_state_c => curr_state_s <= send_state_c;
         when pipe_state_c => curr_state_s <= send_state_c;
-        when dump_state_c => curr_state_s <= send_state_c;
+        when skip_state_c => curr_state_s <= send_state_c;
         when send_state_c => curr_state_s <= shft_state_c;
         when shft_state_c => curr_state_s <= next_state_s;
         when vrfy_state_c => curr_state_s <= jump_state_c;
@@ -118,9 +118,9 @@ begin
         when pipe_state_c =>
           command  <= cmd_do_pipe_c;
           argument <= arg_do_pipe_c;
-        when dump_state_c =>
-          command  <= cmd_do_dump_c;
-          argument <= arg_do_dump_c;
+        when skip_state_c =>
+          command  <= cmd_do_skip_c;
+          argument <= arg_do_skip_c;
         when others =>
           prev_state_s <= prev_state_s;
       end case;
@@ -160,8 +160,8 @@ begin
               when init_state_c => next_state_s <= init_state_c;
               when bsiz_state_c => next_state_s <= wait_state_c;
               when read_state_c => next_state_s <= pipe_state_c;
-              when pipe_state_c => next_state_s <= dump_state_c;
-              when dump_state_c => next_state_s <= wait_state_c;
+              when pipe_state_c => next_state_s <= skip_state_c;
+              when skip_state_c => next_state_s <= wait_state_c;
               when others => null;
             end case;
           end if;