针对目前模型机控制器以微程序控制方式为主的现状,采用复杂可编程逻辑器件(CPLD)实现对模型机控制器的设计。设计了模型机的指令系统,包括23条指令;通过Quartus II软件,利用原理图输入法设计指令译码器、时序节拍电路、组合逻辑电路模块,以构成一个完整的模型机控制器;把编译好的原理图文件下载到Altera MAX II实验板上进行验证。验证结果表明,该控制器提高了指令的执行速度,有效地增强了设计的灵活性,降低了实验成本。
For the current situation that most of the machine controllers were in the microprogram control mode,a complex pro-grammable logic device (CPLD)was used to realize the design of model machine controller.First of all,the instruction system of model machine was designed,which had twenty three instructions.Then,through the Quartus II software,the schematic de-sign instruction decoder,temporal rhythm circuit and combinational logic circuit modules were used to constitute a complete mo-del machine controller.Finally,the compiled schematic file was downloaded to Altera MAX II devices for validation.The experi-mental results showed that,the model controller designed by CPLD improved the execution speed of instructions,enhanced the flexibility of the design and reduced the cost of experiments.