tdo_oe is actually tms
[shakti-peripherals.git] / src / peripherals / jtagdtm / jtagdtm.bsv
index cf5ae696181fd44dd54c052ef434ad806a94daa0..3bb63a369e42a7111d643969ee494ad910cf2cca 100644 (file)
@@ -78,7 +78,6 @@ interface Ifc_jtagdtm;
        /*======= JTAG Output Pins ====== */
        (*always_enabled,always_ready*)
     interface Get#(Bit#(1)) tdo;
-       method Bit#(1) tdo_oe;
        (*always_enabled,always_ready*)
     interface Get#(Bit#(1)) tck;
 
@@ -565,7 +564,7 @@ typedef enum {TestLogicReset = 4'h0,  RunTestIdle    = 4'h1,  SelectDRScan   = 4
        /*======= JTAG Output Pins ====== */
     interface tck = interface Get
         method ActionValue#(Bit#(1)) get;
-          return 'b1; //#def_clk;
+          return ((tapstate == ShiftIR) || (tapstate == ShiftDR))?1:0;
         endmethod
     endinterface;
 
@@ -576,7 +575,6 @@ typedef enum {TestLogicReset = 4'h0,  RunTestIdle    = 4'h1,  SelectDRScan   = 4
     endinterface;
 
        method debug_tdo = wr_tdi;
-       method Bit#(1) tdo_oe = ((tapstate == ShiftIR) || (tapstate == ShiftDR))?1:0;
        method Action response_from_dm(Bit#(34) responsedm) if(response_from_DM.notFull);
                if(capture_repsonse_from_dm)
                        response_from_DM.enq(responsedm);