An Approach for Embedded Software Generation Based in Declarative Alloy Models