Bare bones Introduction to MAX+plus II

Implementation Instructions using Graphic Editor with MAX-plus II

  1. Start  MAX-plus II.
  2. From menu enter File/New and select Graphic Editor file as at right
  3. In Graphic Editor window click right mouse button, select Enter Symbol.
  4. Select Symbol Library maxplus2\max2lib\prim\*  as below (double click).
  5. Select Symbol Library maxplus2\max2lib\prim\*  Enter Symbol and2 for an AND gate 
    with 2 inputs.
  6. Enter Symbol and2 for an AND gate with 2 inputs as in the above and click OK.should appear in the Graphical Editor window.
  7. Repeat steps 3-5 to place input, and output symbols into the editor window. The window should appear as at right:
  8. Copy the input symbol. Click on then right-click, copy and paste. Arrange symbols to appear as: 
  9. Connect or wire gates together by moving the mouse pointer to a connection point when the pointer changes to a + symbol. Hold the left mouse button down and move to the other connection point. Connect INPUTs and OUTPUT to the AND2 gate as:
  10. Edit pin name of OUTPUT by clicking on , then click the right mouse button to open a menu, and select Edit pin name. Change the names of the OUTPUT and INPUT as: 
  11. From menu save by File/Save as: INTRO.gdf
  12. From menu enter File/Project/Set Project to Current File
  13. From menu enter File/Project/Save & Compile.  Expect 1 warning. If there are any missing connections they will be reported by the compiler. Click on reported errors to have the offending gate connection displayed in the Graphic Editor.


 Simulation Instructions with MAX-plus II

  1. From menu enter MAX-plus II/Waveform Editor and you should see this window: 
  2. Point inside Waveform Editor window, click right mouse button to open menu, select Enter nodes from SNF...
  3. Click  button then   to edit all nodes. The Enter nodes from SNF window should appear as:
  4. Click OK.
  5. All nodes should be listed in the Waveform editor as below. Click on the then on  from the access toolbar on left for modifying the input signals. In the Overwrite Count Value window for Y input click OK. This will generate a wave form for the Y input that is both false (logic 0) and true (logic 1).
  6. Repeat the above for input X. In the Overwrite Count Value window, change which will double the time the X input is true or false.
  7. To size the Waveform Editor window click on  from the toolbar. The Waveform Editor window should appear as: 
  8. File/Save to save the INTRO waveform file under the extension name scf.
  9. From menu enter MAX-plus II/Simulator/Start/Open SCF or by clicking  on toolbar to run and view results of simulation.
  10. From menu enter View/Fit in Window to view complete simulation. The first figure below is of the Simulator and the second figure is of the actual simulation.
  11. Verify that the results for INTRO implementation agree with the following truth table for switching function Z(X,Y). For example, after 300 ns. input X = 1, input Y =1, output Z = 1. Everywhere else Z=0 which agrees with the truth table.
        1.  X Y | Z(X,Y)
           0 0 |  0
           0 1 |  0
           1 0 |  0
           1 1 |  1


Implementation Instructions using VHDL with MAX-plus II

  1. Start  MAX-plus II.
  2. From menu enter File/New.
  3. Select Text Editor file Enter the program. Copy and paste the following
    ENTITY intro IS
            PORT( x, y : IN BIT;
                      z    : OUT BIT);
    END intro;
    
    ARCHITECTURE behavioral OF intro IS
    BEGIN
            PROCESS(x, y)
            BEGIN
                    z <= x AND y;
            END PROCESS;
    END behavioral;
  4. From menu save by File/Save as: INTRO.vhd
  5. From menu enter File/Project/Set Project to Current File
  6. From menu enter MAX-plus II/Compiler/Start or by clicking  from the toolbar then Start.
  7. Any errors will be listed, clicking on an error message will open the text editor to the offending line. Repeat compilation until errors are corrected. Expect 1 warning.
  8. After errors are corrected, operation of  the design can be simulated by following the same instructions in section Simulation Instructions with MAX-plus II.

Document last modified: