De1 Pin Assignments.Csv Download Yahoo

  1. August 9th, 2012, 12:57 PM#1
    Join Date
    Aug 2012
    Posts
    3
    Rep Power
    1

    Importing .csv files for DE1 pin assignments

    I'm using the DE1_pin_assignments file for a design, and I used the board port names (SW[0], etc) in the design, but when I try to import the .cvs assignment file (Assignments - Import Assignments) I get this warning:
    Warning: Can't import assignments from Comma-Separated Value File Y:/118/Labs_F12/Lab4_Quartus_v2/DE1_pin_assignments.csv -- file does not contain at least 'Assignment Name' and 'Value' columns
    Warning: ,,,,
    and the pins are not assigned properly in the Assignments - Pin window.
    The .cvs file looks fine to me, and DOES have the "Assignment Name" and "Value" columns (along with "From", "To", and "Enabled" columns).
    Something I'm missing?

  2. Re: Importing .csv files for DE1 pin assignments

    Try the example design I posted in this thread:

    http://www.alteraforum.com/forum/showthread.php?t=35687

    de1_basic.zip contains a pin constraints Tcl file and top-level file. You can use it as the basis for any of your designs.

    Cheers,
    Dave
  3. August 9th, 2012, 01:25 PM#3
    Join Date
    Aug 2012
    Posts
    3
    Rep Power
    1

    Re: Importing .csv files for DE1 pin assignments

    Thank you, I've been successful in creating and downloading a few designs, but I'm particularly interested in getting the pin assignment import working. I didn't see anything in the zip file that was helpful (not a sample .csv file for example)
    Appreciate your quick reply though.

  4. Re: Importing .csv files for DE1 pin assignments

    Please read the readme.txt file, and then look at scripts/synth.tcl. That file creates a project and synthesizes the example design. The scripts/synth.tcl script calls procedures in scripts/constraints.tcl. That file contains all of the pin constraints.

    At a minimum, if you use the same top-level pin names in your design, you can use the Quartus Tcl console and

    tcl> source scripts/constraints.tcl tcl> set_default_constraints
    Ask questions if you need clarification.

    Cheers,
    Dave
    I didn't see anything in the zip file that was helpful (not a sample .csv file for example)

  5. Re: Importing .csv files for DE1 pin assignments

    By the way, if you do not like the way I have used scripts, then you can create your own set of pin constraints from my basic design. Run the synthesis script to create the example design, and then use Quartus to export a Tcl script or .csv script for the pin assignments, eg., use Project->Generate Tcl File for Project.

    Cheers,
    Dave
  6. August 10th, 2012, 10:58 AM#6
    Join Date
    Aug 2012
    Posts
    3
    Rep Power
    1

    Re: Importing .csv files for DE1 pin assignments

    Thank you for the advice about exporting a .csv file from the project. Once I realized this was accomplished by using the File Export command with the Pin Planner open, rather than "Assignments - Export Assignments, I got the .csv file. It is formatted very differently than the one that came with the boards, so I should be able to figure it out from here. Thanks again.

  7. Re: Importing .csv files for DE1 pin assignments

    Last edited by dwh@ovro.caltech.edu; August 10th, 2012 at 11:13 AM.
    I'm glad you figured it out.

    Once you have your project working, come back and look at the scripts, you will find they are more convenient than using the GUI and importing .csv files when rebuilding projects in newer versions of Quartus.

    Cheers,
    Dave
    Thank you for the advice about exporting a .csv file from the project. Once I realized this was accomplished by using the File Export command with the Pin Planner open, rather than "Assignments - Export Assignments, I got the .csv file. It is formatted very differently than the one that came with the boards, so I should be able to figure it out from here. Thanks again.

Similar Threads

  1. Replies: 0
    Last Post: July 7th, 2012, 12:30 AM
  2. Replies: 7
    Last Post: May 24th, 2010, 08:06 AM
  3. Replies: 10
    Last Post: October 21st, 2009, 12:10 AM
  4. Replies: 8
    Last Post: March 30th, 2009, 06:01 AM
  5. Replies: 0
    Last Post: September 2nd, 2005, 11:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Forum Rules


