QUARTUS II INTRODUCTION USING VERILOG DESIGN

82 610 6
QUARTUS II INTRODUCTION USING VERILOG DESIGN

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

QUARTUS II INTRODUCTION QUARTUS II INTRODUCTION USING VERILOG DESIGN USING VERILOG DESIGN VIETNAM NATIONAL UNIVERSITY OF HOCHIMINH CITY INTEGRATED CIRCUIT DESIGN RESEARCH AND EDUCATION CENTER (ICDREC) FEB – 18 - 2007 By NGO DUC HOANG DEPUTY DIRECTOR A TYPICAL FPGA CAD FLOW A TYPICAL FPGA CAD FLOW Design Entry Synthesis Functional Simulation Design correct? Timing Analysis and Simulation Timing requirements met? Fitting (Place and Route) Yes No Programming and Configuration Yes No QUARTUS II DEVELOPMENT QUARTUS II DEVELOPMENT SYSTEM SYSTEM  Fully-integrated Design Tool Fully-integrated Design Tool  Multiple Design Entry Methods Multiple Design Entry Methods  Logic Synthesis Logic Synthesis  Place and Route Place and Route  Simulation (functional and timing) Simulation (functional and timing)  Timing and Power Analysis Timing and Power Analysis  Device Programming and Configuration Device Programming and Configuration Design Entry (1 of 2) Design Entry (1 of 2) The desired circuit is specified by: The desired circuit is specified by:  A schematic diagram A schematic diagram  A hardware description language, A hardware description language, such as: such as:  Verilog Verilog  VHDL VHDL  AHDL… AHDL… Design Entry (2 of 2) Design Entry (2 of 2) Design Entry by a schematic diagram Design Entry by a schematic diagram Design Entry by a hardware description Design Entry by a hardware description language language Synthesis Synthesis  The entered design is synthesized into a The entered design is synthesized into a circuit that consists of the circuit that consists of the logic elements logic elements ( ( LEs LEs ) provided in the FPGA chip ) provided in the FPGA chip . .  LE is the smallest unit of logic of Altera’s LE is the smallest unit of logic of Altera’s FPGA. It’s compact and provides advanced FPGA. It’s compact and provides advanced features with efficient logic ultilization. features with efficient logic ultilization.  This course doesn’t cover the architecture This course doesn’t cover the architecture of Altera’s FPGA of Altera’s FPGA LE logic element LE logic element Fitting (placement and routing) Fitting (placement and routing)  The placement of the LEs defined in the The placement of the LEs defined in the netlist into the LEs in an actual FPGA chip, netlist into the LEs in an actual FPGA chip, also choose routing wires in the chip to also choose routing wires in the chip to make the required connections between make the required connections between specific LEs specific LEs [...]... electronic circuits Quartus II - Summary 5 Design Entry using Verilog – An example module light(x1,x2,f); input x1,x2; output f; assign f = (x1&~x2)|(~x1&x2); endmodule Design Entry using VerilogQuartus II Text Editor (1 of 6) Select File > New to get the right figure, then choose Verilog HDL File, and click OK 3 1 2 4 Design Entry using VerilogQuartus II Text Editor (2 of 6) Quartus II open the Text... Text Editor (4 of 6) Type the Verilog code of our design into Text Editor Save the file light.v by choose File > Save Design Entry using VerilogQuartus Text Editor (5 of 6) Design Entry using VerilogQuartus II Text Editor (6 of 6) We can change the options of Text Editor of Quartus II by the settings in Tools > Options > Text Editor Design Entry using Verilog – Adding Design Files If light.v is... default name of design file is Verilog1 .v The first step is to specify a name for the file that will be created Select File > Save As Design Entry using Verilog – Quartus II Text Editor (3 of 6) In the box labeled Save as type choose Verilog HDL File In the box labeled File name , type light Put a checkmark in the box Add file to current project Click Save Design Entry using Verilog – Quartus II Text Editor... files 3 Quartus II Project – Family and Device Settings To specify the type of device in which the designed circuit will be implemented In case of DE2 board, we choose: • The target device family is Cyclone II • The device is EP2C35F672C6 which is the FPGA used on DE2 board Quartus II Project – EDA Tools Settings 4 To specify any thirdparty tools that should be used EDA is means Electronic Design Automation,... with the Settings command (Assignment menu) Quartus II Project – Directory, Name, TopLevel Entity • You can choose any directory name if you prefer If we have not yet created the directory of the project, Quartus II asking if it should create the desired directory • The project must have a name, which is usually the same as the top-level design entity Quartus II Project – Add Files To specify existing... to generate programming file Quartus II works on one project at a time and keeps all information for that project in a single directory (folder) Quartus II Project –New Project Select File > New Project Wizard 1 New Project Wizard help us create a new project and preliminary project settings, including the following: • Project name and directory • Name of the top-level design entity • Project files... file must be added to the project For example: if you did not use the Quartus II Text Editor, then you place a copy of the file light.v, which you created using some other text editor, into the directory introductorial To add this file to the project, click on the light.v file and click Open Compilation (1 of 2) Verilog code in the design file light.v is processed by the application program called the... functional correctness and timing Programming and Configuration  The design circuit is implemented in a physical FPGA chip by programming the configuration switches that configure the LEs and establish the required wiring connections Quartus II Project Management   What is a Project ? - A logic circuit or subcircuit - A project is: + checked for design entry errors + compiled + simulated (functional or timing)... Save 3 Recompile Pin Assignments – Using DE2_pin_assignments.csv We can download DE2_pin_assign ments.csv from http://www.altera com/education/un iv/materials/board s/DE2_pin_assign ments.csv Pin Assignments – Using DE2_pin_assignments.csv If we want to make the pin assignments for our circuit by importing DE2_pin_assignments.csv, we would have to use the same names in Verilog coding: 1 module light1(SW,LEDG);... Synthesize the circuit - Generate an implementation of the circuit for the target chip 2 Selecting Processing > Start Compilation Compilation (2 of 2) 3 Pin Assignment Purpose: map the I/O signals of your design to the physical pins of selected FPGA  Pin assignments are made by: • Assignment Editor (manual), or • Import a pin assignment from a special file format – comma separated value (CSV) format Note: . QUARTUS II INTRODUCTION QUARTUS II INTRODUCTION USING VERILOG DESIGN USING VERILOG DESIGN VIETNAM NATIONAL UNIVERSITY. Yes No QUARTUS II DEVELOPMENT QUARTUS II DEVELOPMENT SYSTEM SYSTEM  Fully-integrated Design Tool Fully-integrated Design Tool  Multiple Design Entry Methods

Ngày đăng: 06/11/2013, 03:15

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan