$1a tour of Wincupl


Figure 25 Compiler Options – Device Information



Download 374.56 Kb.
Page18/23
Date22.12.2017
Size374.56 Kb.
1   ...   15   16   17   18   19   20   21   22   23
Figure 25 Compiler Options – Device Information
This dialog can be sized to make reading the device descriptions easier.
Find
Find allows you to enter a mnemonic to search for within the device information file. The device name can also can be entered to search for the corresponding mnemonic.
Next
Next repeats the last search.
OK
This button closes the Device Information dialog.


#75K76$77Compiler Options - Files


Figure 26 Compiler Options – Output Files
Output Files


Option

Download File Format

JEDEC/POF/PRD

Generates a JEDEC-compatible ASCII download file with the .JED extension. The file name is not necessarily the logic description file name input into CUPL. The NAME statement in the header information section of the logic description file determines the download file name. You may select JEDEC name = PLD name on the General Tab to force the JEDEC file name to be created from the logic description file name. See the NAME statement in the online or printed CUPL Reference guide.

ASCII/Hex



Generates an ASCII-hex download file with the .HEX extension. This format is available only for PROMS. The filename is not necessarily the same as the logic description file name input into CUPL. The NAME statement in the header information section of the logic description file determines the download file name See the NAME statement in the online or printed CUPL Reference guide.


Doc File Options


Option

Download File Format

Fuse Plot

Generates a fuse plot in the documentation file. For PAL devices, each output pin is listed and the associated product term rows are shown with the starting JEDEC fuse number. Fuses present are denoted with “x”. Fuses blown are denoted with “.” For IFL devices, the HL download format is used showing JEDEC fuse numbers with input terms denoted as “H”, “L”, “0” or “-“.


Equations

Generates a documentation file which contains an expanded listing of the logic terms in sum-of-products format and a symbol table of all variables used in the source file. It includes the total number of product terms and the number available for each output.


General


Option

Download File Format

Absolute

Generates an absolute file with the .ABS extension for use by the CSIM logic simulator.

QDIF


Generates a Quick Logic QDIF file …

#78 K79 $80 Compiler Options - Minimization





Figure 27 Compiler Options – Minimization


Option

Download File Format

None

Disables logic minimization during a CUPL compilation. It is useful when working with PROMs, to keep contained product terms from being eliminated.

Expresso


Provides a higher level of reduction efficiency than Presto, requires more memory to compile than Presto, but requires less time for compilation. As with Presto, this option will perform multiple output minimization in IFL devices. This maximizes product sharing in these types of devices.



#81K82$83Compiler Options - Optimization


Figure 28 Compiler Options – Optimization


Option

Download File Format

Best For Polarity

Optimize product term usage for pin or pinnode variables. This overrides the DEMORGAN statement if it appears in the source file.


P-Term Sharing



Force product term sharing during minimization. This is also referred to as group reduction.

#84K85$86Simulator Options Dialog





Figure 29 Simulator Options

Listing File
Generates a simulator listing file with an extension of .SO. The input and output values for each variable are listed. Error messages are listed following each vector, with the signal name in error displayed.
Append Vectors
Appends the structured test vectors generated by the simulation onto the existing JEDEC download file.
Display Results
Displays the contents of the listing file in a window. When the display appears, press Ctrl-S to freeze the display and any key to resume.

#87K88$89VHDL Options Dialog

Use the VHDL options dialog for setting the options for the VHDL utilities.



#90K91$92VHDL Options – Synthesis





Figure 30 VHDL Synthesis Options

Analyze Only
Specifies that only analysis be performed. Analysis is VHDL syntax checking, type checking, and static usage checking.
Use Pinnodes
Signals will be declared as pinnodes rather than off-chip pin signals.
No synchronous Presets or Resets
Forces the compiler to not use set or preset terms to implement the design.
Use Clock Enable
Enables the inference of register clock enable. Allows synthesis of a clock enable structure from certain VHDL coding conventions. Does not change the behavior of the design, but allows the compiler to take advantage of a clock enable if it exists in the target hardware.

