X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fperipherals%2Fjtagdtm%2Fjtagdtm.bsv;h=3bb63a369e42a7111d643969ee494ad910cf2cca;hb=90cb1d56952f77a0d6830f2ddf67640ca51e0d61;hp=cf5ae696181fd44dd54c052ef434ad806a94daa0;hpb=d48d22ca2b5e297e1b727dc5d626521ffc70bef8;p=shakti-peripherals.git 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);