The Cyclone II EP2C20F484C7 FPGA on the DE1 logic kit is connected to four seven segment displays, (Hex_0, Hex_1, Hex_2, and Hex_3), ten slide switches (Switch_0 through Switch_9), four push buttons (Key_0 through Key_3), ten red LEDs (Red_LED_0 through Red_LED_9), and eight green LEDs (Green_LED_0 through Green_LED_7).

The slide switches produce logic “1” when pushed away from the edge of the board, and the push buttons produce logic “0” when pressed. The segments of the seven segment displays light up when connected to logic “0,” and the LEDs light up when connected to logic “1”. The following table shows which FPGA pin numbers are connected to these devices.

The segments of a seven-segment display are normally named A–G, starting at the top, going clockwise, and ending with the center segment. The array names in the table refer to the segments using subscript values 0–6 in the same order.

To make the process of pin assignment easier, the following table is in alphabetical order, which should match the order of the pins listed by the Quartus Pin Assignment Editor, provided you name your pins and pin groups alphabetically: Clock…, Green…, Hex_0…, Hex_1…, Hex_2…, Hex_3…, Key…, Red…, and Switch… in that order.

ConnectionPin Location
Clocks
27 MHz ClockPIN_D12 and PIN_E12
50 MHz ClockPIN_L1
24 MHz ClockPIN_A12 and PIN_B12
Green LEDs
Green_LED_0PIN_U22
Green_LED_1PIN_U21
Green_LED_2PIN_V22
Green_LED_3PIN_V21
Green_LED_4PIN_W22
Green_LED_5PIN_W21
Green_LED_6PIN_Y22
Green_LED_7PIN_Y21
Seven-segment Displays
Hex_0[0]PIN_J2
Hex_0[1]PIN_J1
Hex_0[2]PIN_H2
Hex_0[3]PIN_H1
Hex_0[4]PIN_F2
Hex_0[5]PIN_F1
Hex_0[6]PIN_E2
Hex_0, Decimal PointNo Connection
Hex_1[0]PIN_E1
Hex_1[1]PIN_H6
Hex_1[2]PIN_H5
Hex_1[3]PIN_H4
Hex_1[4]PIN_G3
Hex_1[5]PIN_D2
Hex_1[6]PIN_D1
Hex_1, Decimal PointNo Connection
Hex_2[0]PIN_G5
Hex_2[1]PIN_G6
Hex_2[2]PIN_C2
Hex_2[3]PIN_C1
Hex_2[4]PIN_E3
Hex_2[5]PIN_E4
Hex_2[6]PIN_D3
Hex_2, Decimal PointNo Connection
Hex_3[0]PIN_F4
Hex_3[1]PIN_D5
Hex_3[2]PIN_D6
Hex_3[3]PIN_J4
Hex_3[4]PIN_L8
Hex_3[5]PIN_F3
Hex_3[6]PIN_D4
Hex_3, Decimal PointNo Connection
Push Buttons
Key_0PIN_R22
Key_1PIN_R21
Key_2PIN_T22
Key_3PIN_T21
Red LEDs
Red_LED_0PIN_R20
Red_LED_1PIN_R19
Red_LED_2PIN_U19
Red_LED_3PIN_Y19
Red_LED_4PIN_T18
Red_LED_5PIN_V19
Red_LED_6PIN_Y18
Red_LED_7PIN_U18
Red_LED_8PIN_R18
Red_LED_9PIN_R17
Slide Switches
Switch_0PIN_L22
Switch_1PIN_L21
Switch_2PIN_M22
Switch_3PIN_V12
Switch_4PIN_W12
Switch_5PIN_U12
Switch_6PIN_U11
Switch_7PIN_M2
Switch_8PIN_M1
Switch_9PIN_L2

0 thoughts on “De1 Pin Assignments.Csv Download Yahoo

Leave a Reply

Your email address will not be published. Required fields are marked *