From 069a72ceab6e0e59b6eeeff767f5b513dcc60159 Mon Sep 17 00:00:00 2001 From: Staf Verhaegen Date: Tue, 10 Dec 2019 21:16:00 +0100 Subject: [PATCH] Moved function definitions before component definitions in pkg. --- c4m/vhdl/jtag/c4m_jtag_pkg.vhdl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/c4m/vhdl/jtag/c4m_jtag_pkg.vhdl b/c4m/vhdl/jtag/c4m_jtag_pkg.vhdl index 0fc0749..8bf4908 100644 --- a/c4m/vhdl/jtag/c4m_jtag_pkg.vhdl +++ b/c4m/vhdl/jtag/c4m_jtag_pkg.vhdl @@ -28,6 +28,11 @@ package c4m_jtag is SR_Shift -- Shift the BD SR ); + function c4m_jtag_cmd_idcode(width: integer) return std_logic_vector; + function c4m_jtag_cmd_bypass(width: integer) return std_logic_vector; + function c4m_jtag_cmd_samplepreload(width: integer) return std_logic_vector; + function c4m_jtag_cmd_extest(width: integer) return std_logic_vector; + component c4m_jtag_tap_fsm is port ( -- The TAP signals @@ -187,11 +192,6 @@ package c4m_jtag is PAD_OUT: out std_logic_vector(IOS-1 downto 0) ); end component c4m_jtag_tap_controller; - - function c4m_jtag_cmd_idcode(width: integer) return std_logic_vector; - function c4m_jtag_cmd_bypass(width: integer) return std_logic_vector; - function c4m_jtag_cmd_samplepreload(width: integer) return std_logic_vector; - function c4m_jtag_cmd_extest(width: integer) return std_logic_vector; end c4m_jtag; package body c4m_jtag is -- 2.30.2