Please complete this task as part of your GSoC 2018 application when applying for any Python related task.
This challenge is mandatory if you apply for .
Implement the JTAG state engine as Python class in such way that it is simple to advance to an arbitrary state and shift data and instruction in and out.
Assume a generic interface for TDI, TDO, TCK and TMS.
# Create a simple C/C++ console application using the development environment of your choice