| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
GETTING STARTED MAX+PLUS® Programmable Logic Developmen
Top Searches for this datasheetMAX+PLUS GETTING STARTED MAX+PLUS® Programmable Logic Development System Getting Started Altera Corporation Innovation Drive Jose, 95134 (408) 544-7000 Contents Preface MAX+PLUS Documentation.xxiv MAX+PLUS Documents .xxiv MAX+PLUS Help.xxv MAX+PLUS Documentation .xxv Documentation Conventions xxvii Terminology xxvii Typographic Conventions xxviii Combinations Backus-Naur Form. MAX+PLUS Help Updates.xxxi Sample Files.xxxii About MAX+PLUS Getting Started xxxiii Section MAX+PLUS Installation read.me File Registering MAX+PLUS Software Installing MAX+PLUS System Requirements Installing MAX+PLUS Software Determining Free Disk Space Installing Software. Altera Corporation MAX+PLUS Getting Started Additional Windows Installation Steps Installing Windows Drivers Disabling Floating-Point Emulation Using MAX+PLUS with NTFS Additional 9801 Installation Steps Installing MAX+PLUS UNIX Workstation System Requirements UNIX Workstations Hardware Requirements UNIX Workstations.14 Software Requirements UNIX Workstations Installing Software Third-Party Interfaces.15 Mounting CD-ROM.16 Running Installation Program Starting Installation Program.17 Installing Network Licensing File Installing Third-Party Interface Files Unmounting CD-ROM.25 Configuring File Server User Environment.25 Configuring SPARCstation Running SunOS 4.1.3+ Configuring File Server.26 Configuring User Workstation Configuring SPARCstation Running Solaris 2.5+ Configuring File Server.27 Configuring User Workstation Configuring 9000 Series 700/800 Workstation Configuring File Server.29 Configuring User Workstation Configuring RISC System/6000 Workstation Configuring File Server.31 Configuring User Workstation Configuring Network Licensing.33 Configuring License Server.33 Troubleshooting License Installation License Administration Options File License Administration FLEXlm Utilities.40 lmgrd.40 lmstat.41 lmdown.42 lmremove lmreread lmver lmhostid Installing Software Guard.46 Specifying Authorization Code License File Specifying Authorization Code Software Guard Installation.48 Altera Corporation Contents Specifying License File License File Installation. MAX+PLUS Site License Information. Specifying Authorization Codes MegaCore AMPP Licenses Installing Adobe Acrobat Reader Installing Programming Hardware Installing PC-Based Programming Hardware. Installing Logic Programmer Card Changing Card Address Location. Installing Master Programming Unit Installing FLEX Download Cable Installing BitBlaster UNIX Workstation Configuring RISC System/6000 Workstation Serial Port Programming Installing ByteBlaster Creating Using Local Copy maxplus2.ini File. MAX+PLUS File Organization Section MAX+PLUS II-A Perspective MAX+PLUS Logic Design Design Flow Starting MAX+PLUS MAX+PLUS Manager. MAX+PLUS Applications. Design Files, Ancillary Files Projects Design Files. Ancillary Files. Projects. MAX+PLUS Help. Help Menu. Help Window Button Where Start Help. Request Help Specific Topic Design Entry. Global MAX+PLUS Design Entry Features. Device, Resource Probe Assignments Back-Annotation. Global Project Device Options Global Project Parameters. Global Project Timing Requirements Global Project Logic Synthesis Common Editor Functions Symbol Include File Generation. Node Location Hierarchy Traversal Altera Corporation MAX+PLUS Getting Started Context-Sensitive Menu Commands.102 Timing Analysis.102 Find Replace Text .102 Undo, Cut, Copy, Paste Delete.102 Print .102 MAX+PLUS Graphic Editor .103 MAX+PLUS Symbol Editor .106 MAX+PLUS Text Editor .108 MAX+PLUS Waveform Editor .111 MAX+PLUS Floorplan Editor.114 Altera Hardware Description Language .117 VHDL.119 Verilog HDL.121 Primitives, Megafunctions, Macrofunctions .123 Primitives.123 Megafunctions .123 Old-Style Macrofunctions .124 Project Hierarchy .125 Project Processing .127 MAX+PLUS Compiler .128 Compiler Input Files .129 Compilation Process .130 Running Compilation.131 Compiler Modules Output Files .132 Compiler Netlist Extractor (Including Built-In EDIF Netlist Reader, VHDL Netlist Reader, Verilog Netlist Reader Netlist Reader).132 Database Builder .133 Logic Synthesizer .134 Partitioner.134 Fitter .135 Functional Extractor .136 Timing Extractor .136 Linked Extractor .136 EDIF Netlist Writer .137 Verilog Netlist Writer .137 VHDL Netlist Writer.137 Assembler .137 Design Doctor Utility.138 Error Detection Location .139 Project Verification .141 MAX+PLUS Simulator .142 Functional Simulation.143 Timing Simulation.143 Linked Multi-Project Simulation.144 Altera Corporation Contents Simulator Highlights MAX+PLUS Waveform Editor. MAX+PLUS Timing Analyzer. Device Programming MAX+PLUS Programmer Section MAX+PLUS Tutorial Introduction. Project Description. Design Entry Project Processing Project Verification Device Programming. Tutorial Overview. Tutorial Files Command Shortcuts Getting Help Context-Sensitive Help. Search Index. Session Start MAX+PLUS Session Session Create Graphic Design File Create File. Specify Project Name Select Palette Tool Enter Logic Function Symbols Show Guidelines. Move Symbol. Enter Input Output Pins Name Pins. Connect Symbols Connect Nodes Buses Name. Save File Check Basic Errors. Create Default Symbol Close File. Session Create Text Design Files Create File Specify Project Name Turn Syntax Coloring Enter Design Name, Inputs Outputs. Declare Register. Enter Boolean Equations. Enter Then Statement Check Syntax Errors Create Default Symbol. Copy auto_max.tdf Create Default Symbol. Session Create Waveform Design File. Create File Specify Project Name Create Input, Output Buried Nodes Altera Corporation MAX+PLUS Getting Started Grid Size Show Grid.201 Edit Buried State Machine Node Waveform .201 Edit Input Output Node Waveforms .204 Confirm Edits .208 Check Basic Errors Create Default Symbol .209 Session Create Top-Level Graphic Design File.210 Session Compile Project .216 Open Compiler Window .217 Select Device Family .217 Turn Smart Recompile Command.218 Turn Design Doctor Utility.219 Turn Security .220 Select Global Project Logic Synthesis Style .220 Turn Timing Extractor .222 Specify Report File Sections Generate .222 Compiler .223 Locate Source Message.226 Help Message.227 View Report File .228 Session View Project Hierarchy Display.229 Open Hierarchy Display Window .229 Bring chiptrip.gdf Front .230 Close Open File(s).230 Session View Floorplan Editor .231 Open Floorplan Editor Window.232 Back-Annotate Project Edit Assignments .234 Recompile Project .236 Display Routing Information Floorplan Editor Window.237 Display Equation Routing Information with Report File Equation Viewer.240 Simulation Overview .242 What Simulation? .242 Does Chiptrip Simulation Work? .243 Your Vehicle.243 Roads .244 Simulation Goals .244 Session Create Simulator Channel File.245 Create Simulator Channel File .246 Additional Node(s) Group(s) .250 Rearrange Order Nodes Groups .251 Edit Input Node Waveforms.252 Save Close File .254 Session Simulate Project .255 Open Simulator Window .256 Specify Additional Output Files .257 viii Altera Corporation Contents Turn Setup Hold Time Monitoring. Simulation Create Table File. Session Analyze Simulation Outputs View Simulator Channel File. View History, Table Files Re-Edit Your Necessary. Create, Simulate Analyze finish.scf. Session Analyze Timing Open Timing Analyzer Window Timing Analyzer List Propagation Delay Message Locate Delay Path Floorplan Editor Locate Delay Path Design Files Timing Analysis Another Mode Session Program Altera Device Open Programmer Window Create Output Programmer File. Program Device There Yet?. Appendix Appendix Appendix MAX+PLUS Command-Line Mode Altera Support Services Additional Workstation Configuration Information Customizing MAX+PLUS Colors. Using mwcolormanager Utility Environment Variables MAX2_HOME. MAX2_PLATFORM MWCOM1, MWCOM2, MWCOM3 MWCOM4. MWFONT_CACHE_DIR MWLOOK MWRGB_DB MWSCREEN_HEIGHT MWSCREEN_WIDTH. MWSYSTEM_FONT MWUNIX_SHARED_MEMORY MWWM. Fonts Adding Fonts Font Aliases. Printers Installing Printer. Altera Corporation MAX+PLUS Getting Started Printer Fonts.295 Glossary .297 Index .343 Altera Corporation Contents Illustrations Figure 1-10 1-11 1-12 1-13 Altera Corporation Page Sample License File. Attaching Software Guard MAX+PLUS Authorization Code Dialog Default Switch Settings Card. Removing Expansion Slot Cover. Locking Board Place Master Programming Unit. Installing Adapter. Releasing Adapter Connecting FLEX Download Cable Connecting BitBlaster Serial Port Computer BitBlaster 10-Pin Female Connector. ByteBlaster Parallel Port Download Cable MAX+PLUS Design Environment MAX+PLUS Applications MAX+PLUS Manager Window. MAX+PLUS Menu MAX+PLUS Manager Window Display Multiple MAX+PLUS Applications Help. MAX+PLUS Help Menu. MAX+PLUS Design Entry Methods MAX+PLUS Assign Menu MAX+PLUS Graphic Editor. MAX+PLUS Getting Started 2-10 2-11 2-12 2-13 2-14 2-15 2-16 2-17 2-18 2-19 2-20 2-21 2-22 2-23 2-24 2-25 2-26 MAX+PLUS Symbol Editor.106 MAX+PLUS Text Editor .108 MAX+PLUS Waveform Editor .111 MAX+PLUS Floorplan Editor.114 AHDL Text Design File .117 VHDL Design File .119 Verilog Design File .121 MAX+PLUS Hierarchy Display.125 Project Processing.127 MAX+PLUS Compiler .128 MAX+PLUS Message Processor.139 MAX+PLUS Project Verification .141 MAX+PLUS Simulator.142 MAX+PLUS Waveform Editor .146 MAX+PLUS Timing Analyzer .148 MAX+PLUS Device Programming .151 MAX+PLUS Programmer.152 Block Diagram chiptrip.158 Altera .159 auto_max.tdf .194 chiptrip.gdf .210 Altera .243 chiptrip.scf Driving Route.245 Altera Corporation Contents Tables Table Page UNIX Workstation Software Requirements. Commands Mounting CD-ROM. MAX+PLUS Programming Hardware Configurations Card Addresses BitBlaster Baud Rate Dipswitch Settings MAX+PLUS System Directory Structure. MAX+PLUS Working Directory Structure. MAX+PLUS Applications MAX+PLUS Help Menu Items. MAX+PLUS Help Window Buttons. Altera Programming Hardware Altera Support Services. Serial Ports Altera Corporation xiii MAX+PLUS Getting Started Altera Corporation Preface MAX+PLUS Fundamentals This section describes MAX+PLUS manual on-line help documentation conventions. should familiar with this information before using MAX+PLUS documentation. MAX+PLUS Documentation .xvi Documentation Conventions .xix MAX+PLUS Help Updates. xxiii Sample Files .xxiv About MAX+PLUS Getting Started.xxv Altera Corporation MAX+PLUS Getting Started MAX+PLUS Documentation documentation designed novice well experienced user. includes manuals extensive, illustrated Help. MAX+PLUS Documents MAX+PLUS systems include following documents: MAX+PLUS Getting Started Contains step-by-step instructions install MAX+PLUS hardware, software, licenses UNIX workstations. also provides overview entire MAX+PLUS system, tutorial that takes from design entry device programming. addition, contains information about MAX+PLUS command-line operation support services. Free electronic copies this manual also available from world-wide site http://www.altera.com. Contains complete information Altera Hardware Description Language including detailed AHDL section with many examples. Provides information Very High Speed Integrated Circuit (VHSIC) Hardware Description Language (VHDL) with MAX+PLUS including MAX+PLUS VHDL section with many examples. Provides information Verilog Hardware Description Language (HDL) with MAX+PLUS including MAX+PLUS Verilog section with many examples. Provides handy colorful descriptions on-line help MAX+PLUS MAX+PLUS AHDL MAX+PLUS VHDL MAX+PLUS Verilog MAX+PLUS Help Poster Altera Corporation Preface: MAX+PLUS Fundamentals MAX+PLUS also includes following Software Interface Guides, which available \lit directory MAX+PLUS CD-ROM Adobe Portable Document Format (PDF) files. These guides provide detailed stepby-step examples important guidelines: Cadence MAX+PLUS Software Interface Guide Mentor Graphics MAX+PLUS Software Interface Guide Synopsys MAX+PLUS Software Interface Guide Viewlogic Powerview MAX+PLUS Software Interface Guide These Software Interface Guides also available from world-wide site http://www.altera.com. MAX+PLUS CD-ROM also includes Adobe Acrobat Reader 3.0, which install your hard drive order read files. Adobe Acrobat page more information. MAX+PLUS Help Your primary source information MAX+PLUS complete online help. information necessary enter, compile, verify design program Altera device available MAX+PLUS Help. Help also provides introductions MAX+PLUS applications, guidelines designing circuits with MAX+PLUS logic cell numbers each Altera device package, summaries other Altera documents, such application notes, that assist with logic design. MAX+PLUS Documentation MAX+PLUS documentation depends your level expertise your approach learning tool. novice user, should take time read MAX+PLUS Getting Started manual complete MAX+PLUS Tutorial page 155. Once begin using MAX+PLUS applications, will find that easy-to-use, extensive on-line help quickly turn into expert MAX+PLUS user. basic information using on-line help, refer MAX+PLUS Help Poster. More detailed information using Help available MAX+PLUS Perspective page Altera Corporation xvii MAX+PLUS Getting Started experienced circuit designer prefers learn experimenting, will find on-line help invaluable. Context-sensitive menu-driven help give instant access MAX+PLUS information. Regardless your level expertise, must follow installation instructions provided MAX+PLUS Installation page Before install MAX+PLUS hardware software, should also read read.me file, located top-level directory MAX+PLUS CD-ROM. Once have installed MAX+PLUS open read.me file through Help menu MAX+PLUS using tools from Cadence, Mentor Graphics, Synopsys, Viewlogic (Powerview), should read Software Interface Guide provided \lit directory MAX+PLUS CD-ROM. Altera Applications Engineers also available answer your questions. more information about technical support services, Appendix Altera Support Services page 281. xviii Altera Corporation Preface: MAX+PLUS Fundamentals Documentation Conventions MAX+PLUS manuals MAX+PLUS Help following conventions make easy find interpret information. Terminology following terminology used throughout MAX+PLUS Help manuals: Term: Button Button Meaning: Left mouse button. Right button two-button mouse, middle right buttons three-button mouse. Indicates that should move mouse that pointer over specified item. Indicates that must hold down mouse button key. Indicates quick press release mouse button. Indicates clicks rapid succession. Indicates that need mouse combination start action. example, when mouse choose button, point button click Button When keyboard choose command, press then type letters that underlined menu menu. Indicates that need highlight text and/or objects option dialog with combination mouse. selection does start action. example: Select AND2 primitive, then choose Delete from Edit menu. Indicates that must click Button checkbox choose menu command turn function off. Altera Corporation MAX+PLUS Getting Started Typographic Conventions MAX+PLUS documentation uses following typographic conventions: Visual Cue: Bold Initial Capitals Meaning: Command names, dialog titles, button names shown bold, with initial capital letters. example: Find Text command, Save dialog box, Start button. Directory names, project names, disk drive names, filenames, filename extensions, software utility names shown bold. Examples: \maxplus2 directory, drive, chiptrip.gdf file. These items casesensitive Windows environment; however, they case-sensitive UNIX workstation environment. MAX+PLUS Help shows these items case appropriate workstation environment. Keyboard keys, user-editable application window fields, menu names shown with initial capital letters. example: Delete key, Start Time field, Options menu. Subheadings within manual section enclosed quotation marks. manuals, titles help topics also shown quotation marks. Help categories, section titles manuals, application note brief names, checkbox options, options dialog boxes shown italics with initial capital letters. example: Text Editor Procedures, Check Outputs option, Directories Open dialog box. Variables enclosed angle brackets shown italics. example: <filename>, <project name>.acf file. Manual titles shown bold italics with initial capital letters. example: MAX+PLUS Getting Started. bold Initial Capitals Italic Initial Capitals italics Bold Italics Altera Corporation Preface: MAX+PLUS Fundamentals Visual Cue: Courier font Meaning: Anything that must typed exactly appears shown Courier. example: Also, sections actual file, such Report File, references parts files (e.g., AHDL keyword SUBDESIGN), logic function names (e.g., 16cudslr) shown Courier. Bold Courier font syntax descriptions, bold Courier used help distinguish literal text from variables. ii., Numbered steps used list items when sequence items important, such steps listed procedure. Bullets used list items when sequence items important. checkmark indicates procedure that consists step only. hand points information that requires special attention. MAX+PLUS manuals, feet show where more information particular topic. MAX+PLUS Help, upward-pointing hand indicates that click Button (the left mouse button) portion illustration that follows help that item. mouse pointer changes upwardpointing hand when over picture word which help available. Special symbols Special symbols used these items: Enter Low-to-high transition High-to-low transition Altera Corporation MAX+PLUS Getting Started Combinations combinations sequences appear following format: Format Cue: Key1+Key2 Meaning: plus symbol indicates that must hold down first when press second key. example: Ctrl+L means that must hold down Ctrl while pressing then release both keys. comma indicates that must press keys sequentially. example: Alt,F1 means that must press release then press release Key1,Key2 Backus-Naur Form Backus-Naur Form (BNF) defines syntax text file formats message variables. uses following notation: Characters: :n:n italics Courier font Meaning: defined Identifiers (i.e., variables) Optional items Repeated items (zero more times) Indicates choice between items Suffix indicates range (e.g., <name char>:1:8 means name Variables syntax descriptions Literal text syntax descriptions. Bold Courier font sometimes used help distinguish literal text from italic variables syntax descriptions. xxii Altera Corporation Preface: MAX+PLUS Fundamentals MAX+PLUS Help Updates MAX+PLUS Help updated whenever MAX+PLUS software updated; therefore, on-line information always current. find discrepancy between MAX+PLUS manual MAX+PLUS on-line Help, should rely MAX+PLUS Help information. information changes MAX+PLUS software Help choosing Features this Release (Help Menu) MAX+PLUS Latebreaking news Help software also available with READ.ME command (Help menu). Between MAX+PLUS software releases, check Altera worldwide page additional news information, including help from Atlas solutions database. http://www.altera.com. Altera Corporation xxiii MAX+PLUS Getting Started Sample Files variety sample design files copied your hard disk when install MAX+PLUS installation procedure automatically creates subdirectories these files. pathnames below shown using pathname convention backslash characters, UNIX pathnames forward slash characters. UNIX workstation, /max2work directory subdirectory /usr directory. Otherwise, file directory organization identical. \max2work\chiptrip directory contains files chiptrip tutorial project that described MAX+PLUS Getting Started. \max2work\ahdl directory contains sample files used illustrate AHDL features MAX+PLUS Help MAX+PLUS AHDL manual. \max2work\vhdl directory contains sample files used illustrate VHDL features MAX+PLUS Help MAX+PLUS VHDL manual. \max2work\verilog directory contains sample files used illustrate Verilog features MAX+PLUS Help MAX+PLUS Verilog manual. \max2work\edif directory contains sample files used illustrate EDIF features MAX+PLUS Help. File page more information about MAX+PLUS directory structure. Altera-provided Software Interface Guide your third-party environment information directory structure sample files installed third-party interfaces MAX+PLUS xxiv Altera Corporation Preface: MAX+PLUS Fundamentals About MAX+PLUS Getting Started MAX+PLUS Getting Started contains following sections: Section MAX+PLUS Installation gives hardware, software, license installation instructions UNIX workstations. Section MAX+PLUS Perspective introduction MAX+PLUS software. describes on-line help MAX+PLUS applications. Section MAX+PLUS Tutorial takes step-by-step through facets designing logic with MAX+PLUS demonstrates three design entry methods shows compile simulate project, analyze timing performance, program Altera device. Appendix MAX+PLUS Command-Line Mode describes operate MAX+PLUS Compiler, Timing Analyzer, Simulator batch mode from command prompt under UNIX, Microsoft Windows Microsoft Windows Appendix Altera Support Services explains contact user support services. Appendix Additional UNIX Workstation Configuration Information describes change additional UNIX workstation configuration items that control appearance MAX+PLUS windows, serial port configuration, screen height width, printer screen fonts. Glossary Index Altera Corporation MAX+PLUS Getting Started xxvi Altera Corporation Section MAX+PLUS Installation This section describes install MAX+PLUS software programming hardware UNIX workstations. Installing MAX+PLUS installing MAX+PLUS more PCs, read instructions following sections: read.me File. Registering MAX+PLUS Software. Installing MAX+PLUS Installing Software Guard. Specifying Authorization Code License File Installing Adobe Acrobat Reader Installing Programming Hardware Creating Using Local Copy maxplus2.ini File MAX+PLUS File Organization. Altera Corporation MAX+PLUS Getting Started Installing MAX+PLUS UNIX Workstations installing MAX+PLUS more UNIX workstations, read instructions following sections: read.me File.3 Registering MAX+PLUS Software.5 Installing MAX+PLUS UNIX Workstation Configuring Network Licensing.33 Specifying Authorization Code License File Installing Adobe Acrobat Reader.51 Installing BitBlaster UNIX Workstation Creating Using Local Copy maxplus2.ini File MAX+PLUS File Organization.69 have unanswered questions about MAX+PLUS installation after reading this section read.me file, contact Altera Applications Department: Altera Corporation Applications Department Innovation Drive Jose, 95134 Telephone: (800) 800-EPLD (6:00 a.m. 6:00 p.m. Pacific Time) (408) 544-7000 (7:30 a.m. 5:30 p.m. Pacific Time) Fax: (408) 544-6401 Appendix Altera Support Services page more information about contacting Altera technical support, literature, non-technical customer service. Altera Corporation Section MAX+PLUS Installation read.me File MAX+PLUS read.me file provides up-to-date information installation operating requirements, including disk space memory. should read read.me file before installing software hardware. read.me file available top-level directory MAX+PLUS CD-ROM. After installation, open read.me file from MAX+PLUS Help menu. Altera Corporation MAX+PLUS Getting Started Registering MAX+PLUS Software Registering your MAX+PLUS software necessary order receive future update information. addition, some MAX+PLUS development systems, must register your software order receive authorization code that allows software. register your MAX+PLUS software four ways, depending features included your system hardware platform: Visit Altera world-wide site http://www.altera.com. Register first time MAX+PLUS software: Registration Form appears automatically allow register. also access this form later time choosing Register button Authorization Code dialog (Options menu) MAX+PLUS Fill registration card attached PLEASE READ THIS card that included with your MAX+PLUS system. Fill Registration License File Request included with your software both register your software obtain license file required install MAX+PLUS UNIX workstations. This form asks license server. license server computer that will Altera license daemons (lmgrd alterad). determine license server, type following commands: License Server Platform: SPARCstation running SunOS 4.1.3+ SPARCstation running Solaris 2.5+ 9000 Series 700/800 workstation running HP-UX 10.20+ (transpose resulting value into hexadecimal determine your license server Command: /usr/bin/hostid /usr/ucb/hostid /usr/bin/uname Altera Corporation Section MAX+PLUS Installation License Server Platform: RISC System/6000 workstation running 4.1+ (ignore last digits that displayed remaining digits license server Command: /usr/bin/uname FLEXlm licensing scheme allows either three license servers network. single UNIX workstation function file server, license server, user computer. file server, license server, user computer also separate UNIX workstations PCs. Network page more information about configuring license server. Appendix Altera Support Services page more information about contacting Altera technical support services. Altera Corporation MAX+PLUS Getting Started Installing MAX+PLUS following instructions describe requirements procedures installing MAX+PLUS software compatible computer running Microsoft Windows Windows This section covers following topics: System requirements Installing MAX+PLUS software Additional Windows Installation Steps Additional 9801 Installation Steps Guide your version Microsoft Windows information optimizing your system MAX+PLUS MAX+PLUS read.me file information installing MAX+PLUS software running other versions Windows operating system. System Requirements Your system must meet following minimum requirements: Pentium class higher- (recommended) 486-based Microsoft Windows version 3.51 (recommended) Microsoft Windows Microsoft Windows-compatible graphics card monitor CD-ROM drive Microsoft Windows-compatible 3-button mouse Full-length 8-bit slot programming card Parallel port read.me file specific information about disk space memory requirements current version MAX+PLUS Guide your version Microsoft Windows more information about fonts. Altera Corporation Section MAX+PLUS Installation Installing MAX+PLUS Software following instructions guide through installation MAX+PLUS following topics covered: Determining Free Disk Space. Installing MAX+PLUS Software Additional Windows Installation Steps. Additional 9801 Installation Steps Determining Free Disk Space Install program calculates whether have enough free disk space installation. actual space required depends allocation unit size your hard disk, which determine typing chkdsk prompt. Refer read.me file precise information amount hard disk space required installation. Regardless which drive select installing MAX+PLUS software, Install program requires least Kbytes free hard disk space your drive. Installing Software following steps describe first-time installation with Altera Install program. Once have completed following installation procedure, MAX+PLUS programs directly from your hard disk. install MAX+PLUS copying files directly from CD-ROM. installation files compressed format must decompressed Install program. These installation instructions assume following conditions: Your hard disk drive have already installed Windows 3.51 Windows \windows directory. Altera Corporation MAX+PLUS Getting Started During installation, internal error occur portion PATH variable your autoexec.bat file that specifies location your Windows directory does include disk drive letter. example, path \windows will cause internal error. must edit PATH variable avoid this error. install software, perform following steps: using anti-virus software packages such vsafe.com anti-virus software provided with MS-DOS version Disk Protect anti-virus software provided with Norton Utilities, Altera recommends that disable these other similar software packages your autoexec.bat file before installing MAX+PLUS Boot computer from hard disk start Windows. Insert MAX+PLUS CD-ROM into caddy necessary, insert into your CD-ROM drive, perform following: (For Windows 3.51) Choose from Windows Program Manager File menu type <CD-ROM drive>:\pc\ maxplus2\install Command Line box. (For Windows Windows Choose from Windows Start menu type <CD-ROM drive>:\pc\ maxplus2\install Open box. MAX+PLUS Install program starts. This program prompts information needed install MAX+PLUS should install MAX+PLUS separate directory from previous MAX+PLUS version. your path includes existing MAX+PLUS directory, Install program will default installing that directory, sure override default directory during installation. Because improvements other changes latest version MAX+PLUS software projects differently from other versions, wish finish existing projects with earlier version. Altera also recommends that archive project before upgrading latest version MAX+PLUS that return earlier version, necessary. Altera Corporation Section MAX+PLUS Installation Follow directions provided on-screen. help step installation process, choose Help button. abort installation procedure time choosing Exit button. wish, choose leave MAX+PLUS Help files CD-ROM have MAX+PLUS access them from there. have MAX+PLUS access Help files from CD-ROM, follow these steps during installation: Choose Custom Installation MAX+PLUS Installation Options dialog box. Turn MAX+PLUS Help under Optional MAX+PLUS Features, choose Install. After Install program finished, insert following line [system] section maxplus2.ini file your MAX+PLUS system directory: HELP_FILE_DIR=<CD-ROM drive>:\help During installation MAX+PLUS running Windows receive error message that states that file a.azp extracted. correct this error, disable write caching SmartDrive typing following command prompt, then reinstall MAX+PLUS smartdrv receive application error message while installing MAX+PLUS Novell network, perform following steps: Reboot computer, onto network. Reinstall MAX+PLUS according installation instructions. Reboot computer onto network. Once have successfully installed MAX+PLUS read.me file appears automatically. should check read.me file important information MAX+PLUS software. After checking read.me file, exit from Windows. Altera Corporation MAX+PLUS Getting Started using Windows edit setting files variable your config.sys file, which usually located top-level directory your drive, follows: files=50 Install program modify your autoexec.bat file, which also usually top-level directory your drive, make MAX+PLUS properly. should examine this file check whether compatible with other software your system. Install program saves original file autoexec.bak. Remove CD-ROM from drive reboot your computer before starting MAX+PLUS File page description directories subdirectories created during installation. uninstall MAX+PLUS following these steps, beginning with step choosing Uninstall button instead Install button. Adobe Acrobat page information installing Adobe Acrobat Reader that needed read Alteraprovided Software Interface Guides Cadence, Mentor Graphics, Synopsys, Viewlogic (Powerview) tools. Additional Windows Installation Steps following sections guide through additional steps installing MAX+PLUS following topics covered: Installing Windows Drivers Disabling Floating-Point Emulation Using MAX+PLUS with NTFS Installing Windows Drivers computers running Windows 3.51 4.0, must install Windows drivers support MAX+PLUS after Install program. Sentinel driver required MAX+PLUS systems, automatically installed with MAX+PLUS Altera Programmer driver Altera Corporation Section MAX+PLUS Installation required systems that include Logic Programmer Card; Altera ByteBlaster driver required systems that include ByteBlaster. Both Altera Programmer driver Altera ByteBlaster driver must installed separately from MAX+PLUS need install Logic Programmer Card ByteBlaster before installing Altera Programmer Altera ByteBlaster drivers. install Altera Programmer driver, follow these steps: (Windows 3.51 only) Double-click Button Drivers icon Control Panel, then choose button open dialog box. (Windows only) Double-click Button Multimedia icon Control Panel, click Button Devices tab, choose button open dialog box. Select Unlisted Updated Driver from List Drivers list choose Install Driver dialog opens. Type select \<MAX+PLUS system directory>\drivers text box, choose Unlisted Updated Driver dialog opens. Select Altera Programmer from list choose Altera Programming Hardware Setup dialog opens. Select appropriate type from Type list box. know correct type, select (E)ISA. Select unused base address your your Logic Programmer Card from Physical Address drop-down list box. Programmer Card uses contiguous addresses, starting selected base address. Altera Programmer Cards shipped with default address hex. more information about changing address Programmer Card, Card Address page install driver current address, choose System Setting Change dialog displayed. Altera Corporation MAX+PLUS Getting Started Your Logic Programmer Card will operate only specified address. necessary, change address. change address Windows 3.51, follow these steps: Double-click button Drivers icon Windows Control Panel. Drivers dialog opens. Select Altera Programmer from Installed Drivers list box, then choose Setup button open Altera Programmer Driver Setup dialog edit address. change address Windows 4.0, follow these steps: Double-click Button Multimedia icon Windows Control Panel. Multimedia Properties dialog opens. Click Button Devices tab, select Altera Programmer under Other Multimedia Devices, then choose Properties button. Altera Programmer Properties dialog opens. Choose Settings open Altera Programming Hardware Setup dialog edit address. wish install another driver (e.g., ByteBlaster), choose Restart button System Setting Change dialog repeat steps above install another driver. Otherwise, choose Restart button System Setting Change dialog reboot your computer. install Altera ByteBlaster driver Windows 3.51 4.0, follow these steps: Repeat steps through above. Select Altera ByteBlaster from list choose Altera Corporation Section MAX+PLUS Installation install driver current address, choose System Setting Change dialog displayed. Repeat step above. Disabling Floating-Point Emulation running MAX+PLUS under Windows 3.51 4.0, Altera recommends that turn floating-point emulation improve timing Simulator Netlist File (.snf) extraction time. Type following command command prompt: pentnt have pentnt.exe program, contact Microsoft. Windows 3.51, pentnt.exe program normally located system32 subdirectory your Windows directory.) running MAX+PLUS under another Windows operating system, there user control over floating-point emulation. Using MAX+PLUS with NTFS MAX+PLUS installed running Windows 3.51 with NTFS, maxplus2.ini file should readable writable users, each user should have copy file. Each user must System control available Windows Control Panel MAXPLUS2_INI environment variable equal drive directory containing appropriate maxplus2.ini file. Using Local Copy maxplus2.ini page Additional 9801 Installation Steps 9801 computers, must modify \windows\system.ini file after Install program MAX+PLUS following lines \windows\system.ini file: [sentinel] MACHINE=NEC9800 Altera Corporation MAX+PLUS Getting Started Installing MAX+PLUS UNIX Workstation following instructions describe requirements procedures installing MAX+PLUS software SPARCstations running SunOS 4.1.3+ Solaris 2.5.+, 9000 Series 700/800 workstations, RISC System/6000 workstations. This section covers following topics: System Requirements UNIX Workstations.14 Installing Software Third-Party Interfaces Configuring File Server User Environment.25 Configuring SPARCstation Running SunOS 4.1.3+.26 Configuring SPARCstation Running Solaris 2.5+ Configuring 9000 Series 700/800 Workstation Configuring RISC System/6000 Workstation System Requirements UNIX Workstations hardware software system requirements listed here read.me file must before install MAX+PLUS UNIX workstation. Hardware Requirements UNIX Workstations MAX+PLUS UNIX workstations requires following minimum hardware configuration: following workstations: Microsystems SPARCstation compatible workstation 9000 Series 700/800 workstation RISC System/6000 workstation 9660-compatible CD-ROM drive Color monitor Altera Corporation Section MAX+PLUS Installation Software Requirements UNIX Workstations MAX+PLUS UNIX workstations requires following minimum software configuration: Table 1-1. UNIX Workstation Software Requirements System Type SPARCstation Software Requirements SunOS 4.1.3 higher OpenWindows higher Solaris higher 9000 Series 700/800 RISC System/6000 HP-UX 10.20 higher higher Installing Software Third-Party Interfaces MAX+PLUS installation must performed System Administrator with superuser privileges. following steps describe first-time installation with Altera install.cd program. installation procedure consists phases: Installing software file server Installing software third-party interface files Configuring file server user environments Setting licensing software server complete phase separately, necessary. When install update MAX+PLUS only first phase installation process required. installation instructions assume following conditions: UNIX environment case-sensitive. must enter directory names, filenames, filename extensions exactly shown. logged superuser install MAX+PLUS from local CD-ROM drive. not, your System Administrator must provide access remote CD-ROM drive. Altera Corporation MAX+PLUS Getting Started default CD-ROM directory /cdrom. MAX+PLUS will installed /usr/maxplus2 directory. installation procedure creates maxplus2 directory does already exist. different CD-ROM directory MAX+PLUS system directory name, substitute appropriate name installation steps. Boldface text represents text that appears screen; Courier font indicates text must type. character indicates UNIX C-shell prompt; character indicates superuser prompt. Commands that single line this manual indicated indentations subsequent lines. Mounting CD-ROM Before installing software, must mount CD-ROM. commands vary depending workstation. Insert MAX+PLUS CD-ROM into caddy necessary insert caddy into your CD-ROM drive. Locate your workstation Table type corresponding commands. Table 1-2. Commands Mounting CD-ROM (Part Workstation Operating System SPARCstation SunOS 4.1.3+ SPARCstation Solaris 2.5+ Commands type mkdir /cdrom mount hsfs /dev/sr0 /cdrom /cdrom running Volume Manager, CD-ROM will mounted automatically /cdrom/cdrom0, only last command below needed. Otherwise, type three following commands: mkdir /cdrom/cdrom0 mount /dev/dsk/c0t6d0s2 /cdrom /cdrom/cdrom0 Altera Corporation Section MAX+PLUS Installation Table 1-2. Commands Mounting CD-ROM (Part Workstation Operating System 9000 Series 700/800 Commands type mkdir /cdrom /etc/mount cdfs /dev/dsk/<SCSI CD-ROM drive>s0 /cdrom /cdrom mkdir /cdrom crfs cdrfs -dcd0 /cdrom -Ano mount cdrfs /dev/cd0 /cdrom /cdrom RISC System/6000 Running Installation Program installation program several phases, each which completed separately. These phases follows: Starting installation program Installing network licensing file Installing third-party interface files installation program many times necessary complete your installation. Starting Installation Program start MAX+PLUS installation program, type ./install.cd prompt. mounted CD-ROM 9000 Series 700/800 workstation, type ./INSTALL.CD\;1 prompt. quit installation procedure time typing Ctrl+C Altera Corporation MAX+PLUS Getting Started following text displayed: MAX+PLUS Workstation Installation Copyright Altera Corporation 1997 Type Ctrl+C <Return> quit installation time. Type full pathname directory where MAX+PLUS CD-ROM mounted (default: /cdrom): Press MAX+PLUS CD-ROM mounted default directory. Otherwise, type correct directory name, then press Would like install MAX+PLUS system files (y/n): Type skip installation system files. Type install MAX+PLUS system files. following prompt displayed: Type full pathname system directory where MAX+PLUS will installed (default: /usr/maxplus2): Press accept default directory. Otherwise, type name desired directory press install MAX+PLUS more following platforms: Platform -sunos solaris rs6000 System Type -Sun SPARCstation SPARCstation 9000 Series 700/800 RISC System/6000 Operating System -SunOS 4.1.3+ (Solaris 1.x) Solaris 2.5+ (SunOS 5.5+) HP-UX 10.20+ 4.1+ Enter more platform names listed above (choices are: sunos, solaris, rs6000) (default: solaris): Press accept default platform. Otherwise, type name(s) desired platform(s), then press install MAX+PLUS multiple platforms simultaneously, type multiple platform names separated spaces, e.g., solaris type multiple platform names prompt, following prompt appears: Altera Corporation Section MAX+PLUS Installation Enter license server platform type (choose solaris sunos) (default: solaris): Press accept default platform. Otherwise, type name desired license server platform, then press MAX+PLUS Help files available installation CD-ROM /cdrom/help directory, although Altera recommends installing Help files your MAX+PLUS system directory. Would like install MAX+PLUS Help files? (y/n): Type install Help files. want leave Help files CD-ROM them from there, type type installation program inserts following line [system] section your /usr/ maxplus2/maxplus2.ini file allow MAX+PLUS access Help files from CD-ROM: HELP_FILE_DIR=<CD-ROM path>:/help Would like install modify your network license file? (y/n) type will prompted license file information during installation phase. type installation program skips license file installation. also install network license file manually, described Network Licensing page Would like install MAX+PLUS Sample/Tutorial files? (y/n) Type skip installation MAX+PLUS Sample/Tutorial files. Type install sample files files chiptrip tutorial described Section MAX+PLUS Tutorial. type following prompt displayed: Altera Corporation MAX+PLUS Getting Started Type full pathname working directory where MAX+PLUS Sample/Tutorial files will installed (default: /usr/max2work): Press accept default directory. Otherwise, type name desired directory press Would like install third-party interfaces? (y/n) selected multiple platforms earlier prompt type following prompt displayed: Enter third-party installation platform type (choose solaris sunos) (default: solaris): Press accept default platform. Otherwise, type name desired third-party installation platform, then press Some following information displayed: CD-ROM directory: Install system files: MAX+PLUS system directory: Platforms install: License server platform: Install Help: Install/modify license file: Install sample/tutorial files: MAX+PLUS working directory: Install third-party interfaces: Third-party interface platform: this information correct? (y/n): Type information correct. Type change incorrect item(s). will given option restart installation program. type installation program deletes existing files from specified MAX+PLUS system working directories, checks that disk requirements met, then installs items selected. <CD-ROM directory name> <yes <system directory name> <selected platform(s)> <selected platform> <yes <yes <yes <working directory name> <yes <selected platform> Altera Corporation Section MAX+PLUS Installation chose install network licensing file, Network Licensing next. chose install third-party interfaces, Third-Party Interface page Adobe Acrobat page information installing Adobe Acrobat Reader that needed read Alteraprovided Software Interface Guides Cadence, Mentor Graphics, Synopsys, Viewlogic (Powerview) tools. Otherwise, page File page information about directory structure files installed MAX+PLUS Installing Network Licensing File install license.dat file needed network licensing ways: Manually create copy license.dat file install.cd program When register your MAX+PLUS system, Altera provides with form that includes license file required MAX+PLUS your workstation. MAX+PLUS page instructions. Figure shows sample license file. Figure 1-1. Sample License File Server name Server number Optional port number SERVER SERVER SERVER DAEMON FUTURE alice 08000917ae82 1800 king 08000926ab6f 1800 queen 08000913b4c2 1800 alterad /usr/maxplus2/adm/alterad maxplus2 alterad 0.000 01-dec-97 3B2A134641C57735B618 "ALTERA" Feature name Daemon name Expiration date Number licenses requested Authorization code Altera Corporation MAX+PLUS Getting Started receive license.dat file from Altera, through following steps: Type save /<MAX+PLUS system directory>/adm/ license.dat. already have license.dat edit existing Altera-provided information. When installation program displays following prompt, type Would like install modify your network license file? (y/n) installation program displays following prompt: MAX+PLUS License File Installation Copyright Altera Corporation 1997 Type full pathname system directory where MAX+PLUS been installed (default:/usr/maxplus2) Press accept default directory. Otherwise, type name desired directory press Choose following options: Create license Update existing license type following prompt displayed type shortened version same prompt displayed): following information required install network licensing file: number license servers your site host name host each license server MAX+PLUS product being licensed maximum number users that MAX+PLUS will support concurrently license expiration date authorization code from Altera Customer Service Altera Corporation Section MAX+PLUS Installation want continue? (y/n) type prompted enter licensing information provided Altera. quit license installation, type read information from Altera-provided license.dat file obtain information needed respond installation program prompts features, expiration date, number licenses, authorization code. Enter number license servers: (1/3) <number license servers> asked host name each license server: Enter host name license server: <host name license server> Enter host license server: <host number> Which feature wish install? Choose one: maxplus2 maxplus2vhdl Quit (MAX+PLUS Base System) (VHDL Synthesis) (Choose <feature number> Enter software expiration date [<default expiration date>]: <expiration date> Enter maximum number users: <number users> Enter authorization code: <authorization code> information correct? (y/n/q) think information entered correct, type license file installation starts again from beginning, allow accept change each your original responses. quit license installation, type Altera Corporation MAX+PLUS Getting Started accept information correct, type following messages displayed: Your license file been created. located /<MAX+PLUS system directory>/adm/license.dat. MAX+PLUS license installation complete. chose install third-party interfaces, ThirdParty Interface next. Otherwise, page Installing Third-Party Interface Files chose install third-party interface files, installation program displays following prompt: Third-Party Interfaces Installation: Cadence-Composer Cadence-Concept Mentor Graphics Synopsys Viewlogic Quit Mbytes Mbytes Mbytes Mbytes Mbytes Enter more numbers: example, install both Synopsys Viewlogic files, must type quit installation, type Once installation third-party interface files complete, following message displayed: Third-party interface installation complete. Adobe Acrobat page information installing Adobe Acrobat Reader that needed read Alteraprovided Software Interface Guides Cadence, Mentor Graphics, Synopsys, Viewlogic (Powerview) tools. Otherwise, have finished installing MAX+PLUS software, next. Altera Corporation Section MAX+PLUS Installation Altera-provided Software Interface Guide your third-party environment information directory structure files installed third-party interfaces MAX+PLUS Unmounting CD-ROM unmount CD-ROM, type umount /cdrom prompt. File Server User next, continue installation process. Configuring File Server User Environment must file server user environment MAX+PLUS installation steps vary depending upon computer platform. each platform configuring, follow these steps: Configure file server environment that MAX+PLUS software installed file server available other computers network. Configure user (client) environment that users find MAX+PLUS software installed file server, MAX+PLUS software find license server. Continue following sections instructions: Configuring SPARCstation Running SunOS 4.1.3+ Configuring SPARCstation Running Solaris 2.5+. Configuring 9000 Series 700/800 Workstation. Configuring RISC System/6000 Workstation. Altera Corporation MAX+PLUS Getting Started Configuring SPARCstation Running SunOS 4.1.3+ This section describes steps necessary configure SPARCstation running SunOS 4.1.3 higher. Configuring File Server single workstation functions file server, license server, user workstation, skip this section User next. file server, license server, user workstations separate workstations, Network File System (NFS) export directory that contains MAX+PLUS export directory, follow these steps: higher-level directory partition already exported, line /usr/maxplus2 /etc/exports file file server. Save changes. Export file typing /etc/exportfs prompt. Configuring User Workstation configure user workstation, follow these steps: file server user workstations separate workstations, mount /usr/maxplus2 directory user workstation with typing following commands: mkdir /usr/maxplus2 /etc/mount <file server name>:/usr/maxplus2 /usr/ maxplus2 Update PATH LM_LICENSE_FILE variables that specified .cshrc file located each home directory. must edit this file each user, provide clear instructions that describe which lines need entered edited. Update each PATH environment variables include /usr/maxplus2/bin: path (/usr/local/bin /usr/maxplus2/bin) Altera Corporation Section MAX+PLUS Installation Each user must have LM_LICENSE_FILE variable that full directory pathname license file. update this variable, following line .cshrc file each user: setenv LM_LICENSE_FILE /usr/maxplus2/adm/ license.dat more than application uses this environment variable, separate different paths with colon (:). example: setenv LM_LICENSE_FILE /usr/maxplus2/adm/ license.dat:/tmp/license.xyz After saving changes each .cshrc file, type following commands: source .cshrc Network page information about configuring license server. Configuring SPARCstation Running Solaris 2.5+ This section describes steps necessary configure SPARCstation running Solaris higher. Configuring File Server single workstation functions file server, license server, user workstation, skip this section User next. file server, license server, user workstations separate workstations, Network File System (NFS) export directory that contains MAX+PLUS export directory, follow these steps: higher-level directory partition already exported, following line /etc/dfs/sharetab file file server: /usr/maxplus2 "MAX+PLUS "MAX+PLUS System Directory" Altera Corporation MAX+PLUS Getting Started Save changes. Export file typing shareall prompt. Configuring User Workstation configure user workstation, follow these steps: file server user workstations separate workstations, mount /usr/maxplus2 directory user workstation with typing following commands: mkdir /usr/maxplus2 /etc/mount <file server name>:/usr/maxplus2 /usr/ maxplus2 Update PATH LM_LICENSE_FILE variables that specified .cshrc file located each home directory. must edit this file each user, provide clear instructions that describe which lines need entered edited. Update each PATH environment variables include /usr/ maxplus2/bin: path (/usr/local/bin /usr/maxplus2/bin) Each user must have LM_LICENSE_FILE variable that full directory pathname license file. update this variable, following line .cshrc file each user: setenv LM_LICENSE_FILE /usr/maxplus2/adm/ license.dat more than application uses this environment variable, separate different paths with colon (:). example: setenv LM_LICENSE_FILE /usr/maxplus2/adm/ license.dat:/tmp/license.xyz After saving changes each .cshrc file, type following commands: source .cshrc Altera Corporation Section MAX+PLUS Installation Network page information about configuring license server. Configuring 9000 Series 700/800 Workstation This section describes steps necessary configure 9000 Series 700/800 workstation. Configuring File Server single workstation functions file server user workstation, skip this section User file server user workstations separate workstations, Network File System (NFS) export directory that contains MAX+PLUS export directory, follow these steps: Type prompt bring System Administration Manager (SAM). Choose (Network File Systems) Configuration from File Systems Management menu. options allow remote (NFS) file systems access local file /usr/maxplus2 directory. order process large projects, Altera recommends configuring file server allow processes more than Mbytes memory. using SAM, follow these steps: Double click Button Kernel Configuration icon. Kernel Configuration window opens. Double-click Button Configurable Parameters icon. Configurable Parameters list appears. Double-click Button maxdsize select from list. Modify Configuration Parameter <machine name> dialog opens. Specify value Formula/Value choose Altera Corporation MAX+PLUS Getting Started Kernel Configuration window, choose Create Kernel (Actions menu) choose Confirmation dialog box. choose Yes, creates kernel based specified project size then prompts reboot your workstation. Refer documentation maxdsize under System Parameters System Administration Tasks Manual information configuring file server. Configuring User Workstation configure user workstation, follow these steps: file server user workstations separate workstations, mount /usr/maxplus2 directory user workstation with typing following commands: mkdir /usr/maxplus2 /etc/mount <file server name>:/usr/maxplus2 /usr/ maxplus2 Update PATH LM_LICENSE_FILE variables that specified .cshrc file located each home directory. must edit this file each user, provide clear instructions that describe which lines need entered edited. Update each PATH environment variables include /usr/maxplus2/bin: path (/usr/local/bin /usr/maxplus2/ bin.) Each user must have LM_LICENSE_FILE variable that full directory pathname license file. update this variable, following line .cshrc file each user: setenv LM_LICENSE_FILE /usr/maxplus2/adm/ license.dat Altera Corporation Section MAX+PLUS Installation more than application uses this environment variable, separate different paths with colon (:). example: setenv LM_LICENSE_FILE /usr/maxplus2/adm/ license.dat:/tmp/license.xyz After saving changes each .cshrc file, type following commands: source .cshrc Network page information about configuring license server. Configuring RISC System/6000 Workstation This section describes steps necessary configure RISC System/6000 workstation. Configuring File Server single workstation functions file server user workstation, skip this section User next. file server user workstations separate workstations, Network File System (NFS) export directory that contains MAX+PLUS export directory, follow these steps: higher-level directory partition already exported, line /usr/maxplus2 /etc/exports file file server. Save changes. directory will exported automatically. Configuring User Workstation configure user workstation, follow these steps: file server, license server, user workstations separate workstations, mount /usr/maxplus2 directory user workstation with typing following commands: Altera Corporation MAX+PLUS Getting Started mkdir /usr/maxplus2 /etc/mount <file server name>:/usr/maxplus2 /usr/ maxplus2 Update PATH LM_LICENSE_FILE variables that specified .cshrc file located each home directory. must edit this file each user, provide clear instructions that describe which lines need entered edited. Update each PATH environment variables include /usr/maxplus2/bin: path (/usr/local/bin /usr/maxplus2/ bin.) Each MAX+PLUS user must have LM_LICENSE_FILE variable that full directory pathname license file. update this variable, following line .cshrc file each user: setenv LM_LICENSE_FILE /usr/maxplus2/adm/ license.dat more than application uses this environment variable, separate different paths with colon (:). example: setenv LM_LICENSE_FILE /usr/maxplus2/adm/ license.dat:/tmp/license.xyz After saving changes each .cshrc file, type following commands: source .cshrc Network page information about configuring license server. Refer RISC System/6000 Workstation Serial Port page information special steps needed configure RISC System/6000 workstation BitBlaster. Altera Corporation Section MAX+PLUS Installation Configuring Network Licensing This section provides instructions configuring network licensing MAX+PLUS This section discusses following topics: Configuring License Server Troubleshooting License Installation. License Administration Options File License Administration FLEXlm Utilities Configuring License Server FLEXlm licensing scheme allows either three license servers network. single UNIX workstation function file server, license server, user workstation. file server, license server, user workstations user PCs) also separate computers. configure license server, follow these steps: single workstation functions file server license server, skip this step step file server license server separate computers, mount /usr/maxplus2 directory license server with typing following commands: mkdir /usr/maxplus /etc/mount <file server name>:/usr/maxplus2 /usr/ maxplus2 Start license manager daemon license servers before starting MAX+PLUS Type following command each license server: /usr/maxplus2/adm/max2protd /usr/maxplus2 invoke license manager daemon automatically during start-up, following lines /etc/rc.local file each license server: Altera Corporation MAX+PLUS Getting Started /usr/maxplus2/adm/max2protd]; then <username> "umask /usr/maxplus2/adm /max2protd /usr/maxplus2" echo max2protd Type following command make file executable: chmod /etc/rc.local configuring RISC System/6000 license server, following command /etc/inittab file after lines that invoke networking: rclocal:2:wait:/etc/rc.local /dev/console 2>&1 Troubleshooting License Installation Most installation errors caused improperly installed license daemons (lmgrd alterad). have completed procedures described software license installation daemons have started, must verify that daemons located have correct permissions. This section lists most common error messages that occur during installation, provides information possible causes, suggests corrective actions. help with error messages described here further assistance with troubleshooting license administration, contact Altera Applications Department. Appendix Altera Support Services more information about technical support. Command found Cause: max2protd script lmgrd alterad daemons cannot located when start them manually system start-up. /usr/maxplus2 directory been properly mounted with NFS. Verify that /usr/maxplus2 directory, which exported file server with NFS, been successfully mounted license server. This directory should have been mounted when file server environment, described File Server User section your computer. Altera Corporation Action: Section MAX+PLUS Installation verify that directory been mounted correctly, type following commands license server: /usr/maxplus2/adm command output must include following lines, which list max2protd, lmgrd, alterad daemons: -rwxr-xr-x root 278528 13:03 alterad -rwxr-xr-x root 81920 13:04 lmgrd -rwxr-xr-x root 11:02 max2protd dates file sizes different, three named files must present. named files displayed, directory been mounted correctly. Refer File Server User section your computer instructions mount /usr/maxplus2 directory. Message: license daemon: execl failed Cause: Action: alterad daemon does exist cannot executed. Verify existence alterad daemon typing following commands: /usr/maxplus2/adm output command must include following lines, which list max2protd, lmgrd, alterad daemons: -rwxr-xr-x root 278528 13:03 alterad -rwxr-xr-x root 81920 13:04 lmgrd -rwxr-xr-x root 11:02 max2protd MAX+PLUS software cannot find alterad daemon this directory, reinstall MAX+PLUS software described Software Third-Party page alterad daemon exists, verify that executed typing chmod alterad Altera Corporation MAX+PLUS Getting Started Message: Retrying socket bind (address use) Cause: license daemons running because another lmgrd license manager daemon running using same TCP/IP port address. Terminate daemon processes: users lmgrd-based applications off. MAX+PLUS installed SPARCstation (SunOS 4.1.3 higher) RISC System/6000 workstation, type following command determine license daemon process IDs: waux grep lmgrd grep grep response includes entries active license manager daemons. example: root 14803 0:03 /usr/maxplus2/adm/lmgrd /usr/maxplus2 /adm/license.dat MAX+PLUS installed 9000 Series 700/800 workstation SPARCstation running Solaris higher, type following command determine license daemon process IDs: grep lmgrd grep grep response includes entries active license manager daemons. example: 11478 ttyp2 0:00 lmgrd Terminate license daemons with following command: kill <pid> Action: Altera Corporation Section MAX+PLUS Installation <pid> variable process number that corresponds license daemon. example shown step <pid> would 14803. option with kill command. Edit /usr/maxplus2/adm/license.dat file replace 1800 with unique four-digit port address that used elsewhere your system does conflict with other applications that lmgrd. replace port address, change third field SERVER line license.dat file. following example, would replace 1800 with unique four-digit number: SERVER artoo 54321234 1800 Save changes /usr/maxplus2/adm/license.dat, then restart Altera daemon typing /usr/maxplus2/ adm/max2protd prompt. should also restart daemons other applications. Message: Starting Altera License daemons Cannot locate license manager daemon (lmgrd) Cause: max2protd script lmgrd alterad daemons cannot executed from UNIX prompt start-up with /etc/rc.local start-up command SPARCstation RISC System/6000 workstation with /etc/rc command 9000 Series 700/800 workstation. Verify that /usr/maxplus2 directory, which exported file server with NFS, been successfully mounted license server. This directory should have been mounted when file server license server environments, described File Server User section your computer. verify that directory been mounted correctly, type following commands license server: /usr/maxplus2/adm Action: Altera Corporation MAX+PLUS Getting Started command output must include following lines, which list max2protd, lmgrd, alterad daemons: -rwxr-xr-x root 278528 13:03 alterad -rwxr-xr-x root 81920 13:04 lmgrd -rwxr-xr-x root 11:02 max2protd dates file sizes different, three named files must present. named files displayed, directory been mounted correctly. Refer File Server User section your computer instructions mount /usr/maxplus2 directory. files exist, must verify that they have permissions -rwxr-xr-x. executable lmgrd alterad, type following commands: /usr/maxplus2/adm chmod max2protd lmgrd alterad License Administration Options File entries options file control operating parameters FLEXlm utility. System Administrator these options reserve licenses, restrict licenses, define user groups with license reservations. options file edited with text editor. following options available: Option: RESERVE INCLUDE EXCLUDE GROUP Action: Reserves licenses user, host, display, group users. Includes user, host, display, group users list users allowed software feature. Excludes user, host, display, group users from list users allowed software feature. Defines user group with RESERVE, INCLUDE, EXCLUDE options. Altera Corporation Section MAX+PLUS Installation Option: TIMEOUT NOLOG Action: Specifies time after which inactive license returned free pool, someone else. Causes messages specified type filtered output lmgrd. number options, must create options file list pathname fourth field DAEMON line alterad. options file consists lines following format: RESERVE <number> <feature> {USER HOST DISPLAY GROUP} <name> INCLUDE <feature> {USER HOST DISPLAY GROUP} <name> EXCLUDE <feature> {USER HOST DISPLAY GROUP} <name> GROUP <name> <list users> TIMEOUT <feature> <timeout seconds> NOLOG DENIED QUEUED} Lines options file that begin with pound character ignored used comments. following example, options file, called local.options, reserves copy compile feature user robert, three copies user dalia, copy anyone computer with hostname mainline. file also causes QUEUED messages omitted from logfile prevents user lori from using compile feature. RESERVE compile USER robert RESERVE compile USER dalia RESERVE compile HOST mainline EXCLUDE compile USER lori NOLOG QUEUED these options included file /usr/local/flexlm/options/ local.options, license file DAEMON line must specified follows: DAEMON alterad /usr/maxplus2/adm/alterad Altera Corporation MAX+PLUS Getting Started License Administration FLEXlm Utilities following FLEXlm utilities help System Administrator manage licensing activities network: lmgrd lmstat lmdown lmremove lmreread lmver lmhostid lmgrd lmgrd utility main daemon program FLEXlm. When active, looks license file containing required feature information. Usage: lmgrd [-2] [-b] <license file>] [-d] <log file>] [-p] <interval>] <timeout value>] <feature>] Option: Action: Specifies start-up arguments. option opposite option required intend option. Specifies backward compatibility mode. option default. Uses specified license file. this option specified, lmgrd looks environment variable LM_LICENSE_FILE. environment variable set, lmgrd looks /usr/local/flexlm/ licenses/license.dat. Specifies that hostnames that read from license file should have local domain name appended them before sending client. This option useful when clients accessing licenses from another domain. <license file> Altera Corporation Section MAX+PLUS Installation Option: <log file> Action: Specifies output file. Specifies that lmdown lmremove utilities only member lmadmin group, lmadmin group does exist, member group Specifies file time-stamp interval, minutes. default minutes. Specifies timeout interval during which daemons must complete their connections each other. default seconds. larger value daemons running busy systems networks. Displays information about named feature, feature name given, displays information about features. <interval> <timeout value> <feature> Altera recommends that option when starting lmgrd utility provide security. also page page lmstat lmstat utility helps monitor status network licensing activities, including: Active daemons Users individual features Users features served specific daemon Usage: lmstat [-a] <daemon>] <feature>] <server>] <timeout value>] <license file>] [-A] <regular expression>] Altera Corporation MAX+PLUS Getting Started Option: <daemon> <feature> <server> <timeout value> Action: Displays information about features. Lists users specified features. Lists users specified feature(s). Displays status specified server node(s). Specifies timeout interval during which daemons must complete their connections each other. default seconds. larger value daemons running busy systems networks. Uses specified license file. this option specified, lmstat looks environment variable LM_LICENSE_FILE. environment variable set, lmstat looks Lists active licenses. Lists users features matching given regular expression. <license file> <reg. expression> also page lmdown lmdown utility instructs lmgrd alterad shut down. license daemons write their last messages file, close file, exit. licenses that have been given those daemons rescinded, that next time program verifies license, license valid. Usage: lmdown <license file>] Altera Corporation Section MAX+PLUS Installation correct license file /usr/maxplus2/adm/license.dat. System Administrator should protect execution lmdown, since shutting down servers will cause loss licenses. Option: <license file> Action: Uses specified license file. this option specified, lmdown looks environment variable LM_LICENSE_FILE. environment variable set, lmdown looks addition, lmdown accepts <license file> argument that specifies license file location. also page page page lmremove lmremove utility allows System Administrator remove single license specified feature. This utility required licensed user running software node that subsequently crashed, causing license become unusable. lmremove utility allows license return pool available licenses. Usage: lmremove <license file>] <feature> <user> <host> [<display>] Option: <license file> Action: Uses specified license file. license file specified, lmremove looks environment variable LM_LICENSE_FILE. option specified, lmreread looks environment variable LM_LICENSE_FILE find license file. environment variable set, lmremove looks also page page Altera Corporation MAX+PLUS Getting Started lmreread lmreread utility allows System Administrator tell license daemon reread license file start daemons that have been added. This utility useful data license file changed. data loaded into license daemon without shutting down restarting addition, pre-existing daemons will signaled reread license file changes licensing information. lmreread utility uses license filename from command line default filename, license filename specified) find alterad daemon. lmreread utility then gives alterad command reread license file because data file changed. alterad daemon always rereads original file that loaded. path license file read alterad must changed, System Administrator must shut down alterad restart with license file path. System Administrator cannot lmreread SERVER node names port numbers have been changed license file. this case, daemon must shut down restarted changes take effect. lmreread utility does change option information specified options file. license file specifies different options file, information ignored. options file needs reread, System Administrator must shut down daemon restart Usage: lmreread <license file>] Option: <license file> Action: Uses specified license file. license file specified, lmreread looks environment variable, LM_LICENSE_FILE. option specified, lmreread looks environment variable LM_LICENSE_FILE find license file. environment variable set, lmreread looks also page Altera Corporation Section MAX+PLUS Installation lmver lmver utility reports FLEXlm version library binary file. Usage: lmver <filename> lmhostid lmhostid utility reports host system. Usage: lmhostid following lines show sample output lmhostid: lmhostid-Copyright(C)1989,1990 Highland Software, Inc. FLEXlm host this machine "69021c89" Altera Corporation MAX+PLUS Getting Started Installing Software Guard MAX+PLUS software must install MAX+PLUS Software Guard and/or authorization code provided with your development system. your development system includes Software Guard, must install guard before enter authorization code successfully. installing MAX+PLUS software using Site License, need Software Guard. Authorization Code Software Guard page more information. install Software Guard compatible computer, follow these steps: Locate parallel printer port (i.e., port) computer. have printer connected this port, disconnect temporarily. Insert 25-pin male connector Software Guard into 25-pin female connector parallel printer port, shown Figure 1-2. connect MAX+PLUS Software Guard either Iomega Ditto drive. Iomega Ditto drives destroy Software Guard drawing more power than guard capable handling. Disconnect Software Guard before using parallel port with Interlink file transfer program. Failure cause damage Software Guard. Altera Corporation Section MAX+PLUS Installation Figure 1-2. Attaching Software Guard Parallel printer port 25-pin female connector Aoftware Software Guard 25-pin female connector necessary, re-insert printer cable connector into female connector Software Guard. move MAX+PLUS Software Guard different port, need update maxplus2.ini file include name location port MAX+PLUS cannot locate guard. example, change Software Guard port LPT2, ensure that your maxplus2.ini file contains following line: GUARD_PORT=2 suspect that your Software Guard faulty damaged, contact Altera Applications Department. Appendix Altera Support Services more information about technical support. Altera Corporation MAX+PLUS Getting Started Specifying Authorization Code License File Most development system configurations require enter authorization code when MAX+PLUS first time. When start MAX+PLUS first time, Authorization Code dialog (Options menu) appears automatically. Figure 1-3. Figure 1-3. MAX+PLUS Authorization Code Dialog steps required specify authorization code depend whether have Software Guard license file-based MAX+PLUS system installation. Specifying Authorization Code Software Guard Installation specify authorization code installation that includes Software Guard, follow these steps: Authorization Code dialog box, select Software Guard under Method, verify that number displayed matches number printed your Software Guard. Type your authorization code, using upper- lower-case letters exactly provided Altera. Altera Corporation Section MAX+PLUS Installation Choose Validate confirm your authorization code. Available features will listed Available Features box. Choose Specifying License File License File Installation specify license file that contains your authorization code, follow these steps: Authorization Code dialog box, select Network License File under Method. Available features will listed Available Features box. dialog indicates that MAX+PLUS cannot locate license.dat file, choose Browse open License File dialog locate suitable license.dat file. MAX+PLUS Site License Information When purchase MAX+PLUS development system single-user includes site license install unlimited number copies PLS-ES feature set. Feel free pass MAX+PLUS software along your colleagues. additional MAX+PLUS systems site license have only requirement: after installation, each individual user must contact Altera authorization code cost). details getting authorization code, MAX+PLUS page Specifying Authorization Codes MegaCore AMPP Licenses specify authorization codes Altera-provided MegaCore megafunctions AMPP-provided megafunctions, follow these steps: Authorization Code dialog box, choose MegaCore/AMPP Licenses. MegaCore/AMPP Licenses dialog displayed. Type megafunction number provided Altera AMPP vendor Megafunction box. Altera Corporation MAX+PLUS Getting Started Type authorization code your megafunction using upper- lower-case letters, exactly provided Altera AMPP vendor, License Authorization Code box. Choose megafunction number authorization code list Existing IDs/Authorization Codes without closing dialog box. Choose Once enter appropriate information choose fully compile megafunction MAX+PLUS generate output netlist files programming files. Altera Corporation Section MAX+PLUS Installation Installing Adobe Acrobat Reader Altera-provided Software Interface Guides tools from Cadence, Mentor Graphics, Synopsys, Viewlogic (Powerview) provided \lit directory MAX+PLUS CD-ROM Adobe Portable Document File (PDF) format. These files readable with Adobe Acrobat Reader 3.0, which requires Mbytes application RAM. already have copy Adobe Acrobat Reader, install from MAX+PLUS CD-ROM. install Adobe Acrobat Reader running Windows Windows follow these steps: Insert MAX+PLUS CD-ROM into your CD-ROM drive. Choose (Start menu) type <CD-ROM drive>:\acroread\ win\32bit\setup.exe Follow instructions setup program. install Adobe Acrobat Reader UNIX workstation, follow these steps: Refer /acroread/instguid.txt file MAX+PLUS CD-ROM information system requirements compatibility. Ensure that logged superuser. Mount MAX+PLUS CD-ROM described Table page have 9000 Series 700/800 workstation, type following commands: /cdrom/cdrom0/ACROREAD/UNIX ./INSTALL\;1 other supported UNIX workstation platforms, type following commands: /cdrom/cdrom0/acroread/unix ./install Altera Corporation Follow instructions install program. MAX+PLUS Getting Started Adobe Acrobat Reader, type following command: /<installation directory>/bin/acroread Once have installed Adobe Acrobat Reader, read following Software Interface Guide files \lit directory: Document: Cadence MAX+PLUS Software Interface Guide Mentor Graphics MAX+PLUS Software Interface Guide Viewlogic Powerview MAX+PLUS Software Interface Guide Synopsys MAX+PLUS Software Interface Guide Filename: ac_sig.pdf am_sig.pdf av_sig.pdf as_sig.pdf MAX+PLUS read.me file information other supported platforms Adobe Acrobat Reader. Altera Corporation Section MAX+PLUS Installation Installing Programming Hardware Table shows programming hardware configurations that available with MAX+PLUS Table 1-3. MAX+PLUS Programming Hardware Configurations Platform Hardware/Application Programmer Card Master Programming Unit (MPU) base unit adapters. FLEX Download Cable, which used conjunction with Logic Programmer Card, MPU, Configuration EPROM programming adapter download configuration data FLEX 10K, FLEX 8000, FLEX 6000, 7000S devices in-system. BitBlaster Serial Download Cable, which connected serial port download configuration data FLEX 10K, FLEX 8000, FLEX 6000 devices program 9000 7000S devices in-system. ByteBlaster Parallel Download Cable, which connected parallel port download configuration data FLEX 10K, FLEX 8000, FLEX 6000 devices program 9000 7000S devices in-system. UNIX workstation This section covers following topics: Installing PC-Based Programming Hardware. Installing Logic Programmer Card Installing Master Programming Unit Installing FLEX Download Cable Installing BitBlaster UNIX Workstation Installing ByteBlaster Installing PC-Based Programming Hardware have purchased system with Logic Programmer card, should follow installation instructions order described here. Install card following instructions that begin page Altera Corporation MAX+PLUS Getting Started Assemble Master Programming Unit (MPU) connect Logic Programmer Card your following instructions below. Optionally connect FLEX Download Cable your following instructions that begin page your MAX+PLUS system does include card, depending which programming configuration technique plan use, through following steps: Connect BitBlaster Serial Download Cable your following instructions that begin page Connect ByteBlaster Parallel Download Cable your following instructions that begin page Installing Logic Programmer Card Follow these steps install card Pentium- 486-based PCs: sure power turned off. Remove cover your computer. Refer documentation accompanying computer instructions. Ensure that four dipswitches card turned shown Figure 1-4. default address card hex. must change this address because addressing conflict, refer Card Address page dipswitch settings other addresses. Altera Corporation Section MAX+PLUS Installation Figure 1-4. Default Switch Settings Card Select convenient empty expansion slot card. expansion slot covered, remove screw that holds expansion slot cover remove cover. Figure 1-5. Figure 1-5. Removing Expansion Slot Cover Expansion slot cover Rear panel Insert card into expansion slot fasten retaining bracket with screw from slot cover. Figure 1-6. Altera Corporation MAX+PLUS Getting Started Figure 1-6. Locking Board Place Rear panel Tighten locking screws connectors. Changing Card Address Location configure card different addresses. Table lists available addresses corresponding dipswitch settings. address other than hex, must update your hardware setup MAX+PLUS Hardware MAX+PLUS Help instructions. Altera Corporation Section MAX+PLUS Installation Table 1-4. Card Addresses Base Address (hex) Required Address Space locations (default) Dipswitch Setting (1=ON; 0=OFF) Installing Master Programming Unit Master Programming Unit (MPU) consists base unit more adapters that program MAX+PLUS II-supported Altera devices. PL-MPU programming unit shipped with PC-based development systems that include programming hardware. MAX+PLUS also supports older programming unit, PLE3-12A. PLE3-12A programs some devices from Classic 5000 device families. Figure shows assembled PL-MPU Master Programming Unit. Altera Corporation MAX+PLUS Getting Started Figure 1-7. Master Programming Unit START PRES ELEA APTE install MPU, follow these steps: rear panel your connect 25-pin flat ribbon cable PL-MPU base unit Logic Programmer card. plug PL-MPU ribbon cable into parallel printer port. Install adapter sliding tabs adapter into slots provided base unit. sure appropriate adapter device want program. Figure 1-8. Carefully lower align other adapter, that connector adapter inserted into socket base unit. Press down firmly. Open MAX+PLUS Programmer Simulator. Choose Hardware Setup command (Options menu), select PL-MPU Hardware Type drop-down list box. Choose Altera Corporation Section MAX+PLUS Installation Figure 1-8. Installing Adapter release adapter from base unit: Press down front unit, while holding down other end. Figure 1-9. Lift adapter. Altera Corporation START MAX+PLUS Getting Started Figure 1-9. Releasing Adapter START PRES ELEA APTE Installing FLEX Download Cable install optional cable that allows download configuration data configure FLEX 6000, FLEX 8000, FLEX devices in-system. FLEX Download Cable configuration: Insert Configuration EPROM programming adapter (e.g., PLMJ1213 PLMT1064) into PL-MPU base unit. Connect FLEX Download Cable 9-pin D-type connector Configuration EPROM programming adapter, shown Figure 1-10. Altera Corporation Section MAX+PLUS Installation Figure 1-10. Connecting FLEX Download Cable 9-Pin Connector Connect other FLEX Download Cable 10-pin male header target printed circuit board. Application Note (Configuring FLEX 6000 Devices), Application Note (Configuring FLEX 8000 Devices), Application Note (Configuring Multiple FLEX 8000 Devices), Application Note (Configuring FLEX Devices) instructions configure FLEX 6000, FLEX 8000, FLEX devices. Installing BitBlaster UNIX Workstation BitBlaster used with UNIX workstation RS-232 serial port (called PC). BitBlaster device configuration programming follow these steps: Connect BitBlaster serial port computer. Figure 1-11 shows typical serial port Altera Corporation MAX+PLUS Getting Started Figure 1-11. Connecting BitBlaster Serial Port Computer BITBLA STER Connect other BitBlaster 10-pin male header target printed circuit board. Figure 1-12. Altera Corporation Section MAX+PLUS Installation Figure 1-12. BitBlaster 10-Pin Female Connector ERRO Status lights Receptacle BUSY DONE 25-pin female port BITB LAST 10-pin male header circuit board Baud rate dipswitches Open MAX+PLUS Programmer Simulator. Choose Hardware Setup command (Options menu), select BitBlaster Hardware Type drop-down list box. Choose must ensure that baud rate BitBlaster, your serial port, baud rate MAX+PLUS same. necessary, change baud rate setting dipswitches side panel. Dipswitch settings listed Table 1-5. should baud rate high possible accelerate configuration time. However, some PC-based systems cannot baud rates higher than 9600 bps. Table 1-5. BitBlaster Baud Rate Dipswitch Settings Baud Rate (bps) 9,600 14,400 19,200 38,400 57,600 76,800 115,200 230,400 Dipswitches through OFF) Altera Corporation MAX+PLUS Getting Started Hardware MAX+PLUS Help more information setting baud rates. Configuring RISC System/6000 Workstation Serial Port Programming MAX+PLUS Programmer BitBlaster program configure devices with RISC System/6000 workstation. order Programmer, must turn Carrier Detect feature serial port ensure that will block programming signals. turn Carrier Detect feature: Become root. Start smit system management tool. Choose following options order: Devices Change/Show Characteristics tty0 tty1 (the name serial port currently using) Change/Show Program Select Entry Field STTY attributes TIME. Append ,clocal text string Entry Field. Select Entry Field STTY attributes LOGIN. Append ,clocal text string Entry Field. Press Altera Corporation Section MAX+PLUS Installation Installing ByteBlaster ByteBlaster Parallel Download Cable designed used with parallel port (i.e., printer port). connect ByteBlaster directly your parallel port, through MAX+PLUS Software Guard. install ByteBlaster device configuration programming, follow these steps: running Windows 3.51 operating system, ensure that Altera ByteBlaster driver installed. Windows page instructions. Attach ByteBlaster parallel port your insert 10-pin female plug into prototype system containing target device, shown Figure 1-13. board must supply power ByteBlaster. Figure 1-13. ByteBlaster Parallel Port Download Cable LAST Altera Corporation MAX+PLUS Getting Started Open MAX+PLUS Programmer Simulator. Choose Hardware Setup command (Options menu), select ByteBlaster Hardware Type drop-down list box, select appropriate port Parallel Port drop-down list box. Choose Hardware MAX+PLUS Help more information setting ByteBlaster. Altera Corporation Section MAX+PLUS Installation Creating Using Local Copy maxplus2.ini File maxplus2.ini file software initialization file created during installation. contains both Altera- user-specified parameters that control MAX+PLUS applications operate. maxplus2.ini file stores essential information running MAX+PLUS example, this file stores pathnames Alteraprovided primitive, megafunction, macrofunction libraries default colors your application windows. delete this file, must reinstall MAX+PLUS maxplus2.ini file stored several locations: singleuser installation, stored MAX+PLUS system directory (\maxplus2); UNIX workstation, stored your home directory. network copy MAX+PLUS single computer used several engineers, must create local copy maxplus2.ini file. must then environment variable that specifies location file. local copy maxplus2.ini file Copy existing maxplus2.ini file desired drive directory. also open file MAX+PLUS with Open command (File menu) save desired drive directory with Save command (File menu). Specify drive directory your maxplus2.ini file your Windows environment: using Windows 3.51 4.0, through following steps: Double-click Button System icon Windows Control Panel. using Windows 4.0, select Environment tab. Variable box, type following text: MAXPLUS2_INI Altera Corporation MAX+PLUS Getting Started Value box, type drive directory name, e.g., d:\maxplus2. Choose Set, then using Windows through following steps: Edit autoexec.bat file that used boot your computer include following line: MAXPLUS2_INI=<drive directory name> Save changes autoexec.bat reboot your computer. local copy maxplus2.ini file UNIX workstation: Copy existing /usr/maxplus2/maxplus2.ini your home directory with UNIX workstation commands. need store maxplus2.ini different location, perform following additional steps: running shell, line setenv MAXPLUS2_INI <directory name> .cshrc file your /usr/maxplus2 directory, then type command source .cshrc shell prompt. running Bourne shell, line MAXPLUS2_INI=<directory name> .profile file your home directory, then type command source .profile Bourne shell prompt. Altera Corporation Section MAX+PLUS Installation MAX+PLUS File Organization During MAX+PLUS installation, directories created: \maxplus2 \max2work. \maxplus2 directory contains system software data files includes subdirectories described Table 1-6: pathnames below shown using pathname convention backslash characters, UNIX pathnames forward slash characters. UNIX workstation, max2work maxplus2 directories subdirectories /usr directory. Otherwise file directory organization identical UNIX workstations, except where noted. Table 1-6. MAX+PLUS System Directory Structure (Part Directory .\adm Description Contains FLEXlm license manager daemon, license files, license manager executable files (UNIX workstation network installations only). Contains executable software program files (UNIX workstation installations only). Contains common UNIX files (UNIX workstation installations only). Contains Windows device drivers installations Windows only). Contains Altera-provided EDIF Command Files (.edc) that customize EDIF Output Files (.edo) specific third-party simulation environments. Contains Altera, Arial, Sans Serif fonts (UNIX workstation installations only). Contains platform-specific files 9000 Series 700/800 UNIX workstation installations. Contains Altera-provided Library Mapping Files (.lmf) that third-party logic functions equivalent MAX+PLUS logic functions. Contains Include Files (.inc) with Function Prototypes Alteraprovided macrofunctions. Function Prototypes list ports (pinstubs) macrofunctions that implemented Altera Hardware Description Language (AHDL) Text Design Files (.tdf). Contains primitives macrofunctions used third-party EDIF interfaces. .\bin .\common .\drivers .\edc .\fonts .\hp .\lmf .\max2inc .\max2lib\edif Altera Corporation MAX+PLUS Getting Started Table 1-6. MAX+PLUS System Directory Structure (Part Directory .\max2lib\mega_lpm Description Contains megafunctions, including Library Parameterized Modules (LPM) functions, corresponding Include Files that contain their AHDL Function Prototypes. Contains old-style 74-series custom macrofunctions. Contains Altera-provided primitives. Contains platform-specific files RISC System/6000 UNIX workstation installations. Contains platform-specific files Solaris UNIX workstation installations. Contains platform-specific files SunOS UNIX workstation installations. Contains altera library with maxplus2 package. This package includes MAX+PLUS primitives, megafunctions, macrofunctions supported VHDL. Contains ieee library VHDL packages, including std_logic_1164, std_logic_arith, std_logic_signed, std_logic_unsigned. Contains library with standard textio packages defined IEEE Standard VHDL Language Reference Manual. .\max2lib\mf .\max2lib\prim .\rs6000 .\solaris .\sunos .\vhdlnn\altera Note .\vhdlnn\ieee Note .\vhdlnn\std Note Note: represents indicating VHDL 1987 1993 support. \max2work directory contains tutorial sample files includes subdirectories described Table 1-7: Table 1-7. MAX+PLUS Working Directory Structure Directory .\ahdl .\chiptrip .\edif .\tutorial Description Contains sample files used illustrate topics MAX+PLUS Help MAX+PLUS AHDL manual. Contains files chiptrip tutorial project described this manual. Contains sample files used illustrate EDIF features MAX+PLUS Help. Contains read.me file chiptrip tutorial. should create files chiptrip project this subdirectory. Altera Corporation Section MAX+PLUS Installation Table 1-7. MAX+PLUS Working Directory Structure Directory .\vhdl .\verilog Description Contains sample files used illustrate topics MAX+PLUS Help MAX+PLUS VHDL manual. Contains sample files used illustrate Verilog topics MAX+PLUS Help MAX+PLUS Verilog manual. Altera-provided Software Interface Guide your third-party environment information directory structure files installed third-party interfaces MAX+PLUS Altera Corporation MAX+PLUS Getting Started Altera Corporation Section MAX+PLUS Perspective This section gives overview MAX+PLUS describes MAX+PLUS applications. MAX+PLUS Logic Design Design Flow Starting MAX+PLUS MAX+PLUS Manager MAX+PLUS Applications. Design Files, Ancillary Files Projects MAX+PLUS Help. Design Entry Project Hierarchy Project Processing Error Detection Location Project Verification Device Programming MAX+PLUS Help complete up-to-date information MAX+PLUS topics. Altera Corporation MAX+PLUS Getting Started MAX+PLUS Logic Design Altera Multiple Array MatriX Programmable Logic User System (MAX+PLUS provides multi-platform, architecture-independent design environment that easily adapts your specific design needs. MAX+PLUS offers easy design entry, quick processing, straightforward device programming. MAX+PLUS development software, shown Figure 2-1, fully integrated package creating logic designs Altera programmable logic Classic, 5000, 7000, 9000, FLEX 6000, FLEX 8000, FLEX families devices. Refer MAX+PLUS read.me file information other supported Altera device families. MAX+PLUS offers full spectrum logic design capabilities: variety design entry methods hierarchical designs, powerful logic synthesis, timing-driven compilation, partitioning, functional timing simulation, linked multi-device simulation, timing analysis, automatic error location, device programming verification. MAX+PLUS both reads writes Altera Hardware Description Language (AHDL) files standard EDIF netlist files, Verilog files, VHDL files, OrCAD schematic files. addition, MAX+PLUS reads Xilinx netlist files writes Standard Delay Format (SDF) files convenient interface other industrystandard software. Altera Corporation Section MAX+PLUS II-A Perspective Figure 2-1. MAX+PLUS Design Environment Design Verification MAX+PLUS Simulator MAX+PLUS Waveform Editor MAX+PLUS Timing Analyzer Other Industry-Standard Design Verification Tools MAX+PLUS Compiler Design Entry MAX+PLUS Graphic Editor MAX+PLUS Symbol Editor MAX+PLUS Text Editor MAX+PLUS Waveform Editor MAX+PLUS Floorplan Editor AHDL VHDL Verilog Other Industry-Standard Design Entry Tools Device Programming MAX+PLUS Programmer Data Other Industry-Standard Programmers MAX+PLUS offers rich graphical user interface complemented with illustrated, easy-to-use on-line help system. complete MAX+PLUS system includes fully integrated applications that take through every step creating design. logic design, including subdesigns, called MAX+PLUS II.) Figure 2-2. Altera Corporation MAX+PLUS Getting Started Figure 2-2. MAX+PLUS Applications Design Entry MAX+PLUS Text Editor MAX+PLUS Graphic Editor Project Processing MAX+PLUS Compiler Compiler Netlist Extractor (includes netlist readers) Functional, Timing, Linked Extractor EDIF, VHDL Verilog Netlist Writers Database Builder Logic Synthesizer MAX+PLUS Waveform Editor MAX+PLUS Symbol Editor Partitioner Fitter MAX+PLUS Floorplan Editor Design Doctor Assembler Project Verification MAX+PLUS Message Processor Hierarchy Display Device Programming MAX+PLUS Simulator MAX+PLUS Waveform Editor MAX+PLUS Programmer MAX+PLUS Timing Analyzer Altera Corporation Section MAX+PLUS II-A Perspective Many features opening files; entering device, pin, logic cell assignments; compiling current shared many MAX+PLUS applications, that learning application gives head start learning others. design editors (the Graphic, Text, Waveform Editors) auxiliary editors (the Floorplan Symbol Editors) also share numerous features. Each design editor allows perform similar finding signal same way. easily combine different types design files hierarchical project, choosing design entry format that works best each functional block. large library Altera-supplied megafunctions macrofunctions, including functions from Library Parameterized Modules (LPM), provide wide range design entry options. work with different MAX+PLUS applications simultaneously. example, open multiple design files transfer information between them while compiling simulating another project; view entire project hierarchy move smoothly from hierarchical level another, while MAX+PLUS automatically starts appropriate design editor each file. MAX+PLUS Compiler lies heart MAX+PLUS system, providing powerful project processing that customize achieve best possible silicon implementation your project. Automatic error location extensive documentation error warning messages make design modifications quick easy. create output files variety formats functional, timing, linked multi-device simulation; timing analysis; device programming. every step design process, MAX+PLUS makes easy focus your software. superb integration MAX+PLUS software helps maximize your efficiency productivity, putting control your logic design environment. Altera Corporation MAX+PLUS Getting Started Design Flow process taking project from conception completion simplified follows: Create design file hierarchy multiple design files combination MAX+PLUS design editors, i.e., Graphic, Text, Waveform Editors. Specify top-level design file name project name. Assign device family project. either allow Compiler select device assign specific device. Open MAX+PLUS Compiler window choose Start button compile project. wish, turn Timing Extractor module create netlist file timing simulation timing analysis. project compiles successfully, optionally perform simulation timing analysis: timing analysis, open MAX+PLUS Timing Analyzer window, select analysis mode, choose Start button. simulation, must first create vector inputs Simulator Channel File (.scf) Waveform Editor Vector File (.vec) Text Editor. Then, open MAX+PLUS Simulator window choose Start button. Open MAX+PLUS Programmer window either insert device into programming adapter Master Programming Unit (MPU) connect BitBlaster, ByteBlaster, FLEX Download Cable device that mounted in-system. Choose Program button program EPROM- EEPROMbased device, choose Configure button configure SRAMbased device. Altera Corporation Section MAX+PLUS II-A Perspective Starting MAX+PLUS start MAX+PLUS ways: Double-click Button (the left mouse button) MAX+PLUS icon. running Windows, this icon appears MAX+PLUS program group. Type maxplus2 command line. MAX+PLUS Manager window opens. Figure 2-3. Figure 2-3. MAX+PLUS Manager Window Application icon box) Toolbar MAX+PLUS Manager menu Project directory Project name Maximize button Altera Corporation MAX+PLUS Getting Started have entered authorization code specified network licensing file MAX+PLUS Authorization Code dialog (Options menu) opens automatically. Authorization Code Software Guard page License File License File page instructions enter your authorization code specify your network licensing file. Altera Corporation Section MAX+PLUS II-A Perspective MAX+PLUS Manager MAX+PLUS Manager window opens automatically when start MAX+PLUS From MAX+PLUS menu, open other MAX+PLUS applications. Figure 2-4. Figure 2-4. MAX+PLUS Menu MAX+PLUS Manager Window Toolbar provides shortcuts frequently used commands. Status provides brief description each menu command toolbar button. Commands available from MAX+PLUS Manager menus also available other MAX+PLUS applications. example, these common functions allow open file, compile simulate current project, switch different project. specify libraries your custom symbol design files, archive backup copies files current project separate directory, customize color scheme, enter authorization code. also show hide toolbar status bar, open MAX+PLUS Help from Help menu. Altera Corporation MAX+PLUS Getting Started addition, enter, edit, delete types resource, device, parameter assignments that control project compilation, including logic synthesis, partitioning, fitting. These functions available regardless whether project design file application window open. information these functions, MAX+PLUS Design Entry page MAX+PLUS Help complete up-to-date information MAX+PLUS Manager. Altera Corporation Section MAX+PLUS II-A Perspective MAX+PLUS Applications MAX+PLUS software consists application programs MAX+PLUS Manager. Different design entry applications active simultaneously, allowing switch between them with click mouse menu command. same time, background Compiler, Simulator, Timing Analyzer, Programmer. Commands shared various applications function same way, making your logic design task easier. easily minimize application window into icon without closing application, restore later. This feature allows keep your screen uncluttered without impairing your efficiency. Table describes MAX+PLUS applications shows their icons. Table 2-1. MAX+PLUS Applications (Part Icon Application Hierarchy Display Displays current hierarchy files hierarchy tree with branches that represent subdesigns. tell glance whether design file schematic, text, waveform design; which files currently open; which user-editable ancillary files available project. also directly open close more files hierarchy tree enter resource assignments them. Graphic Editor Lets enter schematic logic design true what-you-see-is-what-you-get (WYSIWYG) environment. While Altera-provided primitives, megafunctions, macrofunctions serve your basic building blocks, also custom symbols. abcde Symbol Editor Allows edit existing symbols create ones. abcde abcd Text Editor Text Editor lets create edit textbased logic design files written AHDL, VHDL, Verilog HDL. With Text Editor, also create, view, edit other ASCII files used with MAX+PLUS applications. Although create files with other text editors, MAX+PLUS Text Editor allows take advantage context-sensitive help, syntax coloring, AHDL, VHDL, Verilog templates. Altera Corporation MAX+PLUS Getting Started Table 2-1. MAX+PLUS Applications (Part Icon Application Waveform Editor Serves dual role: design entry tool tool entering test vectors viewing simulation results. Floorplan Editor Lets assign logic physical device logic cell resources graphical environment. edit placements device package view assign signals individual logic cells more detailed Logic Array Block (LAB) view. also view results last compilation. Compiler Processes logic projects targeted Altera Classic, 5000, 7000, 9000, FLEX 6000, FLEX 8000, FLEX device families. performs most tasks automatically. However, customize part compilation process. Simulator Enables test logical operation internal timing your logic circuit. Functional simulation, timing simulation, linked multi-device simulation available. Timing Analyzer Analyzes performance your logic circuit after been synthesized optimized Compiler. Programmer Lets program, configure, verify, examine, test Altera devices. Message Processor Displays error, warning, information messages status your project allows locate source message automatically original design file(s), ancillary file(s), assignments floorplan. Altera Corporation Section MAX+PLUS II-A Perspective Figure shows display multiple windows: Hierarchy Display Waveform Editor windows, MAX+PLUS Help topic. Figure 2-5. Display Multiple MAX+PLUS Applications Help Altera Corporation MAX+PLUS Getting Started Design Files, Ancillary Files Projects Before started with MAX+PLUS should understand difference between design files, ancillary files, projects. Design Files design file graphic, text, waveform file created with MAX+PLUS Graphic, Text, Waveform Editor, with another industry-standard schematic text editor EDIF, VHDL, Verilog netlist writer. contains logic MAX+PLUS project compiled Compiler. Compiler automatically process following design files: Graphic Design Files (.gdf) AHDL Text Design Files (.tdf) Waveform Design Files (.wdf) VHDL Design Files (.vhd) Verilog Design Files (.v) OrCAD Schematic Files (.sch) EDIF Input Files (.edf) Xilinx Netlist Format Files (.xnf) Altera Design Files (.adf) State Machine Files (.smf) Ancillary Files Ancillary files files that associated with MAX+PLUS project part project hierarchy tree. Most ancillary files contain design logic. Some these files generated automatically MAX+PLUS application, others user-entered. Examples ancillary files Assignment Configuration Files (.acf), Symbol Files (.sym), Report Files (.rpt), Vector Files (.vec). Altera Corporation Section MAX+PLUS II-A Perspective Projects project consists files design hierarchy, including ancillary input output files. project name name top-level design file, without filename extension. MAX+PLUS performs compilation, simulation, timing analysis, programming project time, although always edit files belonging another project. example, compile project1, edit that part project2 save however, wish compile must first specify project2 project name. should place each project into separate subdirectory MAX+PLUS working directory \max2work. UNIX workstation, this directory subdirectory /usr directory.) Altera Corporation MAX+PLUS Getting Started MAX+PLUS Help MAX+PLUS Help provides complete, up-to-date documentation MAX+PLUS software. Help teaches need know about each MAX+PLUS basic tools, commands, procedures, shortcuts, golden rules, messages; primitives, megafunctions, macrofunctions; AHDL, VHDL, Verilog HDL. Help also offers information Altera devices adapters, allowing choose appropriate device before even begin your logic design. points other Altera technical documents additional helpful information, provides tips design most effectively with MAX+PLUS tools. Each Help topic contains more underlined words, called jumps, that provide links other Help topics additional information current topic. default, jumps shown green text. view topic, point jump click Button (the left mouse button) jump with solid underline takes Help topic. jump with dotted underline pops glossary entry. blue jump pops example, list shortcuts, illustration current Help topic. When click Button again, pop-up topic closes. also click Button segmented hypergraphic, which picture Help topic, such picture dialog box, that links pop-up topics. Help only keystroke mouse click away. On-line information accompanied large number illustrations. MAX+PLUS Help Poster provided with your MAX+PLUS system colorful explanations Help. information mechanics using Help (e.g., copying printing Help topic), choose Help (Help menu). Help Menu menu each MAX+PLUS application provides access Help menu, shown Figure 2-6. Altera Corporation Section MAX+PLUS II-A Perspective Figure 2-6. MAX+PLUS Help Menu Table describes Help menu items and, when appropriate, shows icons that represent them Help documentation. Table 2-2. MAX+PLUS Help Menu Items (Part Help Item Search Help Opens Help Topics dialog (called Search Windows 3.51), which allows quickly search through extensive index. select word phrase want find. start typing, list automatically scrolls words/ phrases that most closely match what typing. then list relevant Help topics topic wish view. MAX+PLUS Table Contents comprehensive table contents that lists major topics provided with MAX+PLUS Help. also accessible Contents button button Help wind Other recent searchesZ8030 - Z8030 Z8030 Datasheet Z8530 - Z8530 Z8530 Datasheet VS9000 - VS9000 VS9000 Datasheet SIR-568ST3F - SIR-568ST3F SIR-568ST3F Datasheet CY28158 - CY28158 CY28158 Datasheet CK133 - CK133 CK133 Datasheet AAT8343 - AAT8343 AAT8343 Datasheet 2N5430 - 2N5430 2N5430 Datasheet
Privacy Policy | Disclaimer |