Skip to content
Snippets Groups Projects
Select Git revision
  • c92c23d5380056a970f28a7f85db296f94b88ef1
  • master default protected
  • L2SDP-1131
  • L2SDP-LIFT
  • L2SDP-1137
  • HPR-158
6 results

generate_ip.sh

Blame
  • Erik Kooistra's avatar
    Eric Kooistra authored
    Initial 10gbase_r XGMII IP for Arria10. Equivalent to phy_xaui for StratixIV. Do not commit generated/ files because they first need to be verified on hardware. Instead run ./generate_ip.sh to create the IP.
    c92c23d5
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    generate_ip.sh 2.11 KiB
    #!/bin/bash
    # -------------------------------------------------------------------------- #
    #
    #!/bin/bash
    # -------------------------------------------------------------------------- #
    #
    # Copyright (C) 2014                                                        
    # ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/>
    # JIVE (Joint Institute for VLBI in Europe) <http://www.jive.nl/>           
    # P.O.Box 2, 7990 AA Dwingeloo, The Netherlands                             
    #                                                                           
    # This program is free software: you can redistribute it and/or modify      
    # it under the terms of the GNU General Public License as published by      
    # the Free Software Foundation, either version 3 of the License, or         
    # (at your option) any later version.                                       
    #                                                                           
    # This program is distributed in the hope that it will be useful,           
    # but WITHOUT ANY WARRANTY; without even the implied warranty of            
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             
    # GNU General Public License for more details.                              
    #                                                                           
    # You should have received a copy of the GNU General Public License         
    # along with this program.  If not, see <http://www.gnu.org/licenses/>.     
    #
    # -------------------------------------------------------------------------- #
    #
    # Purpose: Generate IP with Qsys
    # Description:
    #   Generate the IP in a separate generated/ subdirectory.
    #
    # Usage:
    #
    #   ./generate_ip.sh
    #
    
    # Tool settings for selected target "unb2" with arria10
    . ${RADIOHDL}/tools/quartus/set_quartus unb2
    
    #qsys-generate --help
    
    # Only generate the source IP
    # - use --synthesis=VHDL to have top level in VHDL similar as with MegaWizard
    qsys-generate ip_arria10_phy_10gbase_r.qsys \
                  --synthesis=VHDL \
                  --simulation=VHDL \
                  --output-directory=generated \
                  --allow-mixed-language-simulation