Don't use tri-state logic for TDO; introduce TDO_EN signal to indicate when TDO is...
[c4m-jtag.git] / rtl / vhdl / c4m_jtag_pkg.vhdl
index 87771f208ec2bcf2d2fbcf17350b489295ea2376..e009d23b02c0325f9072de6b361cd4a5b9acf0b2 100644 (file)
@@ -52,6 +52,7 @@ package c4m_jtag is
       TCK:      in std_logic;
       TDI:      in std_logic;
       TDO:      out std_logic;
+      TDO_EN:   out std_logic;
     
       -- JTAG state
       STATE:    in TAPSTATE_TYPE;
@@ -76,6 +77,7 @@ package c4m_jtag is
       TCK:      in std_logic;
       TDI:      in std_logic;
       TDO:      out std_logic;
+      TDO_EN:   out std_logic;
 
       -- JTAG state
       STATE:    in TAPSTATE_TYPE;
@@ -120,6 +122,7 @@ package c4m_jtag is
       TCK:      in std_logic;
       TDI:      in std_logic;
       TDO:      out std_logic;
+      TDO_EN:   out std_logic;
 
       -- JTAG state
       STATE:    in TAPSTATE_TYPE;
@@ -154,6 +157,7 @@ package c4m_jtag is
       TMS:      in std_logic;
       TDI:      in std_logic;
       TDO:      out std_logic;
+      TDO_EN:   out std_logic;
       TRST_N:   in std_logic;
 
       -- The FSM state indicators