Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lab 2.

Similar presentations


Presentation on theme: "Lab 2."— Presentation transcript:

1 Lab 2

2 IPs in this lab Altera IPs Custom module Avalon ALTPLL
UART (RS-232 Serial Port) Custom module RSA Avalon-MM master interface module

3 IP configuration – Avalon ALTPLL

4 IP configuration – Avalon ALTPLL
System clock depends on your design

5 IP configuration – UART (RS232)

6 Add custom module to Qsys
It depends on you

7 Add custom module to Qsys
2.right-click here to set top-level file if necessary 1.Add your design 3.Check design correctness

8 Add custom module to Qsys
Check the interface & signal type are consistent with Avalon-MM master protocol

9 Add custom module to Qsys

10 Qsys system & connection
Remember to add your module Signals here will be in the I/O list of the generated Qsys module

11 Qsys system & connection
Idea of these connections: DE2-115 clock (clk_in) is used by altpll to generate the clock (c0) for uart-rs232 & rsa module

12 Qsys system & connection
Similarly, these connection means the reset signal from DE2-115 works as reset signal for altpll, uart-rs232, and rsa module.

13 Qsys system & connection
Remember to export necessary conduit signals to connect with DE2-115 pins Master-slave pair in this lab

14 Generate Qsys module MM slave will be assigned with address

15 Generate Qsys module

16 Include generated Qsys module
Include the xxx.qip file in the output directory during Qsys generation to project

17 Instantiate Qsys module
Finally, remember to instantiate the generate Qsys module. For the module I/O, refer to xxx.v in the same directory of xxx.qip Generated module I/O should be the same as Exported signals in Qsys


Download ppt "Lab 2."

Similar presentations


Ads by Google