摘要 |
PURPOSE: A device for encoding and decoding and a method for controlling thereof are provided to reduce the load of CPU carrying out encoding and decoding by using a gate array and to carry out encoding and decoding closely in real time. CONSTITUTION: A device for encoding and decoding and a method for controlling thereof include a CPU interface portion(11), a decoder(12), a memory portion(30), an in/output buffer(13), an engine portion(40), an interrupt controller(20) and a condition register(14). The CPU interface portion(11) is connected to the CPU. The decoder(12) decodes the key value received through the CPU interface portion(11) and data and outputs it. The memory portion(30) confirms a user by the output of the decoder(12) and outputs the data of the set up code. The in/output buffer(13) sends and receives the data between engine portions(40). The engine portion(40) carries out encoding and decoding according to the data received from the in/output buffer(13) and the code value of the memory portion(30). The interrupt controller(20) detects and outputs the condition of the engine portion. The condition register(14) outputs the condition to the CPU through the CPU interface portion(11).
|