1 Start Icon... 2 1.1 The Quartus II Screen... 2 2 Project creation... 2 3 Schematic entry... 5 3.1 Create new drawing... 5 3.2 Symbol selection... 7 3.3 Placement of an AND gate... 8 3.4 Deleting a symbol... 8 3.5 Moving a symbol... 9 3.6 Selecting a group of symbols... 9 3.7 Drawing wires... 10 3.8 Adjusting a line... 11 3.9 Adding input/output points... 12 3.10 Using the zoom tool... 13 3.11 Saving files... 13 3.12 Closing a project... 14 3.13 Opening a project... 14 4 System compilation... 15 5 System Simulation... 17 QuartusII.doc 25/02/2005 Page 1
1 Start Icon 1.1 The Quartus II Screen 2 Project creation Select from menu Click the. check box to disable this dialogue box from appearing in future QuartusII.doc 25/02/2005 Page 2
Choose a fresh directory for each Quartus project Provide suitable name continue For simple projects it is unlikely that you will need to add files to the project. Click the button to continue. Quartus has all the features that you are likely to need, therefore click the button to continue. QuartusII.doc 25/02/2005 Page 3
For simple projects, Quartus II contains all the necessary EDA (Electronic Design Automation) tools for design and implementation of Altera FPGA based systems. Allow user to select a particular device. Select target family of devices Target list Click the continue. button to The two families of devices used in the department are Cyclone MAX7000S Click the button to continue. The devices used are : Cyclone o EP1C20F324C7 324 pins 7nS gate delay 20,000 flip-flop equivalent 256Kbits RAM Design of complex systems MAX7000S o EPM7128SLC84-15 84 pins 15nS gate delay 128 flip-flop equivalent Simple logic replacement EP1C20F324C7 Click the button to continue. QuartusII.doc 25/02/2005 Page 4
Quartus finishes the with a summary of your responses. Click the button to complete wizard. 3 Schematic entry 3.1 Create new drawing Create a new design file by clicking either the new file icon ( item. ) or the menu For schematic entry (i.e. diagrams using logic symbols) choose the Choose continue entry. The AHDL, Verilog, and VHDL allow the designer to describe the design in a computer language format. QuartusII.doc 25/02/2005 Page 5
The main work area now looks as follows Drawing area Project files Only one in this simple project. Drawing tools Temporary file! is created The main drawing tools are Text tool Block tool Orthogonal bus tool Use rubberbanding Zoom tool Find tool Selection and smart drawing tool Symbol tool Wire drawing tool (Orthogonal node tool) Orthogonal conduit tool Use partial line selection Full screen QuartusII.doc 25/02/2005 Page 6
3.2 Symbol selection Left click the symbol tool button to open the logic symbol listing. Click the symbol to get a list Symbol list Display area for selected components Primitives Description Notes buffer Specialised buffer functions logic other pin storage,,, and, symbols. Symbols with various numbers of inputs Ground and Vcc points. Schematic title area. Input Output Bidirectional D-type, JK, SR, Toggle, latch flipflops Standard logic symbols These can be connected to real input/output device pins Full range of flipflops QuartusII.doc 25/02/2005 Page 7
3.3 Placement of an AND gate Select gate Display area shows symbol selected check this box if you will be placing more than one of the symbols on your drawing Click to insert into drawing Left click mouse on your drawing area to place the symbol If using " left click to continue to place the required set of symbols Right click and to terminate process A quick way to bring up the symbol selection window is to double left click mouse when pointer is over the drawing area 3.4 Deleting a symbol First, select the appropriate symbol. To select, move mouse over symbol and left click mouse Press DEL key on keyboard QuartusII.doc 25/02/2005 Page 8
3.5 Moving a symbol Select symbol by moving mouse over symbol and clicking left mouse button $$" # " move object to required position then release button. If you wish to move symbols while maintaining all is connections then ensure that the system is set to # mode Click button. 3.6 Selecting a group of symbols A group of symbols can be selected by enclosing them in a bounding box. Move mouse to top corner of your bounded box and press left mouse button Resulting screen display Drag box to lower left cornet of box and release mouse button. Selected group can be either moved or deleted. QuartusII.doc 25/02/2005 Page 9
3.7 Drawing wires Left click button to set into wire drawing mode. Symbol wiring points To draw a wire between two points Wire drawing cursor Move cursor to end point and release mouse button Move wire drawing cursor to start point Press and continue to press left mouse button To exit wire drawing mode click the selection button. If two points are not in line then QuartusII will include right angle junctions in the connection. In normal symbol layout mode, it is possible to draw single wires. If you move the mouse cursor to a symbol terminal point, then the wire drawing cursor ( ) is activated. Draw line as normal. A junction between two lines is shown by a dot. junction Create a wire junction by drawing the wire to the line. A junction will be created automatically. crossover QuartusII.doc 25/02/2005 Page 10
3.8 Adjusting a line QuartusII drawn wires are not always take routes you would prefer. The lines can be moved and edited in a number of ways. 1. If # has been enabled (use symbols will also move the attached wires. icon), then moving the 2. Select segment of line to be moved by placing mouse on line and clicking left mouse button. Indicates end of segment Line with 3 segments Select segment place mouse over selected line and press left mouse button. Keep button pressed and drag line to required position. Release button when happy with position. 3. Delete line and redraw. Select line (as above), then press key. QuartusII.doc 25/02/2005 Page 11
3.9 Adding input/output points The input output points to circuits need to be marked for a number of reasons 1. input points for the injection of signals (for test) 2. output points to monitor results from the injection of test signals 3. to provide points which can be connected to real chip pins when the design is transferred to a physical FPGA device. Input/output pins are placed on your drawing in the same way as logic components Input pin A small wired circuit with 3 inputs and 1 output. 1 output pin 3 input pins Double left click to bring up pin name edit window QuartusII.doc 25/02/2005 Page 12
Specify suitable signal name continue 3.10 Using the zoom tool The zoom tool ( ) allows you to expand and contract your view of the drawing. Left click zoom tool icon. LEFT button RIGHT button Zoom IN, centred on position of mouse mouse Zoom OUT, centred on position of mouse Press selection tool ( ) to exit zoom mode. 3.11 Saving files On a regular basis use the %or the% menu options or the icon to save your design to disk. First execution with a new project will ask for a filename. The default name is often adequate for simple projects. QuartusII.doc 25/02/2005 Page 13
3.12 Closing a project When you have finished your work it is necessary to close the project. Use the & menu item. 3.13 Opening a project Use one of the following methods Select menu option ' " ( to access file pick dialogue. You will be looking for a ))))*"! file qpf = +uartus roject ile Select menu option, and left click on the appropriate entry. QuartusII.doc 25/02/2005 Page 14
4 System compilation The designed system must now be checked, which involves the use of the compiler tool. Invoke from the tools menu or by left clicking the compiler tool icon ( window appears ) on the top icon bar. The following progress Pressing start gives an indication of how the compilation is progressing. OK Problems! QuartusII.doc 25/02/2005 Page 15
A circuit with a wire missing Missing wire Gives this output in the lower information window Error caused by missing wire The concept of fault finding is central to many aspects of engineering. In general it is not easy, and requires the application of logical reasoning to the problem. Read the error messages carefully as these are the only pieces of evidence that you have to target the problem. QuartusII.doc 25/02/2005 Page 16
5 System Simulation Start simulator tool with menu item - #-. Set Functional mode start simulator open waveform editor window Right click mouse in this area to invoke selection mode select.#( option QuartusII.doc 25/02/2005 Page 17
Click here set filer to Pins: all request list of nodes Input/output nodes Example circuit 3 inputs 1 output QuartusII.doc 25/02/2005 Page 18