国外外企笔试面试题-例题
资源文件列表:

CA_22-23_lec10.pdf 416.31KB
资源介绍:
外企笔试面试题-例题 【项目资源】:包含前端、后端、移动开发、操作系统、人工智能、物联网、信息化管理、数据库、硬件开发、大数据、课程资源、音视频、网站开发等各种技术项目的源码。包括STM32、ESP8266、PHP、QT、Linux、iOS、C++、Java、python、web、C#、EDA、proteus、RTOS等项目的源码。 【项目质量】:所有源码都经过严格测试,可以直接运行。功能在确认正常工作后才上传。 【适用人群】:适用于希望学习不同技术领域的小白或进阶学习者。可作为毕设项目、课程设计、大作业、工程实训或初期项目立项。 【附加价值】:项目具有较高的学习借鉴价值,也可直接拿来修改复刻。对于有一定基础或热衷于研究的人来说,可以在这些基础代码上进行修改和扩展,实现其他功能。 【沟通交流】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。鼓励下载和使用,并欢迎大家互相学习,共同进步。
Computer Architecture
Lecture 10
Copyright ©2022 John T. O'Donnell
Dr José Cano Reyes
School of Computing Science
University of Glasgow
Autumn 2022
Processor Datapath

Outline
• Datapath and Control
• Processor Datapath
– Registers
– Internal processor signals
– Interface
• Operating the datapath
– Writing the ir
– Fetching an instruction and incrementing pc
– Using the register file
2

Where we are going…
• We’ll describe a digital circuit (M1) that implements the Sigma16 architecture
– It will be specified in full detail (i.e. level of logic gates and flip flops)
• No “magic” black boxes
– The design contains just logic gates and flip flops
• We will have two ways of executing a Sigma16 program
– Using the Sigma16 emulator (interprets the machine language, with lots of visual feedback in a
GUI)
– Running it on the M1 circuit (reading in the machine code, storing it in memory, and then executing
the program)
3

Plan
• The RTM circuit can execute only 1 RRR instruction (add)… now we need to do the rest!
• We start with a basic datapath for Sigma16
– Just what's required to execute (the core part of) the instruction set
• Then we’ll add the rest of a basic system: control and I/O
• Then we’ll look at some more sophisticated techniques
– Described at higher level, without every detail implemented at circuit level
– Examples: Cache, Pipelining, Superscalar
4

Datapath and control
• Large circuits are organised into two major subsystems: datapath and control
– Example: processor (CPU)
• Datapath circuit: contains registers and combinational logic for calculations
• Control circuit: generates all the control signals needed by the datapath circuit
• Many of the components in the datapath require control inputs
– Registers take a load control input
– Multiplexers and demultiplexers take conditional inputs (i.e. addresses)
5