Design of biomimetic circuits