1. An apparatus for controlling NAND flash memory, the apparatus comprising:
a register unit storing a start address of a macro-command to be executed, wherein macro-commands are described in a command script, and wherein each macro-command comprises a plurality of micro-commands in an array for controlling a unit operation of NAND flash memory;
a command fetch unit, if a start address of the macro-command to be executed is recorded in the register unit, accessing first memory connected based on the start address of the macro-command to be executed and sequentially reading the plurality of micro-commands from the start address of the macro-command to be executed;
a command interpretation unit interpreting the read micro-commands and outputting the result of interpretation including types of the micro-commands and command parameters; and
a command execution unit generating interface signals for controlling an operation of NAND flash memory according to each of the micro-commands based on the result of interpretation.
2. The apparatus of claim 1, wherein the register unit comprises:
a first register storing a start address of a macro-command to be executed, wherein macro-commands are described in a command script; and
a second register storing a start address of a macro-command array to be executed,
wherein macro-command arrays are described in a command script comprising at least one macro-command array, and
wherein each macro-command array comprises a plurality of micro-command arrays for controlling a unit operation of NAND flash memory and if the start address of the macro-command array to be executed is recorded in the second register, the command fetch unit accesses first memory connected based on the start address of the macro-command array to be executed, sequentially reads start addresses of the macro-command from the start address of the macro-command array to be executed, and sequentially reads the plurality of micro-commands that constitute each macro-command from the first memory based on the start address of each macro-command.
3. The apparatus of claim 2, wherein final data of the macro-command array is a macro-command array end command that indicates an end of the macro-command array, and if the macro-command array end command is read, the command fetch unit stops an additional operation of reading the start address of each macro-command.
4. The apparatus of one of claims 1 to 3, wherein final data of the macro-command array is a macro-command end command that indicates an end of the macro-command, and if the macro-command end command is read, the command fetch unit stops an additional operation of reading the micro-commands.
5. The apparatus of one of claims 1 to 3, wherein each of the interface signals is a NAND flash memory control signal selected from the group consisting of a single read signal RDS for reading data once from NAND flash memory, a single write signal WRS for writing data once in NAND flash memory, a multiple read signal RDM for reading data a plurality of times from NAND flash memory, a multiple write signal WRM for writing data a plurality of times in NAND flash memory, a chip enable (CE) signal for selecting a NAND flash memory chip for operation control from a plurality of NAND flash memory chips, a state check signal RB for checking a state of a NAND flash memory chip selected from the plurality of NAND flash memory chips, a wait signal WAIT for delaying for a predetermined number of times of an internal clock period, and an end signal END for ending an operation of controlling NAND flash memory.
6. The apparatus of one of claims 1 to 3, further comprising a register bank unit in which a plurality of registers in which a value of a command parameter that constitutes the micro-commands is recorded, are arranged in an array shape, wherein the command interpretation unit reads the value recorded in a register corresponding to a number of a register defined due to the command parameter of the micro-commands and provides the read value to the command execution unit.
7. The apparatus of one of claims 1 to 3, further comprising a data management unit which reads data stored in the connected second memory and provides the read data to the command execution unit or which receives the data read from NAND flash memory through an inputoutput (IO) bus from the command execution unit and stores the data in the second memory, wherein the register unit comprises a third register in which a data start address that indicates a start point of data write in the second memory and a start point of data write from the second memory by using the data management unit, is recorded.
8. An apparatus for controlling NAND flash memory, the apparatus comprising:
a register unit storing a start address of a macro-command array to be executed, wherein selected from macro-command arrays are described in a command script, and wherein each macro-command array comprises a plurality of micro-command arrays for controlling a unit operation of NAND flash memory;
a command fetch unit, if the start address of the macro-command array to be executed is recorded in the register unit, accessing first memory connected based on the start address of the macro-command array to be executed, sequentially reading start addresses of the macro-command from the start address of the macro-command array to be executed, and sequentially reading the plurality of micro-commands that constitute each macro-command from the first memory based on the start address of each macro-command;
a command interpretation unit interpreting the read micro-commands and outputting the result of interpretation including types of the micro-commands and command parameters; and
a command execution unit generating interface signals for controlling an operation of NAND flash memory according to each of the micro-commands based on the result of interpretation.
9. The apparatus of claim 8, wherein final data of the macro-command array is a macro-command array end command that indicates an end of the macro-command array, and if the macro-command array end command is read, the command fetch unit stops an additional operation of reading the start address of each macro-command.
10. The apparatus of claim 8 or 9, wherein final data of the macro-command array is a macro-command end command that indicates an end of the macro-command, and if the macro-command end command is read, the command fetch unit stops an additional operation of reading the micro-commands.
11. The apparatus of one of claims 8 to 9, wherein each of the interface signals is a NAND flash memory control signal selected from the group consisting of a single read signal RDS for reading data once from NAND flash memory, a single write signal WRS for writing data once in NAND flash memory, a multiple read signal RDM for reading data a plurality of times from NAND flash memory, a multiple write signal WRM for writing data a plurality of times in NAND flash memory, a chip enable (CE) signal for selecting a NAND flash memory chip for operation control from a plurality of NAND flash memory chips, a state check signal RB for checking a state of a NAND flash memory chip selected from the plurality of NAND flash memory chips, a wait signal WAIT for is delaying for a predetermined number of times of an internal clock period, and an end signal END for ending an operation of controlling NAND flash memory.
12. The apparatus of one of claims 8 to 9, further comprising a register bank unit in which a plurality of registers in which a value of a command parameter that constitutes the micro-commands is recorded, are arranged in an array shape, wherein the command interpretation unit reads the value recorded in a register corresponding to a number of a register defined due to the command parameter of the micro-commands and provides the read value to the command execution unit.
13. The apparatus of one of claims 8 to 9, further comprising a data management unit which reads data stored in the connected second memory and provides the read data to the command execution unit or which receives the data read from NAND flash memory through an inputoutput (IO) bus from the command execution unit and stores the data in the second memory, wherein the register unit comprises a third register in which a data start address that indicates a start point of data write in the second memory and a start point of data write from the second memory by using the data management unit, is recorded.
14. The apparatus of claim 10, wherein each of the interface signals is a NAND flash memory control signal selected from the group consisting of a single read signal RDS for reading data once from NAND flash memory, a single write signal WRS for writing data once in NAND flash memory, a multiple read signal RDM for reading data a plurality of times from NAND flash memory, a multiple write signal WRM for writing data a plurality of times in NAND flash memory, a chip enable (CE) signal for selecting a NAND flash memory chip for operation control from a plurality of NAND flash memory chips, a state check signal RB for checking a state of a NAND flash memory chip selected from the plurality of NAND flash memory chips, a wait signal WAIT for is delaying for a predetermined number of times of an internal clock period, and an end signal END for ending an operation of controlling NAND flash memory.
15. The apparatus of claim 10, further comprising a register bank unit in which a plurality of registers in which a value of a command parameter that constitutes the micro-commands is recorded, are arranged in an array shape, wherein the command interpretation unit reads the value recorded in a register corresponding to a number of a register defined due to the command parameter of the micro-commands and provides the read value to the command execution unit.
16. The apparatus of claim 10, further comprising a data management unit which reads data stored in the connected second memory and provides the read data to the command execution unit or which receives the data read from NAND flash memory through an inputoutput (IO) bus from the command execution unit and stores the data in the second memory, wherein the register unit comprises a third register in which a data start address that indicates a start point of data write in the second memory and a start point of data write from the second memory by using the data management unit, is recorded.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A device (1) for automatically cleaning a surface submerged in a liquid, designed to be connected to a pump, comprising:
a hollow head (2) having a seat (11); and
first (5a) and second (5b) suction hoses opening onto said hollow head (2),
wherein the seat (11) delimits a space in which a flap valve (4, 41, 42) is housed, said flap valve (4, 41, 42) being adapted to cooperate with said seat (11) so as to adopt first and second closing positions in which it respectively closes the first (5a) and second (5b) suction hoses when said device (1) is operating,
wherein a sieve (9) is arranged inside the hollow head (2) so as to avoid the flap valve (4, 41, 42) from being stuck by any debris in said space,
wherein said flap valve (41, 42) is at least partially hollow,
wherein the flap valve (41, 42) comprises a spacer (50) arranged between the first (41a, 42a) and second (42a, 42b) faces thereof, and
wherein a length of said spacer (50) is adjustable.
2. The device according to claim 1, wherein a ratio between a width of the flap valve (4, 41, 42) and a width of said space at a section (S) of said space is greater than 70%.
3. The device according to claim 1, wherein said seat (11) has first (11a) and second (11b) faces, and said flap valve (4, 41, 42) has first (4a, 41a, 42a) and second (4b, 41b, 42b) faces, and said first faces or said second faces cooperating together for alternately sealing the first and second hoses pipes.
4. The device according to claim 3, wherein an angle between the first (41a, 42a) and second (42a, 42b) faces of the flap valve (41, 42) is adjustable.
5. The device according to claim 2, wherein the section (S) is perpendicular to a bisector (B) of the first (11a) and second (11b) faces of the seat (11).
6. The device according to claim 1, wherein the hollow head (2) has a flat surface opposite the submerged surface, and the first (5a) and second (5b) suction hoses have a slope between 20\xb0 and 30\xb0 with respect to a plane of the surface submerged in the liquid.
7. The device according to claim 6, wherein the slope is 25\xb0.
8. The device according to claim 1, wherein the surface submerged in the liquid is at least one of a bottom, walls, submerged area, and water line of a swimming pool.