SDN works with a data plane and a control plane. To set up a control plane, you can install a controller like Onos or OpenDayLight on a x86 architecture.
Though, if you want a data plane to work with controllers, you will need to use hardware switch supporting Openflow. You can also simulate a topology using network simulator like mininet or ofnet. This section gives a few details about these technologies.