From: Luke Kenneth Casson Leighton Date: Mon, 30 Jul 2018 09:18:32 +0000 (+0100) Subject: tdo_oe is actually tms X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90cb1d56952f77a0d6830f2ddf67640ca51e0d61;p=shakti-peripherals.git tdo_oe is actually tms --- diff --git a/src/peripherals/jtagdtm/jtagdtm.bsv b/src/peripherals/jtagdtm/jtagdtm.bsv index cf5ae69..3bb63a3 100644 --- a/src/peripherals/jtagdtm/jtagdtm.bsv +++ b/src/peripherals/jtagdtm/jtagdtm.bsv @@ -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);