From 3235bf432483b41c26761ba07ce19947d567a447 Mon Sep 17 00:00:00 2001
From: Leon Hiemstra <hiemstra@astron.nl>
Date: Thu, 15 Jan 2015 15:32:27 +0000
Subject: [PATCH] providing allow-mixed-language-simulation, edit script

---
 .../ip_arria10/phy_10gbase_r/compile_ip.tcl   | 103 +++++-------------
 1 file changed, 26 insertions(+), 77 deletions(-)

diff --git a/libraries/technology/ip_arria10/phy_10gbase_r/compile_ip.tcl b/libraries/technology/ip_arria10/phy_10gbase_r/compile_ip.tcl
index 29305b65ab..f35bbf8059 100644
--- a/libraries/technology/ip_arria10/phy_10gbase_r/compile_ip.tcl
+++ b/libraries/technology/ip_arria10/phy_10gbase_r/compile_ip.tcl
@@ -32,80 +32,29 @@ set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10/phy_10gbase_r/gener
 
 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"                                                                                                                    
+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_pma.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_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_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/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"
+
-- 
GitLab