Force registers with Presets to use Resets
Forces all registers with preset to use reset. Transforms registers with asynchronous preset into registers with asynchronous reset. The design behavior remains unchanged. Resisters with both preset and reset are not transformed.

Maximum Product Terms
Sets maximum PLA product terms --

set to zero for FPGAs.



Maximum AND Inputs
Sets maximum number of PLA inputs.

Optimization Level
Optimize level 0 thru 5.
A value of 0 means no optimization effort, a larger value indicates increased optimization effort.

#93K94$95VHDL Options – Debug





Figure 31 VHDL Debug Options
Window - Always Close
Closes the VHDL window if there were errors in the compilation or not.

Window - Close On Success
Only closes the VHDL window if there are no errors in the compilation.

Window - Never Close
The VHDL window stays open in all cases. The user must close the window manually.

Create Log File
Writes a copy of the VHDL window to a file.

Display Register and Macrocell Inference
Specifies verbose mode, which causes debug information about register and macrocell inference to be displayed.


#96K97$98 Customizing WinCUPL
This section explains how the user can customize WinCUPL. The available options include Syntax Highlightingdlg_wincupl_opt_syntax , Menu Customizingdlg_wincupl_opt_tools , Toolbar Setupdlg_wincupl_opt_tools , Editor Macroscust_macro , and Default Directorydlg_wincupl_opt_general specification.


Figure 32 WinCUPL Options –Selection

#99 $100K101 WinCUPL Options – General





Figure 33 WinCUPL Options –Selection
Working Directory
Set the default working directory for WinCUPL. The directory in this field will be used as the default directory for storing all files created with WinCUPL. This directory is the default whenever a file save or file open dialog is displayed.
Schematic
Select the schematic capture package that is being used with WinCUPL.
Auto arrange windows on main window resize
Select this option to automatically set the position of the Editor, Messages and Project windows.
Always update symbols when adding macro
Select this option to automatically update the macro symbol table whenever a macro reference is inserted into the source file. See Insert Macro Referenceedit_insert_ref for more information.


#102 K103 $104 WinCUPL Options - Tools


Figure 34 WinCUPL Options –Selection

Standard Utilities
Use the Tools tab to customize the toolbar and editor macro capabilities of WinCUPL The top section of the tab lists the standard utilities that can be added to the toolbar or Utilities menu. Select the Toolbar or Menu check box next to a program to include it on the toolbar or menu.
Customize
This section allows you to add a program or to define an editor macro and assign the program or macro to a button on the toolbar or to the utilities menu. You may add up to six programs or editor macro definitions to the list box.
Add Tool
When you choose Add Tool, the following dialog is displayed to let you tell WinCUPL where the program is and what to call it on the menu and toolbar.


Figure 35 WinCUPL Options –Add Tool
Program
Enter the full path to the program. You may choose the Browse button to open a file open dialog that will assist you in making an accurate selection. Find the program executable file in the File Open dialog and choose Open. The full path to the program will automatically be set in the Program field.
Name
Enter the name you wish to associate with the program. The name will appear on the Utilities menu and/or in the Tool Tip window for the toolbar button.
Once you have a program defined, select the Toolbar or Menu check box to include the entry on the menu or toolbar as desired. Macro command buttons on the toolbar appear as {bmc macro.bmp}
Edit Tool
The Edit Tool button will be available to change the program or name of the selected item. Review the section above (“Add Tool”) for more information on selecting a program and name.
Macro
The Macro button adds an Editor Macro entry to the toolbar or utilities menu. See Defining and Using Editor Macroscust_macro for more information on how to set up and use an Editor Macro.


#105K106$107 WinCUPL Options - Syntax
The Syntax tab is used to define the syntax highlighting attributes to be used in the editor window.



Figure 36 WinCUPL Options - Syntax

