From 3eb322c4023786ef345e4ad75869fbb36692f81c Mon Sep 17 00:00:00 2001 From: Reinier van der Walle <walle@astron.nl> Date: Fri, 13 Jan 2023 09:29:51 +0100 Subject: [PATCH] Removed modelsim error by excluding the remote_update and asmi_parallel in VHDL --- libraries/technology/flash/hdllib.cfg | 10 +++++----- .../technology/flash/tech_flash_asmi_parallel.vhd | 2 +- .../technology/flash/tech_flash_remote_update.vhd | 4 ++-- .../altera_asmi_parallel_1910/hdllib.cfg | 1 + .../altera_remote_update_1910/compile_ip.tcl | 2 +- .../altera_remote_update_1910/hdllib.cfg | 1 + .../altera_remote_update_core_1910/compile_ip.tcl | 2 +- .../ip_arria10_e2sg/flash/asmi_parallel/compile_ip.tcl | 7 ++----- .../ip_arria10_e2sg/flash/asmi_parallel/hdllib.cfg | 4 +--- .../ip_arria10_e2sg/flash/remote_update/hdllib.cfg | 4 +--- 10 files changed, 16 insertions(+), 21 deletions(-) diff --git a/libraries/technology/flash/hdllib.cfg b/libraries/technology/flash/hdllib.cfg index e3bf434a4c..f7306aac16 100644 --- a/libraries/technology/flash/hdllib.cfg +++ b/libraries/technology/flash/hdllib.cfg @@ -7,9 +7,9 @@ hdl_lib_uses_synth = technology ip_arria10_e3sge3_asmi_parallel ip_arria10_e3sge3_remote_update ip_arria10_e1sg_asmi_parallel # modelsim crashes when asmi_parallel ip is used(segmentation violation) - ip_arria10_e1sg_remote_update - ip_arria10_e2sg_asmi_parallel - ip_arria10_e2sg_remote_update + ip_arria10_e1sg_remote_update # modelsim crashes when asmi_parallel ip is used(segmentation violation) + ip_arria10_e2sg_asmi_parallel # modelsim crashes when asmi_parallel ip is used(segmentation violation) + ip_arria10_e2sg_remote_update # modelsim crashes when asmi_parallel ip is used(segmentation violation) hdl_lib_uses_sim = hdl_lib_technology = hdl_lib_disclose_library_clause_names = @@ -26,8 +26,8 @@ hdl_lib_disclose_library_clause_names = synth_files = tech_flash_component_pkg.vhd - tech_flash_asmi_parallel.vhd #e1sg component is not instantiated in simulation - tech_flash_remote_update.vhd + tech_flash_asmi_parallel.vhd #e1sg,e2sg component is not instantiated in simulation + tech_flash_remote_update.vhd #e1sg,e2sg component is not instantiated in simulation test_bench_files = diff --git a/libraries/technology/flash/tech_flash_asmi_parallel.vhd b/libraries/technology/flash/tech_flash_asmi_parallel.vhd index b91e7ee92f..7a0431e7b1 100644 --- a/libraries/technology/flash/tech_flash_asmi_parallel.vhd +++ b/libraries/technology/flash/tech_flash_asmi_parallel.vhd @@ -32,7 +32,7 @@ LIBRARY ip_stratixiv_flash_lib; LIBRARY ip_arria10_asmi_parallel_altera_asmi_parallel_150; LIBRARY ip_arria10_e3sge3_asmi_parallel_altera_asmi_parallel_151; --LIBRARY ip_arria10_e1sg_asmi_parallel_altera_asmi_parallel_180; -LIBRARY ip_arria10_e2sg_asmi_parallel_altera_asmi_parallel_1910; +--LIBRARY ip_arria10_e2sg_asmi_parallel_altera_asmi_parallel_1910; ENTITY tech_flash_asmi_parallel IS GENERIC ( diff --git a/libraries/technology/flash/tech_flash_remote_update.vhd b/libraries/technology/flash/tech_flash_remote_update.vhd index e30a5affdb..4d097ce383 100644 --- a/libraries/technology/flash/tech_flash_remote_update.vhd +++ b/libraries/technology/flash/tech_flash_remote_update.vhd @@ -31,8 +31,8 @@ USE technology_lib.technology_select_pkg.ALL; LIBRARY ip_stratixiv_flash_lib; LIBRARY ip_arria10_remote_update_altera_remote_update_150; LIBRARY ip_arria10_e3sge3_remote_update_altera_remote_update_151; -LIBRARY ip_arria10_e1sg_remote_update_altera_remote_update_180; -LIBRARY ip_arria10_e2sg_remote_update_altera_remote_update_1910; +--LIBRARY ip_arria10_e1sg_remote_update_altera_remote_update_180; +--LIBRARY ip_arria10_e2sg_remote_update_altera_remote_update_1910; ENTITY tech_flash_remote_update IS GENERIC ( diff --git a/libraries/technology/ip_arria10_e2sg/altera_libraries/altera_asmi_parallel_1910/hdllib.cfg b/libraries/technology/ip_arria10_e2sg/altera_libraries/altera_asmi_parallel_1910/hdllib.cfg index b55caa82d6..e12f81a5e5 100644 --- a/libraries/technology/ip_arria10_e2sg/altera_libraries/altera_asmi_parallel_1910/hdllib.cfg +++ b/libraries/technology/ip_arria10_e2sg/altera_libraries/altera_asmi_parallel_1910/hdllib.cfg @@ -1,4 +1,5 @@ hdl_lib_name = ip_arria10_e2sg_altera_asmi_parallel_1910 +# Note, this library causes modelsim to crash! hdl_library_clause_name = altera_asmi_parallel_1910 hdl_lib_uses_synth = hdl_lib_uses_sim = diff --git a/libraries/technology/ip_arria10_e2sg/altera_libraries/altera_remote_update_1910/compile_ip.tcl b/libraries/technology/ip_arria10_e2sg/altera_libraries/altera_remote_update_1910/compile_ip.tcl index 9b124aeee4..13a78195a9 100644 --- a/libraries/technology/ip_arria10_e2sg/altera_libraries/altera_remote_update_1910/compile_ip.tcl +++ b/libraries/technology/ip_arria10_e2sg/altera_libraries/altera_remote_update_1910/compile_ip.tcl @@ -26,7 +26,7 @@ # - 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 +vlib ./work/ ;# Assume library work already exist set IP_DIR "$env(HDL_BUILD_DIR)/$env(BUILDSET)/qsys-generate/ip_arria10_e2sg_remote_update/sim" diff --git a/libraries/technology/ip_arria10_e2sg/altera_libraries/altera_remote_update_1910/hdllib.cfg b/libraries/technology/ip_arria10_e2sg/altera_libraries/altera_remote_update_1910/hdllib.cfg index 83a19e1b24..428e6c1871 100644 --- a/libraries/technology/ip_arria10_e2sg/altera_libraries/altera_remote_update_1910/hdllib.cfg +++ b/libraries/technology/ip_arria10_e2sg/altera_libraries/altera_remote_update_1910/hdllib.cfg @@ -1,4 +1,5 @@ hdl_lib_name = ip_arria10_e2sg_altera_remote_update_1910 +# Note, this library causes modelsim to crash! hdl_library_clause_name = altera_remote_update_1910 hdl_lib_uses_synth = hdl_lib_uses_sim = ip_arria10_e2sg_altera_remote_update_core_1910 diff --git a/libraries/technology/ip_arria10_e2sg/altera_libraries/altera_remote_update_core_1910/compile_ip.tcl b/libraries/technology/ip_arria10_e2sg/altera_libraries/altera_remote_update_core_1910/compile_ip.tcl index 41bea969d2..006a7835bf 100644 --- a/libraries/technology/ip_arria10_e2sg/altera_libraries/altera_remote_update_core_1910/compile_ip.tcl +++ b/libraries/technology/ip_arria10_e2sg/altera_libraries/altera_remote_update_core_1910/compile_ip.tcl @@ -26,7 +26,7 @@ # - 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 +vlib ./work/ ;# Assume library work already exist set IP_DIR "$env(HDL_BUILD_DIR)/$env(BUILDSET)/qsys-generate/ip_arria10_e2sg_remote_update/sim" diff --git a/libraries/technology/ip_arria10_e2sg/flash/asmi_parallel/compile_ip.tcl b/libraries/technology/ip_arria10_e2sg/flash/asmi_parallel/compile_ip.tcl index d14407ec43..1ce4968f35 100644 --- a/libraries/technology/ip_arria10_e2sg/flash/asmi_parallel/compile_ip.tcl +++ b/libraries/technology/ip_arria10_e2sg/flash/asmi_parallel/compile_ip.tcl @@ -26,10 +26,7 @@ # - 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 - +#vlib ./work/ ;# Assume library work already exist set IP_DIR "$env(HDL_BUILD_DIR)/$env(BUILDSET)/qsys-generate/ip_arria10_e2sg_asmi_parallel/sim" - - - vcom "$IP_DIR/ip_arria10_e2sg_asmi_parallel.vhd" + vcom "$IP_DIR/ip_arria10_e2sg_asmi_parallel.vhd" diff --git a/libraries/technology/ip_arria10_e2sg/flash/asmi_parallel/hdllib.cfg b/libraries/technology/ip_arria10_e2sg/flash/asmi_parallel/hdllib.cfg index 474a468c1e..07ae00fb58 100644 --- a/libraries/technology/ip_arria10_e2sg/flash/asmi_parallel/hdllib.cfg +++ b/libraries/technology/ip_arria10_e2sg/flash/asmi_parallel/hdllib.cfg @@ -1,9 +1,7 @@ hdl_lib_name = ip_arria10_e2sg_asmi_parallel hdl_library_clause_name = ip_arria10_e2sg_asmi_parallel_altera_asmi_parallel_1910 hdl_lib_uses_synth = -hdl_lib_uses_sim = -# Do not use this simulation library: it causes Modelsim to crash: -#ip_arria10_e2sg_altera_asmi_parallel_1910 +hdl_lib_uses_sim = ip_arria10_e2sg_altera_asmi_parallel_1910 hdl_lib_technology = ip_arria10_e2sg synth_files = diff --git a/libraries/technology/ip_arria10_e2sg/flash/remote_update/hdllib.cfg b/libraries/technology/ip_arria10_e2sg/flash/remote_update/hdllib.cfg index d699858547..662398ca5c 100644 --- a/libraries/technology/ip_arria10_e2sg/flash/remote_update/hdllib.cfg +++ b/libraries/technology/ip_arria10_e2sg/flash/remote_update/hdllib.cfg @@ -1,9 +1,7 @@ hdl_lib_name = ip_arria10_e2sg_remote_update hdl_library_clause_name = ip_arria10_e2sg_remote_update_altera_remote_update_1910 hdl_lib_uses_synth = -hdl_lib_uses_sim = -# Do not use this simulation library: it causes Modelsim to crash: -#ip_arria10_e2sg_altera_remote_update_1910 +hdl_lib_uses_sim = ip_arria10_e2sg_altera_remote_update_1910 hdl_lib_technology = ip_arria10_e2sg synth_files = -- GitLab