+ def extfastifinstance(self, name, count):
+ # YUK!
+ print "jtag", name, count
+ return """\
+ method Action tms_i(Bit#(1) tms);
+ {0}.tms_i(tms);
+ endmethod
+ method Action tdi_i(Bit#(1) tdi);
+ {0}.tdi_i(tdi);
+ endmethod
+ method Action bs_chain_i(Bit#(1) bs_chain);
+ {0}.bs_chain_i(bs_chain);
+ endmethod
+ method Bit#(1) shiftBscan2Edge={0}.shiftBscan2Edge;
+ method Bit#(1) selectJtagInput={0}.selectJtagInput;
+ method Bit#(1) selectJtagOutput={0}.selectJtagOutput;
+ method Bit#(1) updateBscan={0}.updateBscan;
+ method Bit#(1) bscan_in={0}.bscan_in;
+ method Bit#(1) scan_shift_en={0}.scan_shift_en;
+ method Bit#(1) tdo={0}.tdo;
+ method Bit#(1) tdo_oe={0}.tdo_oe;
+""".format(self.name, count)
+
+
+