To get real qualia and sentience and all of that, it has to be an evolved solution to a real problem.  I can give you the adaptive evolutionary algorithm that works at large scale, but It's really hard to imagine presenting it with a problem to which the correct solution is our kind of intelligence and consciousness.  After all, we were one of millions of solutions to our problem.  What distinguishes the problem that human intelligence solves from the problem that cat intelligence solves?