Working version with the connections implemented in a net level. We have to add the multiple connections in the logical blocks