From dace1a949cd02ea23f6112c7bbc21c39c7fb7ae7 Mon Sep 17 00:00:00 2001
From: Reinier van der Walle <walle@astron.nl>
Date: Tue, 25 Jul 2017 09:19:05 +0000
Subject: [PATCH] added compile_ip.tcl files and edited hdllib.cfg to change
 the quartus version number from 151 to 170

---
 .../clkbuf_global/compile_ip.tcl              |  39 +++
 .../ip_arria10_e1sg/clkbuf_global/hdllib.cfg  |   2 +-
 .../complex_mult/compile_ip.tcl               |  39 +++
 .../ip_arria10_e1sg/ddio/compile_ip.tcl       |  41 +++
 .../ddr4_4g_1600/compile_ip.tcl               |  95 ++++++
 .../ip_arria10_e1sg/ddr4_4g_1600/hdllib.cfg   |   2 +-
 .../ddr4_4g_2000/compile_ip.tcl               |  95 ++++++
 .../ip_arria10_e1sg/ddr4_4g_2000/hdllib.cfg   |   2 +-
 .../ddr4_8g_1600/compile_ip.tcl               | 125 ++++++++
 .../ip_arria10_e1sg/ddr4_8g_1600/hdllib.cfg   |   2 +-
 .../ddr4_8g_2400/compile_ip.tcl               |  95 ++++++
 .../ip_arria10_e1sg/ddr4_8g_2400/hdllib.cfg   |   2 +-
 .../ip_arria10_e1sg/fifo/compile_ip.tcl       |  39 +++
 .../flash/asmi_parallel/compile_ip.tcl        |  13 +-
 .../flash/asmi_parallel/hdllib.cfg            |   2 +-
 .../flash/remote_update/compile_ip.tcl        |  17 +-
 .../flash/remote_update/hdllib.cfg            |   2 +-
 .../fractional_pll_clk125/compile_ip.tcl      |  50 ++++
 .../fractional_pll_clk125/hdllib.cfg          |   2 +-
 .../fractional_pll_clk200/compile_ip.tcl      |  50 ++++
 .../fractional_pll_clk200/hdllib.cfg          |   2 +-
 .../ip_arria10_e1sg/mac_10g/compile_ip.tcl    | 152 ++++++++++
 .../ip_arria10_e1sg/mac_10g/hdllib.cfg        |   2 +-
 .../ip_arria10_e1sg/mult_add4/compile_ip.tcl  |  39 +++
 .../phy_10gbase_r/compile_ip.tcl              |  67 +++++
 .../ip_arria10_e1sg/phy_10gbase_r/hdllib.cfg  |   2 +-
 .../phy_10gbase_r_12/compile_ip.tcl           |  68 +++++
 .../phy_10gbase_r_12/hdllib.cfg               |   2 +-
 .../phy_10gbase_r_24/compile_ip.tcl           |  68 +++++
 .../phy_10gbase_r_24/hdllib.cfg               |   2 +-
 .../phy_10gbase_r_4/compile_ip.tcl            |  68 +++++
 .../phy_10gbase_r_4/hdllib.cfg                |   2 +-
 .../phy_10gbase_r_48/compile_ip.tcl           |  68 +++++
 .../phy_10gbase_r_48/hdllib.cfg               |   2 +-
 .../ip_arria10_e1sg/pll_clk125/compile_ip.tcl |  39 +++
 .../ip_arria10_e1sg/pll_clk125/hdllib.cfg     |   2 +-
 .../ip_arria10_e1sg/pll_clk200/compile_ip.tcl |  39 +++
 .../ip_arria10_e1sg/pll_clk200/hdllib.cfg     |   2 +-
 .../ip_arria10_e1sg/pll_clk25/compile_ip.tcl  |  39 +++
 .../ip_arria10_e1sg/pll_clk25/hdllib.cfg      |   2 +-
 .../pll_xgmii_mac_clocks/compile_ip.tcl       |  50 ++++
 .../pll_xgmii_mac_clocks/hdllib.cfg           |   2 +-
 .../ip_arria10_e1sg/ram/compile_ip.tcl        |  39 +++
 .../ip_arria10_e1sg/temp_sense/compile_ip.tcl |  39 +++
 .../ip_arria10_e1sg/temp_sense/hdllib.cfg     |   2 +-
 .../transceiver_pll_10g/compile_ip.tcl        |  57 ++++
 .../transceiver_pll_10g/hdllib.cfg            |   2 +-
 .../compile_ip.tcl                            |  46 +++
 .../transceiver_reset_controller_1/hdllib.cfg |   2 +-
 .../compile_ip.tcl                            |  46 +++
 .../hdllib.cfg                                |   2 +-
 .../compile_ip.tcl                            |  46 +++
 .../hdllib.cfg                                |   2 +-
 .../compile_ip.tcl                            |  46 +++
 .../transceiver_reset_controller_4/hdllib.cfg |   2 +-
 .../compile_ip.tcl                            |  46 +++
 .../hdllib.cfg                                |   2 +-
 .../tse_sgmii_gx/compile_ip.tcl               | 270 ++++++++++++++++++
 .../ip_arria10_e1sg/tse_sgmii_gx/hdllib.cfg   |   2 +-
 .../tse_sgmii_lvds/compile_ip.tcl             | 256 +++++++++++++++++
 .../ip_arria10_e1sg/tse_sgmii_lvds/hdllib.cfg |   4 +-
 .../voltage_sense/compile_ip.tcl              |  47 +++
 .../ip_arria10_e1sg/voltage_sense/hdllib.cfg  |   2 +-
 63 files changed, 2353 insertions(+), 40 deletions(-)
 create mode 100644 libraries/technology/ip_arria10_e1sg/clkbuf_global/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/complex_mult/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/ddio/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/ddr4_4g_1600/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/ddr4_4g_2000/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/ddr4_8g_1600/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/ddr4_8g_2400/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/fifo/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/fractional_pll_clk125/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/fractional_pll_clk200/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/mac_10g/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/mult_add4/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/phy_10gbase_r/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/phy_10gbase_r_12/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/phy_10gbase_r_24/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/phy_10gbase_r_4/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/phy_10gbase_r_48/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/pll_clk125/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/pll_clk200/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/pll_clk25/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/pll_xgmii_mac_clocks/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/ram/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/temp_sense/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/transceiver_pll_10g/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_1/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_12/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_24/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_4/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_48/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/tse_sgmii_gx/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/tse_sgmii_lvds/compile_ip.tcl
 create mode 100644 libraries/technology/ip_arria10_e1sg/voltage_sense/compile_ip.tcl

