Documente Academic
Documente Profesional
Documente Cultură
A Seminar Report
V Semester
(Autonomous Batch)
by
K.Jeevan Reddy
B17CS110
CE RT I FI C AT E
Counselor
B.RAJU
S.Venkatramulu V.Shankar
Dept of C.S.E Dept of C.S.E
ACKNOWLEDGEMENT
I would like to extend thanks to our respected Head of the department, Dr. V.Shankar,
Professor for allowing us to use the facilities available. We would like to thank other
faculty members also .
Last but not the least, I would like to thank our friends and family for the support
and encouragement they have given us during the course of our work.
K.Jeevan Reddy
B17CS110
ABSTRACT
Zen is the codename for a computer processor microarchitecture from AMD, and was
first used with their Ryzen series of CPUs in February 2017. The first Zen-based preview
system was demonstrated at E3 2016, and first substantially detailed at an event hosted
a block away from the Intel Developer Forum 2016. The first Zen-based CPUs
codenamed "Summit Ridge" reached the market in early March 2017, Zen-
derived Epyc server processors launched in June 2017 and Zen-based APUs arrived in
November 2017.
Zen is a clean sheet design that differs from the long-standing Bulldozer architecture.
Zen-based processors use a 14 nm FinFET process, are reportedly more energy efficient,
and can execute significantly more instructions per cycle. SMT has been introduced,
allowing each core to run two threads. The cache system has also been redesigned,
making the L1 cache write-back. Zen processors use three different sockets: desktop
and mobile Ryzen chips use the AM4 socket, bringing DDR4 support; the high-end
desktop Zen-based Threadripper chips support quad-channel DDR4 RAM and offer 64
PCIe 3.0 lanes (vs 24 lanes), using the TR4 socket and Epyc server processors offer 128
PCI 3.0 lanes and octal-channel DDR4 using the SP3 socket. But not all Socket AM4 CPUs
are based on Zen microarchitecture (the 7th gen APUs and Athlon X4s are based
on Excavator microarchitecture).
Contents
● What is Ryzen?
● History
● Features
● Zen Architecture
● SenseMI Technology
● Master Software
● Benchmarks
The Ryzen Chip
What is Ryzen ?
CPU chip family released by AMD in 2017, which uses their latest architecture called Zen.
AMD has released Ryzen 7 and Ryzen 5 families described below, and they plan to release another
one called Ryzen 3.
Zen is divided into a number of clock domains, each operating at a certain frequency:
The Address Generation Unit (AGU) is one of three execution units on the DSP56300
core. The AGU performs the effective address calculations (using integer arithmetic)
necessary to address data operands in memory and contains the registers used to generate
the addresses. To minimize address-generation overhead, the AGU operates in parallel
with other chip resources. It implements four types of arithmetic:
Linear
Modulo
Multiple wrap-around modulo
Reverse-carry
A second full adder—a modulo adder—adds the summed result of the first full adder to a
modulo value, M or minus M, where M is stored in the respective modifier register. A
third full adder—a reverse-carry adder—can perform the following additions, with the
carry propagating in the reverse direction (that is, from the Most Significant Bit (MSB) to
the Least Significant Bit (LSB):
Plus one
Minus one
AGU Architecture
The offset adder and the reverse-carry adder operate in parallel and share common inputs.
The only difference between them is that the carry propagates in opposite directions. Test
logic determines which of the three summed results of the full adders is output. Figure 4-1
shows a block diagram of the AGU.
Triple Multiplexer
EP
N0 M0 R0 R4 M4 N4
N1 M1 Address R1 R5 Address M5 N5
ALU R2 R6 ALU M6 N6
N2 M2
N3 M3 R3 R7 M7 N7
Each Address ALU can update one address register from its respective address register
file during one instruction cycle. The contents of the associated modifier register specify
the type of arithmetic to be used in the address register update calculation. The modifier
value is decoded in the Address ALU.
The two Address ALUs can generate up to two addresses every instruction cycle:
One for the PAB, or
One for the XAB, or
One for the YAB, or
One for the XAB and one for the YAB
The AGU can directly address 16,777,216 locations on each of the XAB, YAB, and PAB.
Using a register triplet to address each operand, the two independent ALUs can work with
the two data memories to feed two operands to the Data ALU in a single cycle.
Sixteen-bit Compatibility Mode
A T-state was once known as a Throttling state. Back in the days before C
and P states, T-states existed to save processors from burning
themselves up when things went very badly, such as when the cooling
fan failed while the processor was running as fast as she could. If a
simple well placed temperature sensor registered that the junction
temperature was reaching a level that could cause damage to the
package or its contents, the HW power manager would place the
processor in different T-States depending upon temperature; the higher
the temperature, the higher the T-State.
The normal run state of the processor was T0. When the processor
entered a higher T-state, the manager would clock gate the cores to
slowdown execution and allow the processor to cool. For example, in T1
the HW power manager might clock gate 12% of the cycles. In rough
terms, this means that the core will run for 78% of the time and sleep for
the rest. T2 might clock gate 25% of the cycles, etc. In the very highest T-
state, over 90% of the cycles might be clock gated. (See the figure
below.)
note that in contrast to P-states, the voltage and frequency are not
changed. Also, using T-states the application runs slower not because
the processor is running slower, but because it is suspended for some
percent of the time. In some ways, you can think of a T-state as being
like a clock gated C1 state with the processor not being idle, i.e. it is still
doing something useful.
In the figure above, the top most area shows the runtime of a compute
intensive workload if no thermal overload occurs. The bottom shows the
situation with T states (i.e. before P states), where the processor begins
to toggle between running and stopped states to cool down the
processor. The middle is what happens in current processors, where the
frequency/voltage pair is reduced allowing the processor to cool.
There are a few more practical reasons you should be at least aware of
T-states.
Some technical literature now uses the term "throttling states" to mean
P-states, not T-states.
Some power management data structures, such as some defined by
ACPI, still include an unused T-state field. Many inquiries about T-states
originate from this little fact.
I suspect that T-states are still relevant in some embedded processors.
Ryzen Master Software