Skip to content
Snippets Groups Projects
Select Git revision
  • 0950a1fcfd0b38a7880a43a0c88820e5fa79648c
  • MCCS-163 default
  • main
  • sar-277-update-docs-with-examples-for-lrc
  • st-946-automate
  • sar_302-log-fix
  • sar-287_subarray_commands_to_lrc
  • sar_302-POC_await_sub_device_state
  • sat_302_fix_pipelines
  • sar-286_lrc_one_subarry_command
  • sar-286_lrc_improvements
  • sar-288-async-controller
  • sar-276-combine-tango-queue
  • sar-255_remove_nexus_reference
  • sar-275-add-LRC
  • sar-273-add-lrc-attributes
  • sar-272
  • sp-1106-marvin-1230525148-ska-tango-base
  • sp-1106-marvin-813091765-ska-tango-base
  • sar-255/Publish-package-to-CAR
  • mccs-661-device-under-test-fixture
  • mccs-659-pep257-docstring-linting
  • 0.11.3
  • 0.11.2
  • 0.11.1
  • 0.11.0
  • 0.10.1
  • 0.10.0
  • 0.9.1
  • 0.9.0
  • 0.8.1
  • 0.8.0
  • 0.7.2
  • 0.7.1
  • 0.7.0
  • 0.6.6
  • 0.6.5
  • 0.6.4
  • 0.6.3
  • 0.6.2
  • 0.6.1
  • 0.6.0
42 results

SKACapability.rst

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    compile_ip.tcl 14.01 KiB
    #------------------------------------------------------------------------------
    #
    # 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/>.
    #
    #------------------------------------------------------------------------------
    
    # This file is based on generated file mentor/msim_setup.tcl.
    # - the values for modelsim_search_libraries key in the hdllib.cfg follow from altera libraries vmap section in the msim_setup.tcl
    # - vmap for the IP specific libraries and compile all IP source files into those libraries similar as in the msim_setup.tcl
    # - replace QSYS_SIMDIR by IP_DIR
    # - if the testbench is also generated with QSYS then only the IP_TBDIR files are needed, because these also contain the source files.
    
    set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10/phy_10gbase_r/generated/sim"
    
    #vlib ./work/         ;# Assume library work already exists
    
    vmap ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141 ./work/
    
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/altera_xcvr_functions.sv"                             -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/altera_xcvr_functions.sv"                      -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/alt_xcvr_resync.sv"                                   -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/alt_xcvr_resync.sv"                            -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_pcs.sv"                                      -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_pcs_ch.sv"                                   -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_pma.sv"                                      -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_pma_ch.sv"                                   -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_xcvr_avmm.sv"                                -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_xcvr_native.sv"                              -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_pcs.sv"                               -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_pcs_ch.sv"                            -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_pma.sv"                               -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_pma_ch.sv"                            -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_xcvr_avmm.sv"                         -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_xcvr_native.sv"                       -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_10g_rx_pcs_rbc.sv"                      -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_10g_tx_pcs_rbc.sv"                      -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_8g_rx_pcs_rbc.sv"                       -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_8g_tx_pcs_rbc.sv"                       -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_common_pcs_pma_interface_rbc.sv"        -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_common_pld_pcs_interface_rbc.sv"        -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_fifo_rx_pcs_rbc.sv"                     -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_fifo_tx_pcs_rbc.sv"                     -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_gen3_rx_pcs_rbc.sv"                     -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_gen3_tx_pcs_rbc.sv"                     -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_krfec_rx_pcs_rbc.sv"                    -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_krfec_tx_pcs_rbc.sv"                    -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_pipe_gen1_2_rbc.sv"                     -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_pipe_gen3_rbc.sv"                       -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_pma_rx_dfe_rbc.sv"                      -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_pma_rx_odi_rbc.sv"                      -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_pma_rx_sd_rbc.sv"                       -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_pma_tx_buf_rbc.sv"                      -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_pma_tx_cgb_rbc.sv"                      -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_pma_tx_ser_rbc.sv"                      -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_rx_pcs_pma_interface_rbc.sv"            -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_rx_pld_pcs_interface_rbc.sv"            -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_tx_pcs_pma_interface_rbc.sv"            -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/twentynm_hssi_tx_pld_pcs_interface_rbc.sv"            -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_10g_rx_pcs_rbc.sv"               -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_10g_tx_pcs_rbc.sv"               -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_8g_rx_pcs_rbc.sv"                -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_8g_tx_pcs_rbc.sv"                -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_common_pcs_pma_interface_rbc.sv" -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_common_pld_pcs_interface_rbc.sv" -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_fifo_rx_pcs_rbc.sv"              -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_fifo_tx_pcs_rbc.sv"              -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_gen3_rx_pcs_rbc.sv"              -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_gen3_tx_pcs_rbc.sv"              -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_krfec_rx_pcs_rbc.sv"             -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_krfec_tx_pcs_rbc.sv"             -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_pipe_gen1_2_rbc.sv"              -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_pipe_gen3_rbc.sv"                -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_pma_rx_dfe_rbc.sv"               -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_pma_rx_odi_rbc.sv"               -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_pma_rx_sd_rbc.sv"                -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_pma_tx_buf_rbc.sv"               -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_pma_tx_cgb_rbc.sv"               -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_pma_tx_ser_rbc.sv"               -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_rx_pcs_pma_interface_rbc.sv"     -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_rx_pld_pcs_interface_rbc.sv"     -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_tx_pcs_pma_interface_rbc.sv"     -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/twentynm_hssi_tx_pld_pcs_interface_rbc.sv"     -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/a10_avmm_h.sv"                                        -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/altera_xcvr_native_a10.sv"                            -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/alt_xcvr_native_avmm_nf.sv"                           -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/alt_xcvr_native_avmm_csr.sv"                          -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/alt_xcvr_native_prbs_accum.sv"                        -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/alt_xcvr_native_embedded_debug.sv"                    -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/a10_avmm_h.sv"                                 -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/altera_xcvr_native_a10.sv"                     -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/alt_xcvr_native_avmm_nf.sv"                    -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/alt_xcvr_native_avmm_csr.sv"                   -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/alt_xcvr_native_prbs_accum.sv"                 -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vlog -sv "$IP_DIR/../altera_xcvr_native_a10_141/sim/mentor/alt_xcvr_native_embedded_debug.sv"             -work ip_arria10_phy_10gbase_r_altera_xcvr_native_a10_141
    vcom     "$IP_DIR/ip_arria10_phy_10gbase_r.vhd"