diff --git a/libraries/technology/ip_arria10_e1sg/clkbuf_global/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/clkbuf_global/compile_ip.tcl
new file mode 100644
index 0000000000..01a94cfcad
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/clkbuf_global/compile_ip.tcl
@@ -0,0 +1,39 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/clkbuf_global/generated/sim"
+
+vmap  altclkctrl_170                ./work/
+vmap  ip_arria10_e1sg_clkbuf_global ./work/
+
+
+  vcom  "$IP_DIR/../altclkctrl_170/sim/ip_arria10_e1sg_clkbuf_global_altclkctrl_170_7fwzyby.vhd" -work altclkctrl_170               
+  vcom  "$IP_DIR/ip_arria10_e1sg_clkbuf_global.vhd"                                              -work ip_arria10_e1sg_clkbuf_global
diff --git a/libraries/technology/ip_arria10_e1sg/clkbuf_global/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/clkbuf_global/hdllib.cfg
index 14f3f61a13..fec25a7cd5 100644
--- a/libraries/technology/ip_arria10_e1sg/clkbuf_global/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/clkbuf_global/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_clkbuf_global 
-hdl_library_clause_name = ip_arria10_e1sg_clkbuf_global_altclkctrl_151
+hdl_library_clause_name = ip_arria10_e1sg_clkbuf_global_altclkctrl_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/complex_mult/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/complex_mult/compile_ip.tcl
new file mode 100644
index 0000000000..88de2e5ff4
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/complex_mult/compile_ip.tcl
@@ -0,0 +1,39 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/complex_mult/generated/sim"
+
+vmap  ip_arria10_e1sg_complex_mult ./work/
+vmap  altmult_complex_170          ./work/
+
+
+  vcom  "$IP_DIR/../altmult_complex_170/sim/ip_arria10_e1sg_complex_mult_altmult_complex_170_myrk3hi.vhd" -work altmult_complex_170         
+  vcom  "$IP_DIR/ip_arria10_e1sg_complex_mult.vhd"                                                        -work ip_arria10_e1sg_complex_mult
diff --git a/libraries/technology/ip_arria10_e1sg/ddio/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/ddio/compile_ip.tcl
new file mode 100644
index 0000000000..29a3142027
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/ddio/compile_ip.tcl
@@ -0,0 +1,41 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/ddio/generated/sim"
+
+vmap  altera_gpio_core20_170     ./work/
+vmap  altera_gpio_170            ./work/
+vmap  ip_arria10_e1sg_ddio_out_1 ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_gpio_core20_170/sim/mentor/altera_gpio.sv"                           -work altera_gpio_core20_170    
+  vcom         "$IP_DIR/../altera_gpio_170/sim/ip_arria10_e1sg_ddio_out_1_altera_gpio_170_pqckuoi.vhd" -work altera_gpio_170           
+  vcom         "$IP_DIR/ip_arria10_e1sg_ddio_out_1.vhd"                                                -work ip_arria10_e1sg_ddio_out_1
diff --git a/libraries/technology/ip_arria10_e1sg/ddr4_4g_1600/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/ddr4_4g_1600/compile_ip.tcl
new file mode 100644
index 0000000000..d6dbc8d543
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/ddr4_4g_1600/compile_ip.tcl
@@ -0,0 +1,95 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/ddr4_4g_1600/generated/sim"
+
+vmap  altera_merlin_master_translator_170 ./work/
+vmap  altera_emif_cal_slave_nf_170        ./work/
+vmap  altera_avalon_onchip_memory2_170    ./work/
+vmap  altera_mm_interconnect_170          ./work/
+vmap  altera_reset_controller_170         ./work/
+vmap  ip_arria10_e1sg_ddr4_4g_1600        ./work/
+vmap  altera_emif_arch_nf_170             ./work/
+vmap  altera_emif_170                     ./work/
+vmap  altera_avalon_mm_bridge_170         ./work/
+vmap  altera_merlin_slave_translator_170  ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/ip_arria10_e1sg_ddr4_4g_1600_altera_emif_arch_nf_170_6dhhhti_top.sv"                -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/ip_arria10_e1sg_ddr4_4g_1600_altera_emif_arch_nf_170_6dhhhti_io_aux.sv"             -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/ip_arria10_e1sg_ddr4_4g_1600_altera_emif_arch_nf_170_6dhhhti.sv"                    -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_bufs.sv"                                                        -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_se_i.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_se_o.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_df_i.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_df_o.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_cp_i.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_bdir_df.sv"                                                 -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_bdir_se.sv"                                                 -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_unused.sv"                                                  -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_cal_counter.sv"                                                 -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_pll.sv"                                                         -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_pll_fast_sim.sv"                                                -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_pll_extra_clks.sv"                                              -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_oct.sv"                                                         -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_core_clks_rsts.sv"                                              -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hps_clks_rsts.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_io_tiles_wrap.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_io_tiles.sv"                                                    -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_io_tiles_abphy.sv"                                              -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_abphy_mux.sv"                                                   -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_avl_if.sv"                                                  -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_sideband_if.sv"                                             -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_mmr_if.sv"                                                  -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_amm_data_if.sv"                                             -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_ast_data_if.sv"                                             -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_afi_if.sv"                                                      -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_seq_if.sv"                                                      -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_regs.sv"                                                        -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_oct.sv"                                                                      -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_oct_um_fsm.sv"                                                               -work altera_emif_arch_nf_170            
+  vlog      "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_std_synchronizer_nocut.v"                                                    -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/mem_array_abphy.sv"                                                                 -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/twentynm_io_12_lane_abphy.sv"                                                       -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/twentynm_io_12_lane_encrypted_abphy.sv"                                             -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/twentynm_io_12_lane_nf5es_encrypted_abphy.sv"                                       -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/io_12_lane_bcm__nf5es_abphy.sv"                                                     -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/io_12_lane__nf5es_abphy.sv"                                                         -work altera_emif_arch_nf_170            
+  vlog      "$IP_DIR/../altera_avalon_mm_bridge_170/sim/altera_avalon_mm_bridge.v"                                                      -work altera_avalon_mm_bridge_170        
+  vcom         "$IP_DIR/../altera_avalon_onchip_memory2_170/sim/ip_arria10_e1sg_ddr4_4g_1600_altera_avalon_onchip_memory2_170_yroldmy.vhd" -work altera_avalon_onchip_memory2_170   
+  vlog -sv  "$IP_DIR/../altera_merlin_master_translator_170/sim/altera_merlin_master_translator.sv"                                     -work altera_merlin_master_translator_170
+  vlog -sv  "$IP_DIR/../altera_merlin_slave_translator_170/sim/mentor/altera_merlin_slave_translator.sv"                                -work altera_merlin_slave_translator_170 
+  vcom         "$IP_DIR/../altera_mm_interconnect_170/sim/ip_arria10_e1sg_ddr4_4g_1600_altera_mm_interconnect_170_o2ys4ki.vhd"             -work altera_mm_interconnect_170         
+  vlog      "$IP_DIR/../altera_reset_controller_170/sim/mentor/altera_reset_controller.v"                                               -work altera_reset_controller_170        
+  vlog      "$IP_DIR/../altera_reset_controller_170/sim/mentor/altera_reset_synchronizer.v"                                             -work altera_reset_controller_170        
+  vlog      "$IP_DIR/../altera_emif_cal_slave_nf_170/sim/ip_arria10_e1sg_ddr4_4g_1600_altera_emif_cal_slave_nf_170_6qfmevy.v"           -work altera_emif_cal_slave_nf_170       
+  vlog      "$IP_DIR/../altera_emif_170/sim/ip_arria10_e1sg_ddr4_4g_1600_altera_emif_170_fpxzpei.v"                                     -work altera_emif_170                    
+  vcom         "$IP_DIR/ip_arria10_e1sg_ddr4_4g_1600.vhd"                                                                                  -work ip_arria10_e1sg_ddr4_4g_1600       
diff --git a/libraries/technology/ip_arria10_e1sg/ddr4_4g_1600/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/ddr4_4g_1600/hdllib.cfg
index 38704a1a7a..6512c11b83 100644
--- a/libraries/technology/ip_arria10_e1sg/ddr4_4g_1600/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/ddr4_4g_1600/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_ddr4_4g_1600
-hdl_library_clause_name = ip_arria10_e1sg_ddr4_4g_1600_altera_emif_151
+hdl_library_clause_name = ip_arria10_e1sg_ddr4_4g_1600_altera_emif_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/ddr4_4g_2000/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/ddr4_4g_2000/compile_ip.tcl
new file mode 100644
index 0000000000..e9f5251efd
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/ddr4_4g_2000/compile_ip.tcl
@@ -0,0 +1,95 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/ddr4_4g_2000/generated/sim"
+
+vmap  altera_merlin_master_translator_170 ./work/
+vmap  altera_emif_cal_slave_nf_170        ./work/
+vmap  altera_avalon_onchip_memory2_170    ./work/
+vmap  ip_arria10_e1sg_ddr4_4g_2000        ./work/
+vmap  altera_mm_interconnect_170          ./work/
+vmap  altera_reset_controller_170         ./work/
+vmap  altera_emif_arch_nf_170             ./work/
+vmap  altera_emif_170                     ./work/
+vmap  altera_avalon_mm_bridge_170         ./work/
+vmap  altera_merlin_slave_translator_170  ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/ip_arria10_e1sg_ddr4_4g_2000_altera_emif_arch_nf_170_ctgfmtq_top.sv"                -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/ip_arria10_e1sg_ddr4_4g_2000_altera_emif_arch_nf_170_ctgfmtq_io_aux.sv"             -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/ip_arria10_e1sg_ddr4_4g_2000_altera_emif_arch_nf_170_ctgfmtq.sv"                    -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_bufs.sv"                                                        -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_se_i.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_se_o.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_df_i.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_df_o.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_cp_i.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_bdir_df.sv"                                                 -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_bdir_se.sv"                                                 -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_unused.sv"                                                  -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_cal_counter.sv"                                                 -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_pll.sv"                                                         -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_pll_fast_sim.sv"                                                -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_pll_extra_clks.sv"                                              -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_oct.sv"                                                         -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_core_clks_rsts.sv"                                              -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hps_clks_rsts.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_io_tiles_wrap.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_io_tiles.sv"                                                    -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_io_tiles_abphy.sv"                                              -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_abphy_mux.sv"                                                   -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_avl_if.sv"                                                  -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_sideband_if.sv"                                             -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_mmr_if.sv"                                                  -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_amm_data_if.sv"                                             -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_ast_data_if.sv"                                             -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_afi_if.sv"                                                      -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_seq_if.sv"                                                      -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_regs.sv"                                                        -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_oct.sv"                                                                      -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_oct_um_fsm.sv"                                                               -work altera_emif_arch_nf_170            
+  vlog      "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_std_synchronizer_nocut.v"                                                    -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/mem_array_abphy.sv"                                                                 -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/twentynm_io_12_lane_abphy.sv"                                                       -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/twentynm_io_12_lane_encrypted_abphy.sv"                                             -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/twentynm_io_12_lane_nf5es_encrypted_abphy.sv"                                       -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/io_12_lane_bcm__nf5es_abphy.sv"                                                     -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/io_12_lane__nf5es_abphy.sv"                                                         -work altera_emif_arch_nf_170            
+  vlog      "$IP_DIR/../altera_avalon_mm_bridge_170/sim/altera_avalon_mm_bridge.v"                                                      -work altera_avalon_mm_bridge_170        
+  vcom         "$IP_DIR/../altera_avalon_onchip_memory2_170/sim/ip_arria10_e1sg_ddr4_4g_2000_altera_avalon_onchip_memory2_170_yroldmy.vhd" -work altera_avalon_onchip_memory2_170   
+  vlog -sv  "$IP_DIR/../altera_merlin_master_translator_170/sim/altera_merlin_master_translator.sv"                                     -work altera_merlin_master_translator_170
+  vlog -sv  "$IP_DIR/../altera_merlin_slave_translator_170/sim/mentor/altera_merlin_slave_translator.sv"                                -work altera_merlin_slave_translator_170 
+  vcom         "$IP_DIR/../altera_mm_interconnect_170/sim/ip_arria10_e1sg_ddr4_4g_2000_altera_mm_interconnect_170_o2ys4ki.vhd"             -work altera_mm_interconnect_170         
+  vlog      "$IP_DIR/../altera_reset_controller_170/sim/mentor/altera_reset_controller.v"                                               -work altera_reset_controller_170        
+  vlog      "$IP_DIR/../altera_reset_controller_170/sim/mentor/altera_reset_synchronizer.v"                                             -work altera_reset_controller_170        
+  vlog      "$IP_DIR/../altera_emif_cal_slave_nf_170/sim/ip_arria10_e1sg_ddr4_4g_2000_altera_emif_cal_slave_nf_170_6qfmevy.v"           -work altera_emif_cal_slave_nf_170       
+  vlog      "$IP_DIR/../altera_emif_170/sim/ip_arria10_e1sg_ddr4_4g_2000_altera_emif_170_e7aaa3y.v"                                     -work altera_emif_170                    
+  vcom         "$IP_DIR/ip_arria10_e1sg_ddr4_4g_2000.vhd"                                                                                  -work ip_arria10_e1sg_ddr4_4g_2000       
diff --git a/libraries/technology/ip_arria10_e1sg/ddr4_4g_2000/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/ddr4_4g_2000/hdllib.cfg
index 629af067fc..b1385a4af0 100644
--- a/libraries/technology/ip_arria10_e1sg/ddr4_4g_2000/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/ddr4_4g_2000/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_ddr4_4g_2000
-hdl_library_clause_name = ip_arria10_e1sg_ddr4_4g_2000_altera_emif_151
+hdl_library_clause_name = ip_arria10_e1sg_ddr4_4g_2000_altera_emif_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/ddr4_8g_1600/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/ddr4_8g_1600/compile_ip.tcl
new file mode 100644
index 0000000000..02d52fa562
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/ddr4_8g_1600/compile_ip.tcl
@@ -0,0 +1,125 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/ddr4_8g_1600/generated/sim"
+
+vmap  ip_arria10_e1sg_ddr4_8g_1600          ./work/
+vmap  altera_reset_controller_170           ./work/
+vmap  altera_avalon_sc_fifo_170             ./work/
+vmap  altera_avalon_st_packets_to_bytes_170 ./work/
+vmap  altera_emif_cal_slave_nf_170          ./work/
+vmap  altera_merlin_slave_translator_170    ./work/
+vmap  altera_emif_170                       ./work/
+vmap  altera_ip_col_if_170                  ./work/
+vmap  altera_avalon_onchip_memory2_170      ./work/
+vmap  altera_jtag_dc_streaming_170          ./work/
+vmap  altera_merlin_master_translator_170   ./work/
+vmap  altera_avalon_mm_bridge_170           ./work/
+vmap  alt_mem_if_jtag_master_170            ./work/
+vmap  altera_emif_arch_nf_170               ./work/
+vmap  altera_avalon_st_bytes_to_packets_170 ./work/
+vmap  altera_mm_interconnect_170            ./work/
+vmap  altera_avalon_packets_to_master_170   ./work/
+vmap  channel_adapter_170                   ./work/
+vmap  timing_adapter_170                    ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/ip_arria10_e1sg_ddr4_8g_1600_altera_emif_arch_nf_170_eg5lvei_top.sv"                -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/ip_arria10_e1sg_ddr4_8g_1600_altera_emif_arch_nf_170_eg5lvei_io_aux.sv"             -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/ip_arria10_e1sg_ddr4_8g_1600_altera_emif_arch_nf_170_eg5lvei.sv"                    -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_bufs.sv"                                                        -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_se_i.sv"                                               -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_se_o.sv"                                               -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_df_i.sv"                                               -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_df_o.sv"                                               -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_cp_i.sv"                                               -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_bdir_df.sv"                                                 -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_bdir_se.sv"                                                 -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_unused.sv"                                                  -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_cal_counter.sv"                                                 -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_pll.sv"                                                         -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_pll_fast_sim.sv"                                                -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_pll_extra_clks.sv"                                              -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_oct.sv"                                                         -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_core_clks_rsts.sv"                                              -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hps_clks_rsts.sv"                                               -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_io_tiles_wrap.sv"                                               -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_io_tiles.sv"                                                    -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_io_tiles_abphy.sv"                                              -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_abphy_mux.sv"                                                   -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_avl_if.sv"                                                  -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_sideband_if.sv"                                             -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_mmr_if.sv"                                                  -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_amm_data_if.sv"                                             -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_ast_data_if.sv"                                             -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_afi_if.sv"                                                      -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_seq_if.sv"                                                      -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_regs.sv"                                                        -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_oct.sv"                                                                      -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_oct_um_fsm.sv"                                                               -work altera_emif_arch_nf_170              
+  vlog      "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_std_synchronizer_nocut.v"                                                    -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/mem_array_abphy.sv"                                                                 -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/twentynm_io_12_lane_abphy.sv"                                                       -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/twentynm_io_12_lane_encrypted_abphy.sv"                                             -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/twentynm_io_12_lane_nf5es_encrypted_abphy.sv"                                       -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/io_12_lane_bcm__nf5es_abphy.sv"                                                     -work altera_emif_arch_nf_170              
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/io_12_lane__nf5es_abphy.sv"                                                         -work altera_emif_arch_nf_170              
+  vlog      "$IP_DIR/../altera_avalon_mm_bridge_170/sim/altera_avalon_mm_bridge.v"                                                      -work altera_avalon_mm_bridge_170          
+  vlog      "$IP_DIR/../altera_jtag_dc_streaming_170/sim/altera_avalon_st_jtag_interface.v"                                             -work altera_jtag_dc_streaming_170         
+  vlog      "$IP_DIR/../altera_jtag_dc_streaming_170/sim/altera_jtag_dc_streaming.v"                                                    -work altera_jtag_dc_streaming_170         
+  vlog      "$IP_DIR/../altera_jtag_dc_streaming_170/sim/altera_jtag_sld_node.v"                                                        -work altera_jtag_dc_streaming_170         
+  vlog      "$IP_DIR/../altera_jtag_dc_streaming_170/sim/altera_jtag_streaming.v"                                                       -work altera_jtag_dc_streaming_170         
+  vlog      "$IP_DIR/../altera_jtag_dc_streaming_170/sim/altera_avalon_st_clock_crosser.v"                                              -work altera_jtag_dc_streaming_170         
+  vlog      "$IP_DIR/../altera_jtag_dc_streaming_170/sim/altera_std_synchronizer_nocut.v"                                               -work altera_jtag_dc_streaming_170         
+  vlog      "$IP_DIR/../altera_jtag_dc_streaming_170/sim/altera_avalon_st_pipeline_base.v"                                              -work altera_jtag_dc_streaming_170         
+  vlog      "$IP_DIR/../altera_jtag_dc_streaming_170/sim/altera_avalon_st_idle_remover.v"                                               -work altera_jtag_dc_streaming_170         
+  vlog      "$IP_DIR/../altera_jtag_dc_streaming_170/sim/altera_avalon_st_idle_inserter.v"                                              -work altera_jtag_dc_streaming_170         
+  vlog -sv  "$IP_DIR/../altera_jtag_dc_streaming_170/sim/altera_avalon_st_pipeline_stage.sv"                                            -work altera_jtag_dc_streaming_170         
+  vlog -sv  "$IP_DIR/../timing_adapter_170/sim/ip_arria10_e1sg_ddr4_8g_1600_timing_adapter_170_osazali.sv"                              -work timing_adapter_170                   
+  vlog      "$IP_DIR/../altera_avalon_sc_fifo_170/sim/altera_avalon_sc_fifo.v"                                                          -work altera_avalon_sc_fifo_170            
+  vlog      "$IP_DIR/../altera_avalon_st_bytes_to_packets_170/sim/altera_avalon_st_bytes_to_packets.v"                                  -work altera_avalon_st_bytes_to_packets_170
+  vlog      "$IP_DIR/../altera_avalon_st_packets_to_bytes_170/sim/altera_avalon_st_packets_to_bytes.v"                                  -work altera_avalon_st_packets_to_bytes_170
+  vlog      "$IP_DIR/../altera_avalon_packets_to_master_170/sim/altera_avalon_packets_to_master.v"                                      -work altera_avalon_packets_to_master_170  
+  vlog -sv  "$IP_DIR/../channel_adapter_170/sim/ip_arria10_e1sg_ddr4_8g_1600_channel_adapter_170_bsi6toa.sv"                            -work channel_adapter_170                  
+  vlog -sv  "$IP_DIR/../channel_adapter_170/sim/ip_arria10_e1sg_ddr4_8g_1600_channel_adapter_170_xbvi4ny.sv"                            -work channel_adapter_170                  
+  vlog      "$IP_DIR/../altera_reset_controller_170/sim/mentor/altera_reset_controller.v"                                               -work altera_reset_controller_170          
+  vlog      "$IP_DIR/../altera_reset_controller_170/sim/mentor/altera_reset_synchronizer.v"                                             -work altera_reset_controller_170          
+  vcom         "$IP_DIR/../alt_mem_if_jtag_master_170/sim/ip_arria10_e1sg_ddr4_8g_1600_alt_mem_if_jtag_master_170_biwt3uq.vhd"             -work alt_mem_if_jtag_master_170           
+  vlog -sv  "$IP_DIR/../altera_merlin_master_translator_170/sim/altera_merlin_master_translator.sv"                                     -work altera_merlin_master_translator_170  
+  vlog -sv  "$IP_DIR/../altera_merlin_slave_translator_170/sim/mentor/altera_merlin_slave_translator.sv"                                -work altera_merlin_slave_translator_170   
+  vcom         "$IP_DIR/../altera_mm_interconnect_170/sim/ip_arria10_e1sg_ddr4_8g_1600_altera_mm_interconnect_170_3gbam2q.vhd"             -work altera_mm_interconnect_170           
+  vlog      "$IP_DIR/../altera_ip_col_if_170/sim/ip_arria10_e1sg_ddr4_8g_1600_altera_ip_col_if_170_bnb3mmy.v"                           -work altera_ip_col_if_170                 
+  vcom         "$IP_DIR/../altera_avalon_onchip_memory2_170/sim/ip_arria10_e1sg_ddr4_8g_1600_altera_avalon_onchip_memory2_170_yroldmy.vhd" -work altera_avalon_onchip_memory2_170     
+  vcom         "$IP_DIR/../altera_mm_interconnect_170/sim/ip_arria10_e1sg_ddr4_8g_1600_altera_mm_interconnect_170_o2ys4ki.vhd"             -work altera_mm_interconnect_170           
+  vlog      "$IP_DIR/../altera_emif_cal_slave_nf_170/sim/ip_arria10_e1sg_ddr4_8g_1600_altera_emif_cal_slave_nf_170_6qfmevy.v"           -work altera_emif_cal_slave_nf_170         
+  vcom         "$IP_DIR/../altera_mm_interconnect_170/sim/ip_arria10_e1sg_ddr4_8g_1600_altera_mm_interconnect_170_lcqbbfq.vhd"             -work altera_mm_interconnect_170           
+  vlog      "$IP_DIR/../altera_emif_170/sim/ip_arria10_e1sg_ddr4_8g_1600_altera_emif_170_zmrgaza.v"                                     -work altera_emif_170                      
+  vcom         "$IP_DIR/ip_arria10_e1sg_ddr4_8g_1600.vhd"                                                                                  -work ip_arria10_e1sg_ddr4_8g_1600         
diff --git a/libraries/technology/ip_arria10_e1sg/ddr4_8g_1600/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/ddr4_8g_1600/hdllib.cfg
index 5944db1886..21f7c94f81 100644
--- a/libraries/technology/ip_arria10_e1sg/ddr4_8g_1600/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/ddr4_8g_1600/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_ddr4_8g_1600
-hdl_library_clause_name = ip_arria10_e1sg_ddr4_8g_1600_altera_emif_151
+hdl_library_clause_name = ip_arria10_e1sg_ddr4_8g_1600_altera_emif_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/ddr4_8g_2400/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/ddr4_8g_2400/compile_ip.tcl
new file mode 100644
index 0000000000..127effe651
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/ddr4_8g_2400/compile_ip.tcl
@@ -0,0 +1,95 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/ddr4_8g_2400/generated/sim"
+
+vmap  altera_merlin_master_translator_170 ./work/
+vmap  altera_emif_cal_slave_nf_170        ./work/
+vmap  altera_avalon_onchip_memory2_170    ./work/
+vmap  ip_arria10_e1sg_ddr4_8g_2400        ./work/
+vmap  altera_mm_interconnect_170          ./work/
+vmap  altera_reset_controller_170         ./work/
+vmap  altera_emif_arch_nf_170             ./work/
+vmap  altera_emif_170                     ./work/
+vmap  altera_avalon_mm_bridge_170         ./work/
+vmap  altera_merlin_slave_translator_170  ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/ip_arria10_e1sg_ddr4_8g_2400_altera_emif_arch_nf_170_as3yf3i_top.sv"                -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/ip_arria10_e1sg_ddr4_8g_2400_altera_emif_arch_nf_170_as3yf3i_io_aux.sv"             -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/ip_arria10_e1sg_ddr4_8g_2400_altera_emif_arch_nf_170_as3yf3i.sv"                    -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_bufs.sv"                                                        -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_se_i.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_se_o.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_df_i.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_df_o.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_udir_cp_i.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_bdir_df.sv"                                                 -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_bdir_se.sv"                                                 -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_buf_unused.sv"                                                  -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_cal_counter.sv"                                                 -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_pll.sv"                                                         -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_pll_fast_sim.sv"                                                -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_pll_extra_clks.sv"                                              -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_oct.sv"                                                         -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_core_clks_rsts.sv"                                              -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hps_clks_rsts.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_io_tiles_wrap.sv"                                               -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_io_tiles.sv"                                                    -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_io_tiles_abphy.sv"                                              -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_abphy_mux.sv"                                                   -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_avl_if.sv"                                                  -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_sideband_if.sv"                                             -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_mmr_if.sv"                                                  -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_amm_data_if.sv"                                             -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_hmc_ast_data_if.sv"                                             -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_afi_if.sv"                                                      -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_seq_if.sv"                                                      -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_emif_arch_nf_regs.sv"                                                        -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_oct.sv"                                                                      -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_oct_um_fsm.sv"                                                               -work altera_emif_arch_nf_170            
+  vlog      "$IP_DIR/../altera_emif_arch_nf_170/sim/altera_std_synchronizer_nocut.v"                                                    -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/mem_array_abphy.sv"                                                                 -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/twentynm_io_12_lane_abphy.sv"                                                       -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/twentynm_io_12_lane_encrypted_abphy.sv"                                             -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/twentynm_io_12_lane_nf5es_encrypted_abphy.sv"                                       -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/io_12_lane_bcm__nf5es_abphy.sv"                                                     -work altera_emif_arch_nf_170            
+  vlog -sv  "$IP_DIR/../altera_emif_arch_nf_170/sim/io_12_lane__nf5es_abphy.sv"                                                         -work altera_emif_arch_nf_170            
+  vlog      "$IP_DIR/../altera_avalon_mm_bridge_170/sim/altera_avalon_mm_bridge.v"                                                      -work altera_avalon_mm_bridge_170        
+  vcom         "$IP_DIR/../altera_avalon_onchip_memory2_170/sim/ip_arria10_e1sg_ddr4_8g_2400_altera_avalon_onchip_memory2_170_yroldmy.vhd" -work altera_avalon_onchip_memory2_170   
+  vlog -sv  "$IP_DIR/../altera_merlin_master_translator_170/sim/altera_merlin_master_translator.sv"                                     -work altera_merlin_master_translator_170
+  vlog -sv  "$IP_DIR/../altera_merlin_slave_translator_170/sim/mentor/altera_merlin_slave_translator.sv"                                -work altera_merlin_slave_translator_170 
+  vcom         "$IP_DIR/../altera_mm_interconnect_170/sim/ip_arria10_e1sg_ddr4_8g_2400_altera_mm_interconnect_170_o2ys4ki.vhd"             -work altera_mm_interconnect_170         
+  vlog      "$IP_DIR/../altera_reset_controller_170/sim/mentor/altera_reset_controller.v"                                               -work altera_reset_controller_170        
+  vlog      "$IP_DIR/../altera_reset_controller_170/sim/mentor/altera_reset_synchronizer.v"                                             -work altera_reset_controller_170        
+  vlog      "$IP_DIR/../altera_emif_cal_slave_nf_170/sim/ip_arria10_e1sg_ddr4_8g_2400_altera_emif_cal_slave_nf_170_6qfmevy.v"           -work altera_emif_cal_slave_nf_170       
+  vlog      "$IP_DIR/../altera_emif_170/sim/ip_arria10_e1sg_ddr4_8g_2400_altera_emif_170_xxodvzi.v"                                     -work altera_emif_170                    
+  vcom         "$IP_DIR/ip_arria10_e1sg_ddr4_8g_2400.vhd"                                                                                  -work ip_arria10_e1sg_ddr4_8g_2400       
diff --git a/libraries/technology/ip_arria10_e1sg/ddr4_8g_2400/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/ddr4_8g_2400/hdllib.cfg
index 1a90c209c7..6bc273c15f 100644
--- a/libraries/technology/ip_arria10_e1sg/ddr4_8g_2400/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/ddr4_8g_2400/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_ddr4_8g_2400
-hdl_library_clause_name = ip_arria10_e1sg_ddr4_8g_2400_altera_emif_151
+hdl_library_clause_name = ip_arria10_e1sg_ddr4_8g_2400_altera_emif_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/fifo/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/fifo/compile_ip.tcl
new file mode 100644
index 0000000000..7c8e45e1a1
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/fifo/compile_ip.tcl
@@ -0,0 +1,39 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/fifo/generated/sim"
+
+vmap  ip_arria10_e1sg_fifo_dc_mixed_widths ./work/
+vmap  fifo_170                             ./work/
+
+
+  vcom  "$IP_DIR/../fifo_170/sim/ip_arria10_e1sg_fifo_dc_mixed_widths_fifo_170_kpo7qdy.vhd" -work fifo_170                            
+  vcom  "$IP_DIR/ip_arria10_e1sg_fifo_dc_mixed_widths.vhd"                                  -work ip_arria10_e1sg_fifo_dc_mixed_widths
diff --git a/libraries/technology/ip_arria10_e1sg/flash/asmi_parallel/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/flash/asmi_parallel/compile_ip.tcl
index b045f247c5..43dbec7e74 100644
--- a/libraries/technology/ip_arria10_e1sg/flash/asmi_parallel/compile_ip.tcl
+++ b/libraries/technology/ip_arria10_e1sg/flash/asmi_parallel/compile_ip.tcl
@@ -1,6 +1,6 @@
 #------------------------------------------------------------------------------
 #
