首页 > 其他 > 详细

Princeton ELE 475 - 3 single-cycle implementation

时间:2020-05-29 23:45:05      阅读:75      评论:0      收藏:0      [点我收藏+]

Big Picture: Classic 5 Components of A Processor

-- Control Unit  (in the processor)

-- Datapath      (in the processor)

-- Memory

-- Input

-- Output


 HARDWARE DESIGN STEPS

1. analyze instruction set => datapath requirements

 

    ISA model => RTL model: the meaning of each instruction is given by the register transfers

    datapath must include storage element of ISA registers and possibly more

    datapath must support each register transfer

2. select set of datapath componets and build clocking methodology

3. assemble datapath meeting the RTL requirements

4. analyze implementation of each instruction to determine setting of ctrl points that effect the register transfer

5. assemble the ctrl logic

6. RTL datapath and ctrl design are refined

    timing and bug-fixing

    optimization for cost/performance (computering engineering is all about trade-off)


 SELECT A SUBSET OF INSTRUCTIONS

技术分享图片


LOOK AT WHAT HAPPENS ON EACH INSTRUCTION

  • 取出指令
  • 解码并执行

MORE DETAILED DECOMPOSITION

  • 取指 PC specifies a instruction and it get fetched from memory
  • 解码 figure out every field of the instruction; read 1 or 2 regs as operands
  • 执行 ALU does the math
  • 访存 read a data for a LOAD; write a data for a STORE
  • 回写 store results to memory or registers

技术分享图片

 

 技术分享图片

 


技术分享图片

5 steps done in a clock cycle

purely combinational logic in that rectangle

this is what single-cycle computer means

 

Princeton ELE 475 - 3 single-cycle implementation

原文:https://www.cnblogs.com/ELE-more-fun/p/12976593.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!