5732 - MachXO2: Is there a way to determine the status of the JTAGENB pin from within the device using RTL?

5732 - MachXO2: Is there a way to determine the status of the JTAGENB pin from within the device using RTL?

There is no way to detect the JTAGENB using verilog/VHDL, this function acts as a switch to enable and disable the state of JTAG.
In the Primitives List in the help options, the JTAGF - a primitive, is used to provide access to internal JTAG signals from within the FPGA fabric. It is the closest command code that can be used to access JTAG in the fabric.