Enable Syntax Highlighting
Check this box to enable syntax highlighting in the editor window for .PLD source files. The editor will respond faster if this option is not selected.
Keyword List
The keyword list contains all of the words that will be highlighted. Use this list to set the attributes for the keywords in the list by selecting a word in the list and setting the appropriate color and attributes for the word. Once you have selected the color and attributes for the word, press the Apply button to save the settings. Each occurrence of the word in a PLD source file will be displayed with the colors and attributes selected.
Add
This button allows you to add new words to the keyword list. You cannot enter standard CUPL operators or white space to the list. Each word must be a complete single keyword, multiple words or phrases are not allowed.
Remove
You may remove a keyword from the list by selecting the keyword and pressing the Remove button.
Current Text and Sample Text
The Current Text field displays the keyword with it’s the current setting. The Sample Text field displays any selections you make on the dialog page. The Sample Text setting will become the Current Text setting when the Apply button is pressed.
Defaults
This button resets the original default keywords and colors. The keyword list is composed of all of the CUPL reserved words.


#108K109$110 WinCUPL Options - Fonts



Figure 37 WinCUPL Options - Fonts

Use the Fonts tab to set the default fonts for each type of window. The default font will be applied each time a new window is opened.


The Font button displays the common font selection dialog. Font color selections will be ignored.

#111 K112 $113 Defining and Using Editor Macros



Step 1 - Setting up the macro command
Before you can define and use an editor macro you must provide a command for the macro. The command may either be a menu item on the Utilities menu or a toolbar button. To define a macro command, choose WinCUPL from the Options menu and choose the Toolsdlg_wincupl_opt_tools tab. Press the Macro button to add a Macro command the list, then select the “Macro n” item in the list and choose the Toolbar or Menu checkbox to add the command to the toolbar or utilities menu.
Step 2 - Defining the macro
There are two types of editor macros, block macros and keystroke macros. A block macro is defined to be a block of text that can be repeatedly inserted into the source file. The block macro does not use the Windows clipboard, therefore once the macro is defined is available until it is redefined. The keystroke macro is defined as a sequence of keystrokes that are recorded. Once the recording is complete, the macro will replay the keystrokes each time the macro is invoked.
Defining a block macro on a toolbar button
Select the text in the editor window and Right Click the macro toolbar button. {bmc macro.bmp} You will be prompted for a name to assign to the macro. This name will be displayed as the tool tip when you pause the mouse pointer over the macro button.
To redefine the macro, simply select a new block of text and Right Click the macro toolbar button.
Defining a keystroke macro on a toolbar button
Make sure that no text is selected in the editor window and Right Click the macro toolbar button. {bmc macro.bmp} You will be prompted for a name to assign to the macro. This name will be displayed as the tool tip when you pause the mouse pointer over the macro button.
All keystrokes captured until Ctrl-Break is pressed will be recorded as the macro. When you are finished recording, press Ctrl-Break to end the macro.
To redefine the macro, simply Right Click the macro toolbar button and repeat the above procedures.
Defining a block macro on the menu
Select the text in the editor window and choose the macro from the Utilities menu you wish to define. If there is no current definition for the macro, the currently selected text will be assigned as the macro. You will be prompted for a name to assign to the macro. This name will be displayed on the Utilities menu for the macro.
To redefine the macro, choose Clear Macro from the utilities menu. You will be prompted to select the macro you wish to clear. Next, choose the macro you wish to clear from the Utilities menu. The macro will now be undefined and can be defined following the above procedures.
Defining a keystroke macro on the menu

With no text selected in the editor window and choose the macro from the Utilities menu you wish to define. If there is no current definition for the macro, the keystroke recording process begins. Press Ctrl-Break to end the recording process. You will be prompted for a name to assign to the macro. This name will be displayed on the Utilities menu for the macro.


To redefine the macro, choose Clear Macro from the utilities menu. You will be prompted to select the macro you wish to clear. Next, choose the macro you wish to clear from the Utilities menu. The macro will now be undefined and can be defined following the above procedures.

Step 3 - Using the macro
To invoke the macro, Left Click the toolbar button or select the macro from the Utilities menu.

$114#115Run menu commands

The Run menu offers the following commands:




Device Dependent Compilerun_devicedep

Performs a Device Dependent Compile.

Device Independent Compilerun_deviceindep

Performs a Device Independent Compile.


VHDL Analysisrun_vhdlanal

Runs a VHDL analysis.



#116K117$118Device Dependent Compile (Run menu)

