Skip to content
Snippets Groups Projects
Select Git revision
  • 3ce0994a75c20a875a219759370d53eb74a04a7c
  • master default protected
  • L2SS-2407-swap-iers-caltable-monitoring-port
  • L2SS-2357-fix-ruff
  • sync-up-with-meta-pypcc
  • stabilise-landing-page
  • all-stations-lofar2
  • v0.39.7-backports
  • Move-sdptr-to-v1.5.0
  • fix-build-ubuntu
  • tokens-in-env-files
  • fix-build
  • L2SS-2214-deploy-cdb
  • fix-missing-init
  • add-power-hardware-apply
  • L2SS-2129-Add-Subrack-Routine
  • Also-listen-internal-to-rpc
  • fix-build-dind
  • L2SS-2153--Improve-Error-Handling
  • L2SS-2153-Add-Grpc-Gateway-support
  • L2SS-1970-apsct-lol
  • v0.55.5 protected
  • v0.55.4 protected
  • 0.55.2.dev0
  • 0.55.1.dev0
  • 0.55.0.dev0
  • v0.54.0 protected
  • 0.53.2.dev0
  • 0.53.1.dev0
  • v0.52.3-r2 protected
  • remove-snmp-client
  • v0.52.3 protected
  • v0.52.3dev0 protected
  • 0.53.1dev0
  • v0.52.2-rc3 protected
  • v0.52.2-rc2 protected
  • v0.52.2-rc1 protected
  • v0.52.1.1 protected
  • v0.52.1 protected
  • v0.52.1-rc1 protected
  • v0.51.9-6 protected
41 results

jupyter.yml

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    tech_pll_clk200.vhd 3.21 KiB
    -------------------------------------------------------------------------------
    --
    -- Copyright (C) 2014
    -- ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.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/>.
    --
    -------------------------------------------------------------------------------
    
    LIBRARY ieee, technology_lib;
    USE ieee.std_logic_1164.all;
    USE work.tech_pll_component_pkg.ALL;
    USE technology_lib.technology_pkg.ALL;
    USE technology_lib.technology_select_pkg.ALL;
    
    -- Declare IP libraries to ensure default binding in simulation. The IP library clause is ignored by synthesis.
    LIBRARY ip_stratixiv_pll_lib;
    LIBRARY ip_arria10_pll_clk200_altera_iopll_150;
    LIBRARY ip_arria10_e3sge3_pll_clk200_altera_iopll_151;
    LIBRARY ip_arria10_e1sg_pll_clk200_altera_iopll_170;
    
    ENTITY tech_pll_clk200 IS
      GENERIC (
        g_technology       : NATURAL := c_tech_select_default;
        g_operation_mode   : STRING := "NORMAL";   -- or "SOURCE_SYNCHRONOUS" --> requires PLL_COMPENSATE assignment to an input pin to compensate for (stratixiv)
        g_clk0_phase_shift : STRING := "0";
        g_clk1_phase_shift : STRING := "0"
      );
      PORT (
        areset  : IN STD_LOGIC  := '0';
        inclk0  : IN STD_LOGIC  := '0';
        c0      : OUT STD_LOGIC ;
        c1      : OUT STD_LOGIC ;
        c2      : OUT STD_LOGIC ;
        locked  : OUT STD_LOGIC 
      );
    END tech_pll_clk200;
    
    ARCHITECTURE str OF tech_pll_clk200 IS
    
    BEGIN
    
      gen_ip_stratixiv : IF g_technology=c_tech_stratixiv GENERATE
        u0 : ip_stratixiv_pll_clk200
        GENERIC MAP (g_operation_mode, g_clk0_phase_shift, g_clk1_phase_shift)
        PORT MAP (areset, inclk0, c0, c1, c2, locked);
      END GENERATE;
      
      gen_ip_arria10 : IF g_technology=c_tech_arria10 GENERATE
        u0 : ip_arria10_pll_clk200
        PORT MAP (
          rst      => areset, 
          refclk   => inclk0, 
          outclk_0 => c0, 
          outclk_1 => c1, 
          outclk_2 => c2, 
          locked   => locked
        );
      END GENERATE;
    
      gen_ip_arria10_e3sge3 : IF g_technology=c_tech_arria10_e3sge3 GENERATE
        u0 : ip_arria10_e3sge3_pll_clk200
        PORT MAP (
          rst      => areset, 
          refclk   => inclk0, 
          outclk_0 => c0, 
          outclk_1 => c1, 
          outclk_2 => c2, 
          locked   => locked
        );
      END GENERATE;
    
      gen_ip_arria10_e1sg : IF g_technology=c_tech_arria10_e1sg GENERATE
        u0 : ip_arria10_e1sg_pll_clk200
        PORT MAP (
          rst      => areset, 
          refclk   => inclk0, 
          outclk_0 => c0, 
          outclk_1 => c1, 
          outclk_2 => c2, 
          locked   => locked
        );
      END GENERATE;
    
    END ARCHITECTURE;