From 685543eb6fb3dfedb711e154620bb9d04121a206 Mon Sep 17 00:00:00 2001
From: Erik Kooistra <kooistra@astron.nl>
Date: Tue, 30 Sep 2014 06:40:26 +0000
Subject: [PATCH] Declare IP library at top of file to ease human recognition.

---
 .../transceiver/tech_transceiver_gx_stratixiv.vhd           | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libraries/technology/transceiver/tech_transceiver_gx_stratixiv.vhd b/libraries/technology/transceiver/tech_transceiver_gx_stratixiv.vhd
index 38f46e9c42..5e4c146c2a 100644
--- a/libraries/technology/transceiver/tech_transceiver_gx_stratixiv.vhd
+++ b/libraries/technology/transceiver/tech_transceiver_gx_stratixiv.vhd
@@ -20,6 +20,9 @@
 --
 --------------------------------------------------------------------------------
 
+-- Declare IP libraries to ensure default binding in simulation. The IP library clause is ignored by synthesis.
+LIBRARY ip_stratixiv_lib;
+
 LIBRARY IEEE, common_lib, dp_lib;
 USE IEEE.STD_LOGIC_1164.ALL;
 USE IEEE.STD_LOGIC_UNSIGNED.ALL;
@@ -27,9 +30,6 @@ USE work.tech_transceiver_component_pkg.ALL;
 USE common_lib.common_pkg.ALL;
 USE dp_lib.dp_stream_pkg.ALL;
 
--- Declare IP libraries to ensure default binding in simulation. The IP library clause is ignored by synthesis.
-LIBRARY ip_stratixiv_lib;
-
 ENTITY tech_transceiver_gx_stratix_iv IS 
   GENERIC(
     g_data_w                : NATURAL := 32; -- Supported: 32, 16.
-- 
GitLab