This command compiles the design using the specified device. You may specify a device either with the DEVICE statement in the header section or by selecting a device on the Device Tabdlg_compile_opt_device of the Compiler Options dialog.


If the specified device is virtual, the function of this command is same as Device Independent Compilerun_deviceindep
Shortcut

Keys: F9


Toolbar:


#119$120Device Independent Compile (Run menu)

Compile the design using the virtual device. If a device is specified in PLD file using the DEVICE statement, or a device selected on the Device Tabdlg_compile_opt_device of the Compiler Options dialog, the device will be ignored.


Shortcut

Keys: Ctrl - F9

Toolbar:

#121K122$123Device Dependent Simulation (Run menu)


Simulate the design using the specified device. You may specify a device either with the DEVICE statement in the header section or by selecting a device on the Device Tabdlg_compile_opt_device of the Compiler Options dialog.
If a specified device is virtual, the function of this command is same as Device Independent Compilerun_deviceindepsim
Shortcut

Keys: F7


Toolbar:

#124 K125 $126 Device Independent Simulation (Run menu)

Simulate the design using the virtual device. If a device is specified in PLD file using the DEVICE statement, or a device selected on the Device Tabdlg_compile_opt_device of the Compiler Options dialog, the device will be ignored.


Shortcut

Keys: Ctrl - F7

Toolbar:


#127 K128 $129 VHDL Compile (Run menu)

Compiles a VHDL source file using the Metamor VHDL compiler. If the file compiles successfully the CUPL compiler will be automatically be called.

#130 K131 $132 VHDL Analysis (Run menu)
Runs a VHDL analysis file using the Metamor VHDL compiler. The CUPL compiler is not called.

#133Utilities menu commands

The Utilities menu offers the following commands:




BackPinutil_backpin

Runs the BackPin utility.

PlPartitionutil_plpartition

Configures and runs the PlPartition utility.



CUPL Toolsutil_cupl_tools

Launches all WinCUPL tools and tiles them on the display.



#134K135$136 BackPin (Utilities menu)



Float All Pins and Nodes
Removes all pin and pinnode numbers from the design file.

Assign Pins And Pinnodes
Places the fitter assigned pin and node numbers (.plc file) into the design file.

Assign Pins Only
Places the fitters assigned pin numbers only. Pinnodes are allowed to remain floating.

#137K138$139 PlPartition (Utilities menu)



Setup PlPartition
Use this command to display the PlPartition Fitting Parametersdlg_plp_fitting dialog for setting the options for the PlPartition utility

Run PlPartition
Use this command to run the PlPartition utility and display the results in the PlPartition Resultsdlg_plpartition_run dialog.

#140 PlPartition Fitting Setup



Figure 38 PlPartition – Fitting Options
Best Fit. Optimize pin usage
Always makes most efficient use of product terms. Compares the fitting solutions and uses the set that minimizes the number of chips and pin signals.
First Fit. Optimize product term usage
Starts with the first chip, fills that chip then adds another to the partition set until the design fits. Has the advantage of being faster.
Design based on history file
This option allows modification of the design without changing the previously assigned pin configuration.

Split product terms
Allows the partitioner to split product terms that remain in the same device. This feature may avoid the use of large devices if propagation delay is not critical.
Maximum number of chips
Specifies the maximum number of chips that can be used to fit the design.
Maximum number of solutions


Share with your friends:
1   ...   15   16   17   18   19   20   21   22   23


The database is protected by copyright ©psyessay.org 2017
send message

    Main page
mental health
health sciences
gandhi university
Rajiv gandhi
Chapter introduction
multiple choice
research methods
south africa
language acquisition
Relationship between
qualitative research
literature review
Curriculum vitae
early childhood
relationship between
Masaryk university
nervous system
Course title
young people
Multiple choice
bangalore karnataka
state university
Original article
academic performance
essay plans
social psychology
psychology chapter
Front matter
United states
Research proposal
sciences bangalore
Mental health
compassion publications
workplace bullying
publications sorted
comparative study
chapter outline
mental illness
Course outline
decision making
sciences karnataka
working memory
Literature review
clinical psychology
college students
systematic review
problem solving
research proposal
human rights
Learning objectives
karnataka proforma