-# Copyright (C) 2014
+# Copyright (C) 2017
 # 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
@@ -26,9 +26,14 @@
 # - 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.
 
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
 set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/flash/asmi_parallel/generated/sim"
 
-vmap ip_arria10_e1sg_asmi_parallel_altera_asmi_parallel_151 ./work/
+vmap  altera_asmi_parallel_170      ./work/
+vmap  ip_arria10_e1sg_asmi_parallel ./work/
+
 
-vlog "$IP_DIR/../altera_asmi_parallel_151/sim/ip_arria10_e1sg_asmi_parallel_altera_asmi_parallel_151_27ndfba.v" -work ip_arria10_e1sg_asmi_parallel_altera_asmi_parallel_151
-vcom "$IP_DIR/ip_arria10_e1sg_asmi_parallel.vhd"                                                                                                                       
+  vcom  "$IP_DIR/../altera_asmi_parallel_170/sim/ip_arria10_e1sg_asmi_parallel_altera_asmi_parallel_170_eou4tfa.vhd" -work altera_asmi_parallel_170     
+  vcom  "$IP_DIR/ip_arria10_e1sg_asmi_parallel.vhd"                                                                  -work ip_arria10_e1sg_asmi_parallel
diff --git a/libraries/technology/ip_arria10_e1sg/flash/asmi_parallel/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/flash/asmi_parallel/hdllib.cfg
index aeecf8db0a..5a2f5060ef 100644
--- a/libraries/technology/ip_arria10_e1sg/flash/asmi_parallel/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/flash/asmi_parallel/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_asmi_parallel
-hdl_library_clause_name = ip_arria10_e1sg_asmi_parallel_altera_asmi_parallel_151
+hdl_library_clause_name = ip_arria10_e1sg_asmi_parallel_altera_asmi_parallel_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/flash/remote_update/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/flash/remote_update/compile_ip.tcl
index 4632c795d4..0527726f0c 100644
--- a/libraries/technology/ip_arria10_e1sg/flash/remote_update/compile_ip.tcl
+++ b/libraries/technology/ip_arria10_e1sg/flash/remote_update/compile_ip.tcl
@@ -1,6 +1,6 @@
 #------------------------------------------------------------------------------
 #
-# Copyright (C) 2014
+# Copyright (C) 2017
 # 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
@@ -26,11 +26,16 @@
 # - 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.
 
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
 set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/flash/remote_update/generated/sim"
 
-vmap ip_arria10_e1sg_remote_update_altera_remote_update_core_151  ./work/
-vmap ip_arria10_e1sg_remote_update_altera_remote_update_151       ./work/
+vmap  ip_arria10_e1sg_remote_update ./work/
+vmap  altera_remote_update_170      ./work/
+vmap  altera_remote_update_core_170 ./work/
+
 
