// Howdy 👋.
//
// This is where you can create powerful part automations like resistors that tell you when too much current is flowing through them
// You can also create your own flexible parts, like generics (https://docs.flux.ai/Introduction/generic-parts)
//
// If you are new to writing code in Flux make sure to check out our get started docs: https://docs.flux.ai/reference/introduction
//
// We also have a Flux Slack Community in case you need help: https://join.slack.com/t/fluxcommunity/shared_invite/zt-p48n941f-wzQ06kGmuFJ2HXnGYT1JkA
//
// To infinity and beyond 🚀
// Sumador hexadecimal
// Entradas
input A0, A1, A2, A3, B0, B1, B2, B3;
// Puertas AND
AND A0ANDB0(S0, A0, B0);
AND A1ANDB1(S1, A1, B1);
AND A2ANDB2(S2, A2, B2);
AND A3ANDB3(S3, A3, B3);
// Puerta OR