STAGE I.N.F.N. L.N.F. 2014
description
Transcript of STAGE I.N.F.N. L.N.F. 2014
STAGESTAGE I.N.F.N. L.N.F. I.N.F.N. L.N.F.
20142014Studenti: Andrea Anitori, Adriano Studenti: Andrea Anitori, Adriano
D’AguannoD’Aguanno
Tutor aziendale: Alessandro Balla.Tutor aziendale: Alessandro Balla.
Tutor: prof. Mauro Malatesta. Tutor: prof. Mauro Malatesta.
What we are going to What we are going to show youshow you General view of the board SoC FPGA (System on Chip General view of the board SoC FPGA (System on Chip
Field Programmable Gate Array).Field Programmable Gate Array). Explanation of the software ISE.Explanation of the software ISE. Language VHDL(Language VHDL(VHSIC Hardware Description Language).). Explanation of the software XPS (Xilinx Platform Studio).Explanation of the software XPS (Xilinx Platform Studio). General description of the procedure to create an General description of the procedure to create an
embedded processor.embedded processor. How to create a peripheral.How to create a peripheral. Frequency meter.Frequency meter. Module. Module. Test Bench.Test Bench. UCF(User Constraints File).UCF(User Constraints File). How to connect a peripheral to the processor throught How to connect a peripheral to the processor throught
the bus PLB(Processor Local Bus).the bus PLB(Processor Local Bus). How to import a personal peripheral.How to import a personal peripheral.
Description of the software SDK(Software Development Description of the software SDK(Software Development Kit).Kit).
SoC FPGASoC FPGA(System on Chip (System on Chip
Field Programmable Gate Field Programmable Gate Array)Array)
It’s a programmable chip.It’s a programmable chip. It’s mounted on a board.It’s mounted on a board. It’s linked to other devices like It’s linked to other devices like
displays, switches, buttons, ethernet displays, switches, buttons, ethernet gates, USB gates…gates, USB gates…
FPGAFPGA(Field Programmable Gate (Field Programmable Gate
Array)Array)
FPGAFPGA
DisplayDisplay
Ethernet gateEthernet gate
ClockClock
SwitchesSwitches
ButtonsButtonsUSB gateUSB gate
VGA gateVGA gate
Serial Serial portsports
(RS 232)(RS 232)
ExpansionExpansionconnectorsconnectors
ISEISE ISE is the software which is used to ISE is the software which is used to
program the FPGA.program the FPGA.
VHDL (VHDL (VHSIC Hardware Description Language ) )
It is one of It is one of the most the most used used programminprogramming language g language for the for the digital digital electronic electronic systems(like systems(like SoC FPGA).SoC FPGA).
VHDL moduleVHDL module
XPS (Xilinx Platform XPS (Xilinx Platform Studio)Studio)
It is the software to create an It is the software to create an embedded processor. embedded processor.
How to create an embedded How to create an embedded processor processor
What is an embedded processor?What is an embedded processor?
An embedded processor is a processor An embedded processor is a processor that is inside the FPGA.that is inside the FPGA.
Creating one is very easy!Creating one is very easy!
How to create an embedded How to create an embedded processorprocessor
You must create a new source in the You must create a new source in the software ISE.software ISE.
How to create an embedded How to create an embedded processorprocessor
Select the option “embedded Select the option “embedded processor”.processor”.
How to create a How to create a peripheralperipheral
What is a peripheral?What is a peripheral?
A peripheral is a component used to A peripheral is a component used to communicate to the processor. communicate to the processor.
Also creating a peripheral isn’t Also creating a peripheral isn’t difficult, just follow a few difficult, just follow a few
instructions.instructions.
How to create a How to create a peripheralperipheral
Select the option “hardware”, and Select the option “hardware”, and clic on “Create or import clic on “Create or import peripheral”…peripheral”…
How to create a How to create a peripheralperipheral
……select the option “Create select the option “Create templates for a new peripheral”… templates for a new peripheral”…
How to create a How to create a peripheralperipheral
… … and set up the peripheral.and set up the peripheral.
Frequency meterFrequency meter
It is our custom It is our custom peripheral that that counts the input in a determinatecounts the input in a determinate gategate (time span). (time span).
It is composed by four channels of It is composed by four channels of input.input.
It shows the output on the board’s It shows the output on the board’s display.display.
Test BenchTest Bench
While a module is While a module is used to create the used to create the code for a code for a peripheral, the peripheral, the Test Bench is used Test Bench is used to simulate the to simulate the peripheral.peripheral.
Test Bench-simulationTest Bench-simulation The simulation waveform are shown inside ISEThe simulation waveform are shown inside ISE
UCF (User Constraint UCF (User Constraint File)File)
It is the area where you can link the It is the area where you can link the logical ports to the physical ports on logical ports to the physical ports on the board.the board.
How to connect a How to connect a peripheral to the processorperipheral to the processor
It is possible to connect a peripheral to It is possible to connect a peripheral to the processor through the bus the processor through the bus PLB(Processor Local Bus).PLB(Processor Local Bus).
How to import a personal How to import a personal peripheralperipheral
Also you can import a peripheral in a Also you can import a peripheral in a project already created.project already created.
The process is similar to that just The process is similar to that just described.described.
How to import a personal How to import a personal peripheralperipheral
Select the option “Hardware” and Select the option “Hardware” and clic on “Create or import clic on “Create or import peripheral”. peripheral”.
How to import a personal How to import a personal peripheralperipheral
Select the option “Import existing Select the option “Import existing peripheral”.peripheral”.
How to import a personal How to import a personal peripheralperipheral
Finally choose the peripheral.Finally choose the peripheral.
SDK (Software SDK (Software Development Kit)Development Kit)
It is the application used to develop It is the application used to develop the software used by the embedded the software used by the embedded platform in XPS.platform in XPS.
The programming language it uses is The programming language it uses is ‘C’.‘C’.
SDK (Software SDK (Software Development Kit)Development Kit)
Our embedded processor , implemented in this project, Our embedded processor , implemented in this project, reads the values from our frequency meter, and puts reads the values from our frequency meter, and puts them in output on the board’s display.them in output on the board’s display.
We used SDK to program the display of the board.We used SDK to program the display of the board.
The on board display shows the value in Hertz(Hz) of The on board display shows the value in Hertz(Hz) of each channel.each channel.
Thank you forThank you foryour attention.your attention.
We thank the I.T.S.T. “E. We thank the I.T.S.T. “E. Fermi” and the I.N.F.N. to Fermi” and the I.N.F.N. to
this oppurtunity.this oppurtunity.