-vlog "$IP_DIR/../altera_remote_update_core_151/sim/altera_remote_update_core.sv"                                  -work ip_arria10_e1sg_remote_update_altera_remote_update_core_151
-vlog "$IP_DIR/../altera_remote_update_151/sim/ip_arria10_e1sg_remote_update_altera_remote_update_151_fdzfjma.v" -work ip_arria10_e1sg_remote_update_altera_remote_update_151     
-vcom "$IP_DIR/ip_arria10_e1sg_remote_update.vhd"                                                                                                                            
+  vlog -sv  "$IP_DIR/../altera_remote_update_core_170/sim/mentor/altera_remote_update_core.sv"                           -work altera_remote_update_core_170
+  vcom         "$IP_DIR/../altera_remote_update_170/sim/ip_arria10_e1sg_remote_update_altera_remote_update_170_hsvaqga.vhd" -work altera_remote_update_170     
+  vcom         "$IP_DIR/ip_arria10_e1sg_remote_update.vhd"                                                                  -work ip_arria10_e1sg_remote_update
diff --git a/libraries/technology/ip_arria10_e1sg/flash/remote_update/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/flash/remote_update/hdllib.cfg
index 2e9b68cce5..dbc17122de 100644
--- a/libraries/technology/ip_arria10_e1sg/flash/remote_update/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/flash/remote_update/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_remote_update
-hdl_library_clause_name = ip_arria10_e1sg_remote_update_altera_remote_update_151
+hdl_library_clause_name = ip_arria10_e1sg_remote_update_altera_remote_update_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/fractional_pll_clk125/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/fractional_pll_clk125/compile_ip.tcl
new file mode 100644
index 0000000000..c265887b9b
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/fractional_pll_clk125/compile_ip.tcl
@@ -0,0 +1,50 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/fractional_pll_clk125/generated/sim"
+
+vmap  altera_xcvr_fpll_a10_170              ./work/
+vmap  ip_arria10_e1sg_fractional_pll_clk125 ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/twentynm_xcvr_avmm.sv"                 -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/mentor/twentynm_xcvr_avmm.sv"          -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/alt_xcvr_resync.sv"                    -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/mentor/alt_xcvr_resync.sv"             -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/altera_xcvr_fpll_a10.sv"               -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/mentor/altera_xcvr_fpll_a10.sv"        -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/a10_avmm_h.sv"                         -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/alt_xcvr_native_avmm_nf.sv"            -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/alt_xcvr_pll_embedded_debug.sv"        -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/alt_xcvr_pll_avmm_csr.sv"              -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/mentor/alt_xcvr_pll_embedded_debug.sv" -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/mentor/alt_xcvr_pll_avmm_csr.sv"       -work altera_xcvr_fpll_a10_170             
+  vcom         "$IP_DIR/ip_arria10_e1sg_fractional_pll_clk125.vhd"                             -work ip_arria10_e1sg_fractional_pll_clk125
diff --git a/libraries/technology/ip_arria10_e1sg/fractional_pll_clk125/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/fractional_pll_clk125/hdllib.cfg
index 56be7f5e00..fabb5c422d 100644
--- a/libraries/technology/ip_arria10_e1sg/fractional_pll_clk125/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/fractional_pll_clk125/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_fractional_pll_clk125
-hdl_library_clause_name = ip_arria10_e1sg_fractional_pll_clk125_altera_xcvr_fpll_a10_151
+hdl_library_clause_name = ip_arria10_e1sg_fractional_pll_clk125_altera_xcvr_fpll_a10_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/fractional_pll_clk200/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/fractional_pll_clk200/compile_ip.tcl
new file mode 100644
index 0000000000..10c5173cec
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/fractional_pll_clk200/compile_ip.tcl
@@ -0,0 +1,50 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/fractional_pll_clk200/generated/sim"
+
+vmap  altera_xcvr_fpll_a10_170              ./work/
+vmap  ip_arria10_e1sg_fractional_pll_clk200 ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/twentynm_xcvr_avmm.sv"                 -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/mentor/twentynm_xcvr_avmm.sv"          -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/alt_xcvr_resync.sv"                    -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/mentor/alt_xcvr_resync.sv"             -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/altera_xcvr_fpll_a10.sv"               -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/mentor/altera_xcvr_fpll_a10.sv"        -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/a10_avmm_h.sv"                         -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/alt_xcvr_native_avmm_nf.sv"            -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/alt_xcvr_pll_embedded_debug.sv"        -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/alt_xcvr_pll_avmm_csr.sv"              -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/mentor/alt_xcvr_pll_embedded_debug.sv" -work altera_xcvr_fpll_a10_170             
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/mentor/alt_xcvr_pll_avmm_csr.sv"       -work altera_xcvr_fpll_a10_170             
+  vcom         "$IP_DIR/ip_arria10_e1sg_fractional_pll_clk200.vhd"                             -work ip_arria10_e1sg_fractional_pll_clk200
diff --git a/libraries/technology/ip_arria10_e1sg/fractional_pll_clk200/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/fractional_pll_clk200/hdllib.cfg
index 752ee0e48f..6234bd61e1 100644
--- a/libraries/technology/ip_arria10_e1sg/fractional_pll_clk200/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/fractional_pll_clk200/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_fractional_pll_clk200  
-hdl_library_clause_name = ip_arria10_e1sg_fractional_pll_clk200_altera_xcvr_fpll_a10_151
+hdl_library_clause_name = ip_arria10_e1sg_fractional_pll_clk200_altera_xcvr_fpll_a10_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/mac_10g/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/mac_10g/compile_ip.tcl
new file mode 100644
index 0000000000..ab612090e5
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/mac_10g/compile_ip.tcl
@@ -0,0 +1,152 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/mac_10g/generated/sim"
+
+vmap  ip_arria10_e1sg_mac_10g ./work/
+vmap  alt_em10g32_170         ./work/
+
+
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/alt_em10g32.v"                                                                         -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/alt_em10g32unit.v"                                                                     -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_clk_rst.v"                                                             -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_clock_crosser.v"                                                       -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_crc32.v"                                                               -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_crc32_gf_mult32_kc.v"                                                  -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_creg_map.v"                                                            -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_creg_top.v"                                                            -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_frm_decoder.v"                                                         -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_rs_gmii_mii_layer.v"                                                -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_pipeline_base.v"                                                       -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_reset_synchronizer.v"                                                  -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rr_clock_crosser.v"                                                    -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rst_cnt.v"                                                             -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_fctl_filter_crcpad_rem.v"                                           -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_fctl_overflow.v"                                                    -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_fctl_preamble.v"                                                    -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_frm_control.v"                                                      -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_pfc_flow_control.v"                                                 -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_pfc_pause_conversion.v"                                             -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_pkt_backpressure_control.v"                                         -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_rs_gmii16b.v"                                                       -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_rs_gmii16b_top.v"                                                   -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_rs_gmii_mii.v"                                                      -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_rs_layer.v"                                                         -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_rs_xgmii.v"                                                         -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_status_aligner.v"                                                   -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_top.v"                                                              -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_stat_mem.v"                                                            -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_stat_reg.v"                                                            -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_data_frm_gen.v"                                                     -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_srcaddr_inserter.v"                                                 -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_err_aligner.v"                                                      -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_flow_control.v"                                                     -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_frm_arbiter.v"                                                      -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_frm_muxer.v"                                                        -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_pause_beat_conversion.v"                                            -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_pause_frm_gen.v"                                                    -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_pause_req.v"                                                        -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_pfc_frm_gen.v"                                                      -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rr_buffer.v"                                                           -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_rs_gmii16b.v"                                                       -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_rs_gmii16b_top.v"                                                   -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_rs_layer.v"                                                         -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_rs_xgmii_layer.v"                                                   -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_sc_fifo.v"                                                             -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_top.v"                                                              -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_gmii_decoder.v"                                                     -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_gmii_decoder_dfa.v"                                                 -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_gmii_encoder.v"                                                     -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_gmii_encoder_dfa.v"                                                 -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_gmii_mii_decoder_if.v"                                              -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_gmii_mii_encoder_if.v"                                              -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_avalon_mm_adapter/altera_eth_avalon_mm_adapter.v"                  -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_avalon_st_adapter/altera_eth_avalon_st_adapter.v"                  -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_avalon_st_adapter/avalon_st_adapter_avalon_st_rx.v"                -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_avalon_st_adapter/avalon_st_adapter_avalon_st_tx.v"                -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_avalon_st_adapter/avalon_st_adapter.v"                             -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_avalon_st_adapter/alt_em10g32_vldpkt_rddly.v"                      -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_avalon_st_adapter/sideband_adapter_rx.v"                           -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_avalon_st_adapter/sideband_adapter_tx.v"                           -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_avalon_st_adapter/sideband_adapter.v"                              -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_avalon_st_adapter/altera_eth_sideband_crosser.v"                   -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_avalon_st_adapter/altera_eth_sideband_crosser_sync.v"              -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_xgmii_width_adaptor/alt_em10g_32_64_xgmii_conversion.v"            -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_xgmii_width_adaptor/alt_em10g_32_to_64_xgmii_conversion.v"         -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_xgmii_width_adaptor/alt_em10g_64_to_32_xgmii_conversion.v"         -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_xgmii_width_adaptor/alt_em10g_dcfifo_32_to_64_xgmii_conversion.v"  -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_xgmii_width_adaptor/alt_em10g_dcfifo_64_to_32_xgmii_conversion.v"  -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_xgmii_data_format_adapter/alt_em10g32_xgmii_32_to_64_adapter.v"    -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_xgmii_data_format_adapter/alt_em10g32_xgmii_64_to_32_adapter.v"    -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/adapters/altera_eth_xgmii_data_format_adapter/alt_em10g32_xgmii_data_format_adapter.v" -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_altsyncram_bundle.v"                                                   -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_altsyncram.v"                                                          -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_avalon_dc_fifo_lat_calc.v"                                             -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_avalon_dc_fifo_hecc.v"                                                 -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_avalon_dc_fifo_secc.v"                                                 -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_avalon_sc_fifo.v"                                                      -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_avalon_sc_fifo_hecc.v"                                                 -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_avalon_sc_fifo_secc.v"                                                 -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_ecc_dec_18_12.v"                                                       -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_ecc_dec_39_32.v"                                                       -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_ecc_enc_12_18.v"                                                       -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_ecc_enc_32_39.v"                                                       -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_rs_xgmii_layer_ultra.v"                                             -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_rs_xgmii_ultra.v"                                                   -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_avst_to_gmii_if.v"                                                     -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_gmii_to_avst_if.v"                                                     -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_gmii_tsu.v"                                                            -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_gmii16b_tsu.v"                                                         -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_lpm_mult.v"                                                            -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_ptp_aligner.v"                                                      -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_ptp_detector.v"                                                     -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_rx_ptp_top.v"                                                          -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_gmii_crc_inserter.v"                                                -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_gmii16b_crc_inserter.v"                                             -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_gmii_ptp_inserter.v"                                                -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_gmii16b_ptp_inserter.v"                                             -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_gmii16b_ptp_inserter_1g2p5g10g.v"                                   -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_ptp_processor.v"                                                    -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_ptp_top.v"                                                          -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_xgmii_crc_inserter.v"                                               -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_tx_xgmii_ptp_inserter.v"                                               -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_xgmii_tsu.v"                                                           -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_crc328generator.v"                                                     -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_crc32ctl8.v"                                                           -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_crc32galois8.v"                                                        -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_gmii_crc_inserter.v"                                                   -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_gmii16b_crc_inserter.v"                                                -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/mentor/rtl/alt_em10g32_gmii16b_crc32.v"                                                       -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/alt_em10g32_avalon_dc_fifo.v"                                                                 -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/alt_em10g32_dcfifo_synchronizer_bundle.v"                                                     -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/alt_em10g32_std_synchronizer.v"                                                               -work alt_em10g32_170        
+  vlog  "$IP_DIR/../alt_em10g32_170/sim/altera_std_synchronizer_nocut.v"                                                              -work alt_em10g32_170        
+  vcom     "$IP_DIR/ip_arria10_e1sg_mac_10g.vhd"                                                                                         -work ip_arria10_e1sg_mac_10g
diff --git a/libraries/technology/ip_arria10_e1sg/mac_10g/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/mac_10g/hdllib.cfg
index e03e0207f1..1d8158eace 100644
--- a/libraries/technology/ip_arria10_e1sg/mac_10g/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/mac_10g/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_mac_10g
-hdl_library_clause_name = ip_arria10_e1sg_mac_10g_alt_em10g32_151
+hdl_library_clause_name = ip_arria10_e1sg_mac_10g_alt_em10g32_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/mult_add4/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/mult_add4/compile_ip.tcl
new file mode 100644
index 0000000000..b1f2e646f4
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/mult_add4/compile_ip.tcl
@@ -0,0 +1,39 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/mult_add4/generated/sim"
+
+vmap  ip_arria10_e1sg_mult_add4 ./work/
+vmap  altera_mult_add_170       ./work/
+
+
+  vcom  "$IP_DIR/../altera_mult_add_170/sim/ip_arria10_e1sg_mult_add4_altera_mult_add_170_dl6xbqi.vhd" -work altera_mult_add_170      
+  vcom  "$IP_DIR/ip_arria10_e1sg_mult_add4.vhd"                                                        -work ip_arria10_e1sg_mult_add4
diff --git a/libraries/technology/ip_arria10_e1sg/phy_10gbase_r/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r/compile_ip.tcl
new file mode 100644
index 0000000000..d8f26c94c0
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r/compile_ip.tcl
@@ -0,0 +1,67 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/phy_10gbase_r/generated/sim"
+
+vmap  ip_arria10_e1sg_phy_10gbase_r ./work/
+vmap  altera_common_sv_packages     ./work/
+vmap  altera_xcvr_native_a10_170    ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_a10_functions_h.sv"                                                            -work altera_common_sv_packages    
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_resync.sv"                                                  -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_arbiter.sv"                                                 -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/alt_xcvr_resync.sv"                                           -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/alt_xcvr_arbiter.sv"                                          -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_pcs.sv"                                                     -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_pma.sv"                                                     -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_xcvr_avmm.sv"                                               -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_xcvr_native.sv"                                             -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_pcs.sv"                                              -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_pma.sv"                                              -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_xcvr_avmm.sv"                                        -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_xcvr_native.sv"                                      -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/a10_avmm_h.sv"                                                       -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_pipe_retry.sv"                                       -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_avmm_csr.sv"                                         -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_prbs_accum.sv"                                       -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_odi_accel.sv"                                        -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_rcfg_arb.sv"                                         -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_pcie_dfe_params_h.sv"                             -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_commands_h.sv"                                             -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_functions_h.sv"                                            -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_program.sv"                                                -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_cpu.sv"                                                    -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_master.sv"                                                 -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_pcie_dfe_ip.sv"                                   -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/ip_arria10_e1sg_phy_10gbase_r_altera_xcvr_native_a10_170_s7t4kxy.sv" -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_rcfg_opt_logic_s7t4kxy.sv"                           -L altera_common_sv_packages -work altera_xcvr_native_a10_170   
+  vcom         "$IP_DIR/ip_arria10_e1sg_phy_10gbase_r.vhd"                                                                                                  -work ip_arria10_e1sg_phy_10gbase_r
diff --git a/libraries/technology/ip_arria10_e1sg/phy_10gbase_r/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r/hdllib.cfg
index 74e41675d4..6c840f13a8 100644
--- a/libraries/technology/ip_arria10_e1sg/phy_10gbase_r/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_phy_10gbase_r
-hdl_library_clause_name = ip_arria10_e1sg_phy_10gbase_r_altera_xcvr_native_a10_151
+hdl_library_clause_name = ip_arria10_e1sg_phy_10gbase_r_altera_xcvr_native_a10_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_12/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_12/compile_ip.tcl
new file mode 100644
index 0000000000..31a4b8ecdf
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_12/compile_ip.tcl
@@ -0,0 +1,68 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_12/generated/sim"
+
+vmap  altera_xcvr_native_a10_170       ./work/
+vmap  altera_common_sv_packages        ./work/
+vmap  ip_arria10_e1sg_phy_10gbase_r_12 ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_a10_functions_h.sv"                                                               -work altera_common_sv_packages       
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_resync.sv"                                                     -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_arbiter.sv"                                                    -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/alt_xcvr_resync.sv"                                              -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/alt_xcvr_arbiter.sv"                                             -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_pcs.sv"                                                        -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_pma.sv"                                                        -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_xcvr_avmm.sv"                                                  -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_xcvr_native.sv"                                                -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_pcs.sv"                                                 -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_pma.sv"                                                 -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_xcvr_avmm.sv"                                           -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_xcvr_native.sv"                                         -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/a10_avmm_h.sv"                                                          -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_pipe_retry.sv"                                          -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_avmm_csr.sv"                                            -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_prbs_accum.sv"                                          -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_odi_accel.sv"                                           -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_rcfg_arb.sv"                                            -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_pcie_dfe_params_h.sv"                                -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_commands_h.sv"                                                -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_functions_h.sv"                                               -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_program.sv"                                                   -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_cpu.sv"                                                       -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_master.sv"                                                    -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_pcie_dfe_ip.sv"                                      -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/reconfig/altera_xcvr_native_a10_reconfig_parameters.sv"                 -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/ip_arria10_e1sg_phy_10gbase_r_12_altera_xcvr_native_a10_170_uyp7wca.sv" -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_rcfg_opt_logic_uyp7wca.sv"                              -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vcom         "$IP_DIR/ip_arria10_e1sg_phy_10gbase_r_12.vhd"                                                                                                  -work ip_arria10_e1sg_phy_10gbase_r_12
diff --git a/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_12/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_12/hdllib.cfg
index e234ccbd1e..fe4ed974a9 100644
--- a/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_12/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_12/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_phy_10gbase_r_12
-hdl_library_clause_name = ip_arria10_e1sg_phy_10gbase_r_12_altera_xcvr_native_a10_151
+hdl_library_clause_name = ip_arria10_e1sg_phy_10gbase_r_12_altera_xcvr_native_a10_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_24/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_24/compile_ip.tcl
new file mode 100644
index 0000000000..e9fcebe189
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_24/compile_ip.tcl
@@ -0,0 +1,68 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_24/generated/sim"
+
+vmap  altera_xcvr_native_a10_170       ./work/
+vmap  ip_arria10_e1sg_phy_10gbase_r_24 ./work/
+vmap  altera_common_sv_packages        ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_a10_functions_h.sv"                                                               -work altera_common_sv_packages       
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_resync.sv"                                                     -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_arbiter.sv"                                                    -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/alt_xcvr_resync.sv"                                              -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/alt_xcvr_arbiter.sv"                                             -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_pcs.sv"                                                        -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_pma.sv"                                                        -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_xcvr_avmm.sv"                                                  -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_xcvr_native.sv"                                                -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_pcs.sv"                                                 -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_pma.sv"                                                 -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_xcvr_avmm.sv"                                           -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_xcvr_native.sv"                                         -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/a10_avmm_h.sv"                                                          -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_pipe_retry.sv"                                          -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_avmm_csr.sv"                                            -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_prbs_accum.sv"                                          -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_odi_accel.sv"                                           -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_rcfg_arb.sv"                                            -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_pcie_dfe_params_h.sv"                                -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_commands_h.sv"                                                -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_functions_h.sv"                                               -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_program.sv"                                                   -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_cpu.sv"                                                       -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_master.sv"                                                    -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_pcie_dfe_ip.sv"                                      -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/reconfig/altera_xcvr_native_a10_reconfig_parameters.sv"                 -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/ip_arria10_e1sg_phy_10gbase_r_24_altera_xcvr_native_a10_170_edf7tdy.sv" -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_rcfg_opt_logic_edf7tdy.sv"                              -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vcom         "$IP_DIR/ip_arria10_e1sg_phy_10gbase_r_24.vhd"                                                                                                  -work ip_arria10_e1sg_phy_10gbase_r_24
diff --git a/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_24/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_24/hdllib.cfg
index 36af90e16d..b98242ff86 100644
--- a/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_24/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_24/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_phy_10gbase_r_24
-hdl_library_clause_name = ip_arria10_e1sg_phy_10gbase_r_24_altera_xcvr_native_a10_151
+hdl_library_clause_name = ip_arria10_e1sg_phy_10gbase_r_24_altera_xcvr_native_a10_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_4/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_4/compile_ip.tcl
new file mode 100644
index 0000000000..4fe8425929
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_4/compile_ip.tcl
@@ -0,0 +1,68 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_4/generated/sim"
+
+vmap  altera_xcvr_native_a10_170      ./work/
+vmap  ip_arria10_e1sg_phy_10gbase_r_4 ./work/
+vmap  altera_common_sv_packages       ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_a10_functions_h.sv"                                                              -work altera_common_sv_packages      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_resync.sv"                                                    -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_arbiter.sv"                                                   -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/alt_xcvr_resync.sv"                                             -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/alt_xcvr_arbiter.sv"                                            -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_pcs.sv"                                                       -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_pma.sv"                                                       -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_xcvr_avmm.sv"                                                 -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_xcvr_native.sv"                                               -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_pcs.sv"                                                -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_pma.sv"                                                -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_xcvr_avmm.sv"                                          -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_xcvr_native.sv"                                        -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/a10_avmm_h.sv"                                                         -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_pipe_retry.sv"                                         -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_avmm_csr.sv"                                           -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_prbs_accum.sv"                                         -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_odi_accel.sv"                                          -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_rcfg_arb.sv"                                           -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_pcie_dfe_params_h.sv"                               -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_commands_h.sv"                                               -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_functions_h.sv"                                              -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_program.sv"                                                  -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_cpu.sv"                                                      -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_master.sv"                                                   -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_pcie_dfe_ip.sv"                                     -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/reconfig/altera_xcvr_native_a10_reconfig_parameters.sv"                -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/ip_arria10_e1sg_phy_10gbase_r_4_altera_xcvr_native_a10_170_5bntvuq.sv" -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_rcfg_opt_logic_5bntvuq.sv"                             -L altera_common_sv_packages -work altera_xcvr_native_a10_170     
+  vcom         "$IP_DIR/ip_arria10_e1sg_phy_10gbase_r_4.vhd"                                                                                                  -work ip_arria10_e1sg_phy_10gbase_r_4
diff --git a/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_4/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_4/hdllib.cfg
index 680f6a3867..5bd9766c67 100644
--- a/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_4/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_4/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_phy_10gbase_r_4
-hdl_library_clause_name = ip_arria10_e1sg_phy_10gbase_r_4_altera_xcvr_native_a10_151
+hdl_library_clause_name = ip_arria10_e1sg_phy_10gbase_r_4_altera_xcvr_native_a10_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_48/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_48/compile_ip.tcl
new file mode 100644
index 0000000000..62ebc5f309
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_48/compile_ip.tcl
@@ -0,0 +1,68 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_48/generated/sim"
+
+vmap  ip_arria10_e1sg_phy_10gbase_r_48 ./work/
+vmap  altera_xcvr_native_a10_170       ./work/
+vmap  altera_common_sv_packages        ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_a10_functions_h.sv"                                                               -work altera_common_sv_packages       
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_resync.sv"                                                     -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_arbiter.sv"                                                    -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/alt_xcvr_resync.sv"                                              -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/alt_xcvr_arbiter.sv"                                             -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_pcs.sv"                                                        -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_pma.sv"                                                        -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_xcvr_avmm.sv"                                                  -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_xcvr_native.sv"                                                -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_pcs.sv"                                                 -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_pma.sv"                                                 -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_xcvr_avmm.sv"                                           -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_xcvr_native.sv"                                         -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/a10_avmm_h.sv"                                                          -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_pipe_retry.sv"                                          -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_avmm_csr.sv"                                            -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_prbs_accum.sv"                                          -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_odi_accel.sv"                                           -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_rcfg_arb.sv"                                            -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_pcie_dfe_params_h.sv"                                -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_commands_h.sv"                                                -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_functions_h.sv"                                               -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_program.sv"                                                   -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_cpu.sv"                                                       -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_master.sv"                                                    -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_pcie_dfe_ip.sv"                                      -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/reconfig/altera_xcvr_native_a10_reconfig_parameters.sv"                 -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/ip_arria10_e1sg_phy_10gbase_r_48_altera_xcvr_native_a10_170_otmjdta.sv" -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_rcfg_opt_logic_otmjdta.sv"                              -L altera_common_sv_packages -work altera_xcvr_native_a10_170      
+  vcom         "$IP_DIR/ip_arria10_e1sg_phy_10gbase_r_48.vhd"                                                                                                  -work ip_arria10_e1sg_phy_10gbase_r_48
diff --git a/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_48/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_48/hdllib.cfg
index 977dbcf2d2..885cf69d65 100644
--- a/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_48/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/phy_10gbase_r_48/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_phy_10gbase_r_48
-hdl_library_clause_name = ip_arria10_e1sg_phy_10gbase_r_48_altera_xcvr_native_a10_151
+hdl_library_clause_name = ip_arria10_e1sg_phy_10gbase_r_48_altera_xcvr_native_a10_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/pll_clk125/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/pll_clk125/compile_ip.tcl
new file mode 100644
index 0000000000..f1e8cc9651
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/pll_clk125/compile_ip.tcl
@@ -0,0 +1,39 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/pll_clk125/generated/sim"
+
+vmap  altera_iopll_170           ./work/
+vmap  ip_arria10_e1sg_pll_clk125 ./work/
+
+
+  vlog  "$IP_DIR/../altera_iopll_170/sim/ip_arria10_e1sg_pll_clk125_altera_iopll_170_3a4ewza.vo" -work altera_iopll_170          
+  vcom     "$IP_DIR/ip_arria10_e1sg_pll_clk125.vhd"                                                 -work ip_arria10_e1sg_pll_clk125
diff --git a/libraries/technology/ip_arria10_e1sg/pll_clk125/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/pll_clk125/hdllib.cfg
index 3b93d5e09c..27d139d060 100644
--- a/libraries/technology/ip_arria10_e1sg/pll_clk125/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/pll_clk125/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_pll_clk125 
-hdl_library_clause_name = ip_arria10_e1sg_pll_clk125_altera_iopll_151
+hdl_library_clause_name = ip_arria10_e1sg_pll_clk125_altera_iopll_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/pll_clk200/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/pll_clk200/compile_ip.tcl
new file mode 100644
index 0000000000..46d78c00ae
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/pll_clk200/compile_ip.tcl
@@ -0,0 +1,39 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/pll_clk200/generated/sim"
+
+vmap  altera_iopll_170           ./work/
+vmap  ip_arria10_e1sg_pll_clk200 ./work/
+
+
+  vlog  "$IP_DIR/../altera_iopll_170/sim/ip_arria10_e1sg_pll_clk200_altera_iopll_170_bqwoevq.vo" -work altera_iopll_170          
+  vcom     "$IP_DIR/ip_arria10_e1sg_pll_clk200.vhd"                                                 -work ip_arria10_e1sg_pll_clk200
diff --git a/libraries/technology/ip_arria10_e1sg/pll_clk200/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/pll_clk200/hdllib.cfg
index 99e5895ace..8354a6cd56 100644
--- a/libraries/technology/ip_arria10_e1sg/pll_clk200/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/pll_clk200/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_pll_clk200  
-hdl_library_clause_name = ip_arria10_e1sg_pll_clk200_altera_iopll_151
+hdl_library_clause_name = ip_arria10_e1sg_pll_clk200_altera_iopll_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/pll_clk25/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/pll_clk25/compile_ip.tcl
new file mode 100644
index 0000000000..f07d13f9a8
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/pll_clk25/compile_ip.tcl
@@ -0,0 +1,39 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/pll_clk25/generated/sim"
+
+vmap  altera_iopll_170          ./work/
+vmap  ip_arria10_e1sg_pll_clk25 ./work/
+
+
+  vlog  "$IP_DIR/../altera_iopll_170/sim/ip_arria10_e1sg_pll_clk25_altera_iopll_170_7lq52ua.vo" -work altera_iopll_170         
+  vcom     "$IP_DIR/ip_arria10_e1sg_pll_clk25.vhd"                                                 -work ip_arria10_e1sg_pll_clk25
diff --git a/libraries/technology/ip_arria10_e1sg/pll_clk25/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/pll_clk25/hdllib.cfg
index 63bd14dfd3..36c560f481 100644
--- a/libraries/technology/ip_arria10_e1sg/pll_clk25/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/pll_clk25/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_pll_clk25 
-hdl_library_clause_name = ip_arria10_e1sg_pll_clk25_altera_iopll_151
+hdl_library_clause_name = ip_arria10_e1sg_pll_clk25_altera_iopll_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/pll_xgmii_mac_clocks/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/pll_xgmii_mac_clocks/compile_ip.tcl
new file mode 100644
index 0000000000..5f9efe2553
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/pll_xgmii_mac_clocks/compile_ip.tcl
@@ -0,0 +1,50 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/pll_xgmii_mac_clocks/generated/sim"
+
+vmap  ip_arria10_e1sg_pll_xgmii_mac_clocks ./work/
+vmap  altera_xcvr_fpll_a10_170             ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/twentynm_xcvr_avmm.sv"                 -work altera_xcvr_fpll_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/mentor/twentynm_xcvr_avmm.sv"          -work altera_xcvr_fpll_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/alt_xcvr_resync.sv"                    -work altera_xcvr_fpll_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/mentor/alt_xcvr_resync.sv"             -work altera_xcvr_fpll_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/altera_xcvr_fpll_a10.sv"               -work altera_xcvr_fpll_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/mentor/altera_xcvr_fpll_a10.sv"        -work altera_xcvr_fpll_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/a10_avmm_h.sv"                         -work altera_xcvr_fpll_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/alt_xcvr_native_avmm_nf.sv"            -work altera_xcvr_fpll_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/alt_xcvr_pll_embedded_debug.sv"        -work altera_xcvr_fpll_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/alt_xcvr_pll_avmm_csr.sv"              -work altera_xcvr_fpll_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/mentor/alt_xcvr_pll_embedded_debug.sv" -work altera_xcvr_fpll_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_fpll_a10_170/sim/mentor/alt_xcvr_pll_avmm_csr.sv"       -work altera_xcvr_fpll_a10_170            
+  vcom         "$IP_DIR/ip_arria10_e1sg_pll_xgmii_mac_clocks.vhd"                              -work ip_arria10_e1sg_pll_xgmii_mac_clocks
diff --git a/libraries/technology/ip_arria10_e1sg/pll_xgmii_mac_clocks/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/pll_xgmii_mac_clocks/hdllib.cfg
index 3e585d9592..5ffbb76050 100644
--- a/libraries/technology/ip_arria10_e1sg/pll_xgmii_mac_clocks/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/pll_xgmii_mac_clocks/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_pll_xgmii_mac_clocks  
-hdl_library_clause_name = ip_arria10_e1sg_pll_xgmii_mac_clocks_altera_xcvr_fpll_a10_151
+hdl_library_clause_name = ip_arria10_e1sg_pll_xgmii_mac_clocks_altera_xcvr_fpll_a10_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/ram/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/ram/compile_ip.tcl
new file mode 100644
index 0000000000..6343eb8921
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/ram/compile_ip.tcl
@@ -0,0 +1,39 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/ram/generated/sim"
+
+vmap  ip_arria10_e1sg_ram_r_w ./work/
+vmap  ram_2port_170           ./work/
+
+
+  vcom  "$IP_DIR/../ram_2port_170/sim/ip_arria10_e1sg_ram_r_w_ram_2port_170_dddfrrq.vhd" -work ram_2port_170          
+  vcom  "$IP_DIR/ip_arria10_e1sg_ram_r_w.vhd"                                            -work ip_arria10_e1sg_ram_r_w
diff --git a/libraries/technology/ip_arria10_e1sg/temp_sense/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/temp_sense/compile_ip.tcl
new file mode 100644
index 0000000000..d1a9ff5c98
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/temp_sense/compile_ip.tcl
@@ -0,0 +1,39 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/temp_sense/generated/sim"
+
+vmap  altera_temp_sense_170      ./work/
+vmap  ip_arria10_e1sg_temp_sense ./work/
+
+
+  vlog  "$IP_DIR/../altera_temp_sense_170/sim/altera_temp_sense.v" -work altera_temp_sense_170     
+  vcom     "$IP_DIR/ip_arria10_e1sg_temp_sense.vhd"                   -work ip_arria10_e1sg_temp_sense
diff --git a/libraries/technology/ip_arria10_e1sg/temp_sense/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/temp_sense/hdllib.cfg
index 26d451acdf..7b8c823272 100644
--- a/libraries/technology/ip_arria10_e1sg/temp_sense/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/temp_sense/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_temp_sense 
-hdl_library_clause_name = ip_arria10_e1sg_temp_sense_altera_temp_sense_151
+hdl_library_clause_name = ip_arria10_e1sg_temp_sense_altera_temp_sense_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/transceiver_pll_10g/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/transceiver_pll_10g/compile_ip.tcl
new file mode 100644
index 0000000000..b50bf32717
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/transceiver_pll_10g/compile_ip.tcl
@@ -0,0 +1,57 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/transceiver_pll_10g/generated/sim"
+
+vmap  ip_arria10_e1sg_transceiver_pll_10g ./work/
+vmap  altera_common_sv_packages           ./work/
+vmap  altera_xcvr_atx_pll_a10_170         ./work/
+
+
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/altera_xcvr_native_a10_functions_h.sv"                                                                   -work altera_common_sv_packages          
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/twentynm_xcvr_avmm.sv"                                                      -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/mentor/twentynm_xcvr_avmm.sv"                                               -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/alt_xcvr_resync.sv"                                                         -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/alt_xcvr_arbiter.sv"                                                        -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/mentor/alt_xcvr_resync.sv"                                                  -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/mentor/alt_xcvr_arbiter.sv"                                                 -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/a10_avmm_h.sv"                                                              -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/alt_xcvr_atx_pll_rcfg_arb.sv"                                               -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/a10_xcvr_atx_pll.sv"                                                        -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/alt_xcvr_pll_embedded_debug.sv"                                             -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/alt_xcvr_pll_avmm_csr.sv"                                                   -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/mentor/alt_xcvr_atx_pll_rcfg_arb.sv"                                        -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/mentor/a10_xcvr_atx_pll.sv"                                                 -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/mentor/alt_xcvr_pll_embedded_debug.sv"                                      -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/mentor/alt_xcvr_pll_avmm_csr.sv"                                            -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/ip_arria10_e1sg_transceiver_pll_10g_altera_xcvr_atx_pll_a10_170_3gt7q7a.sv" -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vlog -sv  {"+incdir+$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/reconfig/"} "$IP_DIR/../altera_xcvr_atx_pll_a10_170/sim/alt_xcvr_atx_pll_rcfg_opt_logic_3gt7q7a.sv"                                 -L altera_common_sv_packages -work altera_xcvr_atx_pll_a10_170        
+  vcom                                                                               "$IP_DIR/ip_arria10_e1sg_transceiver_pll_10g.vhd"                                                                                                    -work ip_arria10_e1sg_transceiver_pll_10g
diff --git a/libraries/technology/ip_arria10_e1sg/transceiver_pll_10g/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/transceiver_pll_10g/hdllib.cfg
index f893840116..4fc3cf835e 100644
--- a/libraries/technology/ip_arria10_e1sg/transceiver_pll_10g/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/transceiver_pll_10g/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_transceiver_pll_10g
-hdl_library_clause_name = ip_arria10_e1sg_transceiver_pll_10g_altera_xcvr_atx_pll_a10_151
+hdl_library_clause_name = ip_arria10_e1sg_transceiver_pll_10g_altera_xcvr_atx_pll_a10_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_1/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_1/compile_ip.tcl
new file mode 100644
index 0000000000..4a5da10cc8
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_1/compile_ip.tcl
@@ -0,0 +1,46 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_1/generated/sim"
+
+vmap  ip_arria10_e1sg_transceiver_reset_controller_1 ./work/
+vmap  altera_xcvr_reset_control_170                  ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/altera_xcvr_functions.sv"            -work altera_xcvr_reset_control_170                 
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/altera_xcvr_functions.sv"     -work altera_xcvr_reset_control_170                 
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/alt_xcvr_resync.sv"                  -work altera_xcvr_reset_control_170                 
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/alt_xcvr_resync.sv"           -work altera_xcvr_reset_control_170                 
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/altera_xcvr_reset_control.sv"        -work altera_xcvr_reset_control_170                 
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/alt_xcvr_reset_counter.sv"           -work altera_xcvr_reset_control_170                 
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/altera_xcvr_reset_control.sv" -work altera_xcvr_reset_control_170                 
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/alt_xcvr_reset_counter.sv"    -work altera_xcvr_reset_control_170                 
+  vcom         "$IP_DIR/ip_arria10_e1sg_transceiver_reset_controller_1.vhd"                       -work ip_arria10_e1sg_transceiver_reset_controller_1
diff --git a/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_1/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_1/hdllib.cfg
index 130feaaeb9..b4ed24e8fb 100644
--- a/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_1/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_1/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_transceiver_reset_controller_1
-hdl_library_clause_name = ip_arria10_e1sg_transceiver_reset_controller_1_altera_xcvr_reset_control_151
+hdl_library_clause_name = ip_arria10_e1sg_transceiver_reset_controller_1_altera_xcvr_reset_control_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_12/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_12/compile_ip.tcl
new file mode 100644
index 0000000000..5cb1f82a1d
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_12/compile_ip.tcl
@@ -0,0 +1,46 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_12/generated/sim"
+
+vmap  altera_xcvr_reset_control_170                   ./work/
+vmap  ip_arria10_e1sg_transceiver_reset_controller_12 ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/altera_xcvr_functions.sv"            -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/altera_xcvr_functions.sv"     -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/alt_xcvr_resync.sv"                  -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/alt_xcvr_resync.sv"           -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/altera_xcvr_reset_control.sv"        -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/alt_xcvr_reset_counter.sv"           -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/altera_xcvr_reset_control.sv" -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/alt_xcvr_reset_counter.sv"    -work altera_xcvr_reset_control_170                  
+  vcom         "$IP_DIR/ip_arria10_e1sg_transceiver_reset_controller_12.vhd"                      -work ip_arria10_e1sg_transceiver_reset_controller_12
diff --git a/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_12/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_12/hdllib.cfg
index fa572fc2d5..95fa7b95d3 100644
--- a/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_12/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_12/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_transceiver_reset_controller_12
-hdl_library_clause_name = ip_arria10_e1sg_transceiver_reset_controller_12_altera_xcvr_reset_control_151
+hdl_library_clause_name = ip_arria10_e1sg_transceiver_reset_controller_12_altera_xcvr_reset_control_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_24/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_24/compile_ip.tcl
new file mode 100644
index 0000000000..02ab0f4ebf
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_24/compile_ip.tcl
@@ -0,0 +1,46 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_24/generated/sim"
+
+vmap  altera_xcvr_reset_control_170                   ./work/
+vmap  ip_arria10_e1sg_transceiver_reset_controller_24 ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/altera_xcvr_functions.sv"            -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/altera_xcvr_functions.sv"     -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/alt_xcvr_resync.sv"                  -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/alt_xcvr_resync.sv"           -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/altera_xcvr_reset_control.sv"        -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/alt_xcvr_reset_counter.sv"           -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/altera_xcvr_reset_control.sv" -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/alt_xcvr_reset_counter.sv"    -work altera_xcvr_reset_control_170                  
+  vcom         "$IP_DIR/ip_arria10_e1sg_transceiver_reset_controller_24.vhd"                      -work ip_arria10_e1sg_transceiver_reset_controller_24
diff --git a/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_24/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_24/hdllib.cfg
index 47c738e840..edcc1db84e 100644
--- a/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_24/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_24/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_transceiver_reset_controller_24
-hdl_library_clause_name = ip_arria10_e1sg_transceiver_reset_controller_24_altera_xcvr_reset_control_151
+hdl_library_clause_name = ip_arria10_e1sg_transceiver_reset_controller_24_altera_xcvr_reset_control_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_4/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_4/compile_ip.tcl
new file mode 100644
index 0000000000..fc9acd4d40
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_4/compile_ip.tcl
@@ -0,0 +1,46 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_4/generated/sim"
+
+vmap  ip_arria10_e1sg_transceiver_reset_controller_4 ./work/
+vmap  altera_xcvr_reset_control_170                  ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/altera_xcvr_functions.sv"            -work altera_xcvr_reset_control_170                 
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/altera_xcvr_functions.sv"     -work altera_xcvr_reset_control_170                 
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/alt_xcvr_resync.sv"                  -work altera_xcvr_reset_control_170                 
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/alt_xcvr_resync.sv"           -work altera_xcvr_reset_control_170                 
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/altera_xcvr_reset_control.sv"        -work altera_xcvr_reset_control_170                 
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/alt_xcvr_reset_counter.sv"           -work altera_xcvr_reset_control_170                 
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/altera_xcvr_reset_control.sv" -work altera_xcvr_reset_control_170                 
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/alt_xcvr_reset_counter.sv"    -work altera_xcvr_reset_control_170                 
+  vcom         "$IP_DIR/ip_arria10_e1sg_transceiver_reset_controller_4.vhd"                       -work ip_arria10_e1sg_transceiver_reset_controller_4
diff --git a/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_4/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_4/hdllib.cfg
index e1a30e6660..8e5a0b5fe3 100644
--- a/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_4/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_4/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_transceiver_reset_controller_4
-hdl_library_clause_name = ip_arria10_e1sg_transceiver_reset_controller_4_altera_xcvr_reset_control_151
+hdl_library_clause_name = ip_arria10_e1sg_transceiver_reset_controller_4_altera_xcvr_reset_control_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_48/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_48/compile_ip.tcl
new file mode 100644
index 0000000000..15697051bb
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_48/compile_ip.tcl
@@ -0,0 +1,46 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_48/generated/sim"
+
+vmap  altera_xcvr_reset_control_170                   ./work/
+vmap  ip_arria10_e1sg_transceiver_reset_controller_48 ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/altera_xcvr_functions.sv"            -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/altera_xcvr_functions.sv"     -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/alt_xcvr_resync.sv"                  -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/alt_xcvr_resync.sv"           -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/altera_xcvr_reset_control.sv"        -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/alt_xcvr_reset_counter.sv"           -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/altera_xcvr_reset_control.sv" -work altera_xcvr_reset_control_170                  
+  vlog -sv  "$IP_DIR/../altera_xcvr_reset_control_170/sim/mentor/alt_xcvr_reset_counter.sv"    -work altera_xcvr_reset_control_170                  
+  vcom         "$IP_DIR/ip_arria10_e1sg_transceiver_reset_controller_48.vhd"                      -work ip_arria10_e1sg_transceiver_reset_controller_48
diff --git a/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_48/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_48/hdllib.cfg
index ded13eeaff..70912eb470 100644
--- a/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_48/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/transceiver_reset_controller_48/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_transceiver_reset_controller_48
-hdl_library_clause_name = ip_arria10_e1sg_transceiver_reset_controller_48_altera_xcvr_reset_control_151
+hdl_library_clause_name = ip_arria10_e1sg_transceiver_reset_controller_48_altera_xcvr_reset_control_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/tse_sgmii_gx/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/tse_sgmii_gx/compile_ip.tcl
new file mode 100644
index 0000000000..6a99c5951c
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/tse_sgmii_gx/compile_ip.tcl
@@ -0,0 +1,270 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/tse_sgmii_gx/generated/sim"
+
+vmap  altera_xcvr_native_a10_170             ./work/
+vmap  altera_eth_tse_170                     ./work/
+vmap  altera_eth_tse_mac_170                 ./work/
+vmap  altera_reset_controller_170            ./work/
+vmap  altera_eth_tse_nf_phyip_terminator_170 ./work/
+vmap  altera_eth_tse_avalon_arbiter_170      ./work/
+vmap  altera_common_sv_packages              ./work/
+vmap  altera_eth_tse_pcs_pma_nf_phyip_170    ./work/
+vmap  ip_arria10_e1sg_tse_sgmii_gx           ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_a10_functions_h.sv"                                                           -work altera_common_sv_packages             
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_eth_tse_mac.v"                                                                         -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_clk_cntl.v"                                                                        -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_crc328checker.v"                                                                   -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_crc328generator.v"                                                                 -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_crc32ctl8.v"                                                                       -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_crc32galois8.v"                                                                    -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_gmii_io.v"                                                                         -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_lb_read_cntl.v"                                                                    -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_lb_wrt_cntl.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_hashing.v"                                                                         -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_host_control.v"                                                                    -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_host_control_small.v"                                                              -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_mac_control.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_register_map.v"                                                                    -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_register_map_small.v"                                                              -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rx_counter_cntl.v"                                                                 -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_shared_mac_control.v"                                                              -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_shared_register_map.v"                                                             -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_counter_cntl.v"                                                                 -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_lfsr_10.v"                                                                         -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_loopback_ff.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_altshifttaps.v"                                                                    -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_fifoless_mac_rx.v"                                                                 -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_mac_rx.v"                                                                          -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_fifoless_mac_tx.v"                                                                 -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_mac_tx.v"                                                                          -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_magic_detection.v"                                                                 -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_mdio.v"                                                                            -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_mdio_clk_gen.v"                                                                    -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_mdio_cntl.v"                                                                       -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_top_mdio.v"                                                                        -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_mii_rx_if.v"                                                                       -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_mii_tx_if.v"                                                                       -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_pipeline_base.v"                                                                   -work altera_eth_tse_mac_170                
+  vlog -sv  "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_pipeline_stage.sv"                                    -L altera_common_sv_packages -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_dpram_16x32.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_dpram_8x32.v"                                                                      -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_dpram_ecc_16x32.v"                                                                 -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_fifoless_retransmit_cntl.v"                                                        -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_retransmit_cntl.v"                                                                 -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rgmii_in1.v"                                                                       -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rgmii_in4.v"                                                                       -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_nf_rgmii_module.v"                                                                 -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rgmii_module.v"                                                                    -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rgmii_out1.v"                                                                      -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rgmii_out4.v"                                                                      -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rx_ff.v"                                                                           -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rx_min_ff.v"                                                                       -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rx_ff_cntrl.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rx_ff_cntrl_32.v"                                                                  -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rx_ff_cntrl_32_shift16.v"                                                          -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rx_ff_length.v"                                                                    -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rx_stat_extract.v"                                                                 -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_timing_adapter32.v"                                                                -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_timing_adapter8.v"                                                                 -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_timing_adapter_fifo32.v"                                                           -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_timing_adapter_fifo8.v"                                                            -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_top_1geth.v"                                                                       -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_top_fifoless_1geth.v"                                                              -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_top_w_fifo.v"                                                                      -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_top_w_fifo_10_100_1000.v"                                                          -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_top_wo_fifo.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_top_wo_fifo_10_100_1000.v"                                                         -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_top_gen_host.v"                                                                    -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_ff.v"                                                                           -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_min_ff.v"                                                                       -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_ff_cntrl.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_ff_cntrl_32.v"                                                                  -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_ff_cntrl_32_shift16.v"                                                          -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_ff_length.v"                                                                    -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_ff_read_cntl.v"                                                                 -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_stat_extract.v"                                                                 -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_eth_tse_std_synchronizer.v"                                                            -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_eth_tse_std_synchronizer_bundle.v"                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_eth_tse_ptp_std_synchronizer.v"                                                        -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_false_path_marker.v"                                                               -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_reset_synchronizer.v"                                                              -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_clock_crosser.v"                                                                   -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_a_fifo_13.v"                                                                       -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_a_fifo_24.v"                                                                       -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_a_fifo_34.v"                                                                       -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_a_fifo_opt_1246.v"                                                                 -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_a_fifo_opt_14_44.v"                                                                -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_a_fifo_opt_36_10.v"                                                                -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_gray_cnt.v"                                                                        -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_sdpm_altsyncram.v"                                                                 -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_altsyncram_dpm_fifo.v"                                                             -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_bin_cnt.v"                                                                         -work altera_eth_tse_mac_170                
+  vlog -sv  "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ph_calculator.sv"                                     -L altera_common_sv_packages -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_sdpm_gen.v"                                                                        -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_dec_x10.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x10.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x10_wrapper.v"                                                             -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_dec_x14.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x14.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x14_wrapper.v"                                                             -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_dec_x2.v"                                                                      -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x2.v"                                                                      -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x2_wrapper.v"                                                              -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_dec_x23.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x23.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x23_wrapper.v"                                                             -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_dec_x36.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x36.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x36_wrapper.v"                                                             -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_dec_x40.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x40.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x40_wrapper.v"                                                             -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_dec_x30.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x30.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x30_wrapper.v"                                                             -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_status_crosser.v"                                                              -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/altera_std_synchronizer_nocut.v"                                                                     -work altera_eth_tse_mac_170                
+  vlog      "$IP_DIR/../altera_eth_tse_avalon_arbiter_170/sim/mentor/altera_eth_tse_avalon_arbiter.v"                                                   -work altera_eth_tse_avalon_arbiter_170     
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_eth_tse_pcs_pma_nf_phyip.v"                                               -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_align_sync.v"                                                         -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_dec10b8b.v"                                                           -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_dec_func.v"                                                           -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_enc8b10b.v"                                                           -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_top_autoneg.v"                                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_carrier_sense.v"                                                      -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_clk_gen.v"                                                            -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_sgmii_clk_div.v"                                                      -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_sgmii_clk_enable.v"                                                   -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_rx_encapsulation.v"                                                   -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_tx_encapsulation.v"                                                   -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_rx_encapsulation_strx_gx.v"                                           -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_pcs_control.v"                                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_pcs_host_control.v"                                                   -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_mdio_reg.v"                                                           -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_mii_rx_if_pcs.v"                                                      -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_mii_tx_if_pcs.v"                                                      -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_rx_sync.v"                                                            -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_sgmii_clk_cntl.v"                                                     -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_colision_detect.v"                                                    -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_rx_converter.v"                                                       -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_rx_fifo_rd.v"                                                         -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_top_rx_converter.v"                                                   -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_top_sgmii.v"                                                          -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_top_sgmii_strx_gx.v"                                                  -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_top_tx_converter.v"                                                   -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_tx_converter.v"                                                       -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_top_1000_base_x.v"                                                    -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_top_1000_base_x_strx_gx.v"                                            -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_top_pcs.v"                                                            -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_top_pcs_strx_gx.v"                                                    -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_top_rx.v"                                                             -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_top_tx.v"                                                             -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog -sv  "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_reset_sequencer.sv"                      -L altera_common_sv_packages -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog -sv  "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_reset_ctrl_lego.sv"                      -L altera_common_sv_packages -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_xcvr_resync.v"                                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_gxb_aligned_rxsync.v"                                                 -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_eth_tse_std_synchronizer.v"                                               -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_eth_tse_std_synchronizer_bundle.v"                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_eth_tse_ptp_std_synchronizer.v"                                           -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_false_path_marker.v"                                                  -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_reset_synchronizer.v"                                                 -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_clock_crosser.v"                                                      -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_a_fifo_13.v"                                                          -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_a_fifo_24.v"                                                          -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_a_fifo_34.v"                                                          -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_a_fifo_opt_1246.v"                                                    -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_a_fifo_opt_14_44.v"                                                   -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_a_fifo_opt_36_10.v"                                                   -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_gray_cnt.v"                                                           -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_sdpm_altsyncram.v"                                                    -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_altsyncram_dpm_fifo.v"                                                -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_bin_cnt.v"                                                            -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog -sv  "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ph_calculator.sv"                        -L altera_common_sv_packages -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_sdpm_gen.v"                                                           -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_dec_x10.v"                                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_enc_x10.v"                                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_enc_x10_wrapper.v"                                                -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_dec_x14.v"                                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_enc_x14.v"                                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_enc_x14_wrapper.v"                                                -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_dec_x2.v"                                                         -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_enc_x2.v"                                                         -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_enc_x2_wrapper.v"                                                 -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_dec_x23.v"                                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_enc_x23.v"                                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_enc_x23_wrapper.v"                                                -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_dec_x36.v"                                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_enc_x36.v"                                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_enc_x36_wrapper.v"                                                -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_dec_x40.v"                                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_enc_x40.v"                                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_enc_x40_wrapper.v"                                                -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_dec_x30.v"                                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_enc_x30.v"                                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_enc_x30_wrapper.v"                                                -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/mentor/altera_tse_ecc_status_crosser.v"                                                 -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_phyip_170/sim/altera_std_synchronizer_nocut.v"                                                        -work altera_eth_tse_pcs_pma_nf_phyip_170   
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_resync.sv"                                                 -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_arbiter.sv"                                                -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/alt_xcvr_resync.sv"                                          -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/alt_xcvr_arbiter.sv"                                         -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_pcs.sv"                                                    -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_pma.sv"                                                    -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_xcvr_avmm.sv"                                              -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/twentynm_xcvr_native.sv"                                            -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_pcs.sv"                                             -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_pma.sv"                                             -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_xcvr_avmm.sv"                                       -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/mentor/twentynm_xcvr_native.sv"                                     -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/a10_avmm_h.sv"                                                      -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_pipe_retry.sv"                                      -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_avmm_csr.sv"                                        -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_prbs_accum.sv"                                      -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_odi_accel.sv"                                       -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_rcfg_arb.sv"                                        -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_pcie_dfe_params_h.sv"                            -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_commands_h.sv"                                            -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_functions_h.sv"                                           -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_program.sv"                                               -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_cpu.sv"                                                   -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/pcie_mgmt_master.sv"                                                -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/altera_xcvr_native_pcie_dfe_ip.sv"                                  -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/ip_arria10_e1sg_tse_sgmii_gx_altera_xcvr_native_a10_170_q6y47ey.sv" -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog -sv  "$IP_DIR/../altera_xcvr_native_a10_170/sim/alt_xcvr_native_rcfg_opt_logic_q6y47ey.sv"                          -L altera_common_sv_packages -work altera_xcvr_native_a10_170            
+  vlog      "$IP_DIR/../altera_eth_tse_nf_phyip_terminator_170/sim/mentor/altera_eth_tse_nf_phyip_terminator.v"                                         -work altera_eth_tse_nf_phyip_terminator_170
+  vlog      "$IP_DIR/../altera_reset_controller_170/sim/mentor/altera_reset_controller.v"                                                               -work altera_reset_controller_170           
+  vlog      "$IP_DIR/../altera_reset_controller_170/sim/mentor/altera_reset_synchronizer.v"                                                             -work altera_reset_controller_170           
+  vcom         "$IP_DIR/../altera_eth_tse_170/sim/ip_arria10_e1sg_tse_sgmii_gx_altera_eth_tse_170_bs6nd6i.vhd"                                             -work altera_eth_tse_170                    
+  vcom         "$IP_DIR/ip_arria10_e1sg_tse_sgmii_gx.vhd"                                                                                                  -work ip_arria10_e1sg_tse_sgmii_gx          
diff --git a/libraries/technology/ip_arria10_e1sg/tse_sgmii_gx/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/tse_sgmii_gx/hdllib.cfg
index b1b572504b..97f2f18647 100644
--- a/libraries/technology/ip_arria10_e1sg/tse_sgmii_gx/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/tse_sgmii_gx/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_tse_sgmii_gx
-hdl_library_clause_name = ip_arria10_e1sg_tse_sgmii_gx_altera_eth_tse_151
+hdl_library_clause_name = ip_arria10_e1sg_tse_sgmii_gx_altera_eth_tse_170
 hdl_lib_uses_synth = common
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
diff --git a/libraries/technology/ip_arria10_e1sg/tse_sgmii_lvds/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/tse_sgmii_lvds/compile_ip.tcl
new file mode 100644
index 0000000000..60279e5ca1
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/tse_sgmii_lvds/compile_ip.tcl
@@ -0,0 +1,256 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/tse_sgmii_lvds/generated/sim"
+
+vmap  altera_reset_controller_170           ./work/
+vmap  altera_eth_tse_pcs_pma_nf_lvds_170    ./work/
+vmap  altera_eth_tse_mac_170                ./work/
+vmap  altera_eth_tse_nf_lvds_terminator_170 ./work/
+vmap  altera_eth_tse_170                    ./work/
+vmap  ip_arria10_e1sg_tse_sgmii_lvds        ./work/
+vmap  altera_lvds_core20_170                ./work/
+vmap  altera_eth_tse_avalon_arbiter_170     ./work/
+vmap  altera_lvds_170                       ./work/
+
+
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_eth_tse_mac.v"                                        -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_clk_cntl.v"                                       -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_crc328checker.v"                                  -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_crc328generator.v"                                -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_crc32ctl8.v"                                      -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_crc32galois8.v"                                   -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_gmii_io.v"                                        -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_lb_read_cntl.v"                                   -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_lb_wrt_cntl.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_hashing.v"                                        -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_host_control.v"                                   -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_host_control_small.v"                             -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_mac_control.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_register_map.v"                                   -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_register_map_small.v"                             -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rx_counter_cntl.v"                                -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_shared_mac_control.v"                             -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_shared_register_map.v"                            -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_counter_cntl.v"                                -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_lfsr_10.v"                                        -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_loopback_ff.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_altshifttaps.v"                                   -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_fifoless_mac_rx.v"                                -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_mac_rx.v"                                         -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_fifoless_mac_tx.v"                                -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_mac_tx.v"                                         -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_magic_detection.v"                                -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_mdio.v"                                           -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_mdio_clk_gen.v"                                   -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_mdio_cntl.v"                                      -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_top_mdio.v"                                       -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_mii_rx_if.v"                                      -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_mii_tx_if.v"                                      -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_pipeline_base.v"                                  -work altera_eth_tse_mac_170               
+  vlog -sv  "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_pipeline_stage.sv"                                -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_dpram_16x32.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_dpram_8x32.v"                                     -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_dpram_ecc_16x32.v"                                -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_fifoless_retransmit_cntl.v"                       -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_retransmit_cntl.v"                                -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rgmii_in1.v"                                      -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rgmii_in4.v"                                      -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_nf_rgmii_module.v"                                -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rgmii_module.v"                                   -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rgmii_out1.v"                                     -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rgmii_out4.v"                                     -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rx_ff.v"                                          -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rx_min_ff.v"                                      -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rx_ff_cntrl.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rx_ff_cntrl_32.v"                                 -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rx_ff_cntrl_32_shift16.v"                         -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rx_ff_length.v"                                   -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_rx_stat_extract.v"                                -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_timing_adapter32.v"                               -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_timing_adapter8.v"                                -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_timing_adapter_fifo32.v"                          -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_timing_adapter_fifo8.v"                           -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_top_1geth.v"                                      -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_top_fifoless_1geth.v"                             -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_top_w_fifo.v"                                     -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_top_w_fifo_10_100_1000.v"                         -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_top_wo_fifo.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_top_wo_fifo_10_100_1000.v"                        -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_top_gen_host.v"                                   -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_ff.v"                                          -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_min_ff.v"                                      -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_ff_cntrl.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_ff_cntrl_32.v"                                 -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_ff_cntrl_32_shift16.v"                         -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_ff_length.v"                                   -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_ff_read_cntl.v"                                -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_tx_stat_extract.v"                                -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_eth_tse_std_synchronizer.v"                           -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_eth_tse_std_synchronizer_bundle.v"                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_eth_tse_ptp_std_synchronizer.v"                       -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_false_path_marker.v"                              -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_reset_synchronizer.v"                             -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_clock_crosser.v"                                  -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_a_fifo_13.v"                                      -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_a_fifo_24.v"                                      -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_a_fifo_34.v"                                      -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_a_fifo_opt_1246.v"                                -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_a_fifo_opt_14_44.v"                               -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_a_fifo_opt_36_10.v"                               -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_gray_cnt.v"                                       -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_sdpm_altsyncram.v"                                -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_altsyncram_dpm_fifo.v"                            -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_bin_cnt.v"                                        -work altera_eth_tse_mac_170               
+  vlog -sv  "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ph_calculator.sv"                                 -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_sdpm_gen.v"                                       -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_dec_x10.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x10.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x10_wrapper.v"                            -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_dec_x14.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x14.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x14_wrapper.v"                            -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_dec_x2.v"                                     -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x2.v"                                     -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x2_wrapper.v"                             -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_dec_x23.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x23.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x23_wrapper.v"                            -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_dec_x36.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x36.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x36_wrapper.v"                            -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_dec_x40.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x40.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x40_wrapper.v"                            -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_dec_x30.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x30.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_enc_x30_wrapper.v"                            -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/mentor/altera_tse_ecc_status_crosser.v"                             -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_mac_170/sim/altera_std_synchronizer_nocut.v"                                    -work altera_eth_tse_mac_170               
+  vlog      "$IP_DIR/../altera_eth_tse_avalon_arbiter_170/sim/mentor/altera_eth_tse_avalon_arbiter.v"                  -work altera_eth_tse_avalon_arbiter_170    
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_eth_tse_pcs_pma_nf_lvds.v"                -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_align_sync.v"                         -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_dec10b8b.v"                           -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_dec_func.v"                           -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_enc8b10b.v"                           -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_top_autoneg.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_carrier_sense.v"                      -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_clk_gen.v"                            -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_sgmii_clk_div.v"                      -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_sgmii_clk_enable.v"                   -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_rx_encapsulation.v"                   -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_tx_encapsulation.v"                   -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_rx_encapsulation_strx_gx.v"           -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_pcs_control.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_pcs_host_control.v"                   -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_mdio_reg.v"                           -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_mii_rx_if_pcs.v"                      -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_mii_tx_if_pcs.v"                      -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_rx_sync.v"                            -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_sgmii_clk_cntl.v"                     -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_colision_detect.v"                    -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_rx_converter.v"                       -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_rx_fifo_rd.v"                         -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_top_rx_converter.v"                   -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_top_sgmii.v"                          -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_top_sgmii_strx_gx.v"                  -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_top_tx_converter.v"                   -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_tx_converter.v"                       -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_top_1000_base_x.v"                    -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_top_1000_base_x_strx_gx.v"            -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_top_pcs.v"                            -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_top_pcs_strx_gx.v"                    -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_top_rx.v"                             -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_top_tx.v"                             -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_lvds_reset_sequencer.v"               -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_lvds_reverse_loopback.v"              -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_pma_lvds_rx_av.v"                     -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_pma_lvds_rx.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_pma_lvds_tx.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_eth_tse_std_synchronizer.v"               -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_eth_tse_std_synchronizer_bundle.v"        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_eth_tse_ptp_std_synchronizer.v"           -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_false_path_marker.v"                  -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_reset_synchronizer.v"                 -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_clock_crosser.v"                      -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_a_fifo_13.v"                          -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_a_fifo_24.v"                          -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_a_fifo_34.v"                          -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_a_fifo_opt_1246.v"                    -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_a_fifo_opt_14_44.v"                   -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_a_fifo_opt_36_10.v"                   -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_gray_cnt.v"                           -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_sdpm_altsyncram.v"                    -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_altsyncram_dpm_fifo.v"                -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_bin_cnt.v"                            -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog -sv  "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ph_calculator.sv"                     -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_sdpm_gen.v"                           -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_dec_x10.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_enc_x10.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_enc_x10_wrapper.v"                -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_dec_x14.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_enc_x14.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_enc_x14_wrapper.v"                -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_dec_x2.v"                         -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_enc_x2.v"                         -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_enc_x2_wrapper.v"                 -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_dec_x23.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_enc_x23.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_enc_x23_wrapper.v"                -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_dec_x36.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_enc_x36.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_enc_x36_wrapper.v"                -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_dec_x40.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_enc_x40.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_enc_x40_wrapper.v"                -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_dec_x30.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_enc_x30.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_enc_x30_wrapper.v"                -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/mentor/altera_tse_ecc_status_crosser.v"                 -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog      "$IP_DIR/../altera_eth_tse_pcs_pma_nf_lvds_170/sim/altera_std_synchronizer_nocut.v"                        -work altera_eth_tse_pcs_pma_nf_lvds_170   
+  vlog -sv  "$IP_DIR/../altera_lvds_core20_170/sim/mentor/altera_lvds_core20.sv"                                       -work altera_lvds_core20_170               
+  vlog      "$IP_DIR/../altera_lvds_core20_170/sim/mentor/altera_lvds_core20_pll.v"                                    -work altera_lvds_core20_170               
+  vcom         "$IP_DIR/../altera_lvds_core20_170/sim/ip_arria10_e1sg_tse_sgmii_lvds_altera_lvds_core20_170_qagiwoa.vhd"  -work altera_lvds_core20_170               
+  vcom         "$IP_DIR/../altera_lvds_170/sim/ip_arria10_e1sg_tse_sgmii_lvds_altera_lvds_170_m5pqrlq.vhd"                -work altera_lvds_170                      
+  vlog -sv  "$IP_DIR/../altera_lvds_core20_170/sim/mentor/altera_lvds_core20.sv"                                       -work altera_lvds_core20_170               
+  vlog      "$IP_DIR/../altera_lvds_core20_170/sim/mentor/altera_lvds_core20_pll.v"                                    -work altera_lvds_core20_170               
+  vcom         "$IP_DIR/../altera_lvds_core20_170/sim/ip_arria10_e1sg_tse_sgmii_lvds_altera_lvds_core20_170_o4ldvbi.vhd"  -work altera_lvds_core20_170               
+  vcom         "$IP_DIR/../altera_lvds_170/sim/ip_arria10_e1sg_tse_sgmii_lvds_altera_lvds_170_o42lhkq.vhd"                -work altera_lvds_170                      
+  vlog      "$IP_DIR/../altera_eth_tse_nf_lvds_terminator_170/sim/mentor/altera_eth_tse_std_synchronizer.v"            -work altera_eth_tse_nf_lvds_terminator_170
+  vlog      "$IP_DIR/../altera_eth_tse_nf_lvds_terminator_170/sim/mentor/altera_eth_tse_nf_lvds_terminator.v"          -work altera_eth_tse_nf_lvds_terminator_170
+  vlog      "$IP_DIR/../altera_eth_tse_nf_lvds_terminator_170/sim/mentor/altera_tse_reset_synchronizer.v"              -work altera_eth_tse_nf_lvds_terminator_170
+  vlog      "$IP_DIR/../altera_eth_tse_nf_lvds_terminator_170/sim/mentor/altera_tse_nf_lvds_channel_reset_sequencer.v" -work altera_eth_tse_nf_lvds_terminator_170
+  vlog      "$IP_DIR/../altera_eth_tse_nf_lvds_terminator_170/sim/mentor/altera_tse_nf_lvds_common_reset_sequencer.v"  -work altera_eth_tse_nf_lvds_terminator_170
+  vlog      "$IP_DIR/../altera_eth_tse_nf_lvds_terminator_170/sim/altera_std_synchronizer_nocut.v"                     -work altera_eth_tse_nf_lvds_terminator_170
+  vlog      "$IP_DIR/../altera_reset_controller_170/sim/mentor/altera_reset_controller.v"                              -work altera_reset_controller_170          
+  vlog      "$IP_DIR/../altera_reset_controller_170/sim/mentor/altera_reset_synchronizer.v"                            -work altera_reset_controller_170          
+  vcom         "$IP_DIR/../altera_eth_tse_170/sim/ip_arria10_e1sg_tse_sgmii_lvds_altera_eth_tse_170_kv2t7sq.vhd"          -work altera_eth_tse_170                   
+  vcom         "$IP_DIR/ip_arria10_e1sg_tse_sgmii_lvds.vhd"                                                               -work ip_arria10_e1sg_tse_sgmii_lvds       
diff --git a/libraries/technology/ip_arria10_e1sg/tse_sgmii_lvds/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/tse_sgmii_lvds/hdllib.cfg
index 8b7150fdc0..0446456620 100644
--- a/libraries/technology/ip_arria10_e1sg/tse_sgmii_lvds/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/tse_sgmii_lvds/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_tse_sgmii_lvds
-hdl_library_clause_name = ip_arria10_e1sg_tse_sgmii_lvds_altera_eth_tse_151
+hdl_library_clause_name = ip_arria10_e1sg_tse_sgmii_lvds_altera_eth_tse_170
 hdl_lib_uses_synth = common
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
@@ -12,7 +12,7 @@ test_bench_files =
 
 [modelsim_project_file]
 modelsim_compile_ip_files =
-    $RADIOHDL/libraries/technology/ip_arria10/tse_sgmii_lvds/compile_ip.tcl
+    $RADIOHDL/libraries/technology/ip_arria10_e1sg/tse_sgmii_lvds/compile_ip.tcl
 
 
 [quartus_project_file]
diff --git a/libraries/technology/ip_arria10_e1sg/voltage_sense/compile_ip.tcl b/libraries/technology/ip_arria10_e1sg/voltage_sense/compile_ip.tcl
new file mode 100644
index 0000000000..74b7f80f17
--- /dev/null
+++ b/libraries/technology/ip_arria10_e1sg/voltage_sense/compile_ip.tcl
@@ -0,0 +1,47 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (C) 2017
+# 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.
+
+#vlib ./work/         ;# Assume library work already exist                                                                                        
+
+
+set IP_DIR   "$env(RADIOHDL)/libraries/technology/ip_arria10_e1sg/voltage_sense/generated/sim"
+
+vmap  ip_arria10_e1sg_voltage_sense          ./work/
+vmap  altera_voltage_sensor_170              ./work/
+vmap  altera_voltage_sensor_control_170      ./work/
+vmap  altera_voltage_sensor_sample_store_170 ./work/
+
+
+  vlog -sv  "$IP_DIR/../altera_voltage_sensor_control_170/sim/mentor/altera_voltage_sensor_control.sv"                     -work altera_voltage_sensor_control_170     
+  vlog -sv  "$IP_DIR/../altera_voltage_sensor_control_170/sim/mentor/voltage_sensor_avalon_controlr.sv"                    -work altera_voltage_sensor_control_170     
+  vlog -sv  "$IP_DIR/../altera_voltage_sensor_control_170/sim/mentor/voltage_sensor_wrapper.sv"                            -work altera_voltage_sensor_control_170     
+  vlog -sv  "$IP_DIR/../altera_voltage_sensor_sample_store_170/sim/mentor/altera_voltage_sensor_sample_store.sv"           -work altera_voltage_sensor_sample_store_170
+  vlog -sv  "$IP_DIR/../altera_voltage_sensor_sample_store_170/sim/mentor/altera_voltage_sensor_sample_store_ram.sv"       -work altera_voltage_sensor_sample_store_170
+  vlog -sv  "$IP_DIR/../altera_voltage_sensor_sample_store_170/sim/mentor/altera_voltage_sensor_sample_store_register.sv"  -work altera_voltage_sensor_sample_store_170
+  vcom         "$IP_DIR/../altera_voltage_sensor_170/sim/ip_arria10_e1sg_voltage_sense_altera_voltage_sensor_170_hjr63vq.vhd" -work altera_voltage_sensor_170             
+  vcom         "$IP_DIR/ip_arria10_e1sg_voltage_sense.vhd"                                                                    -work ip_arria10_e1sg_voltage_sense         
diff --git a/libraries/technology/ip_arria10_e1sg/voltage_sense/hdllib.cfg b/libraries/technology/ip_arria10_e1sg/voltage_sense/hdllib.cfg
index 4cd22866aa..fb423817ca 100644
--- a/libraries/technology/ip_arria10_e1sg/voltage_sense/hdllib.cfg
+++ b/libraries/technology/ip_arria10_e1sg/voltage_sense/hdllib.cfg
@@ -1,5 +1,5 @@
 hdl_lib_name = ip_arria10_e1sg_voltage_sense 
-hdl_library_clause_name = ip_arria10_e1sg_voltage_sense_altera_voltage_sense_151
+hdl_library_clause_name = ip_arria10_e1sg_voltage_sense_altera_voltage_sense_170
 hdl_lib_uses_synth = 
 hdl_lib_uses_sim = 
 hdl_lib_technology = ip_arria10_e1sg
-- 
GitLab