Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int saidaMux(int dec,int reset, int enable, int clock,int old_clock, int mul,int valor_registrador)
- {
- int valor = 0;
- if((!old_clock)&&(clock))
- {
- if(enable)
- {
- if(reset)
- {
- return valor;
- }
- else if(dec==mul)
- {
- valor = valor_registrador;
- return valor;
- }
- }
- else
- {
- valor = 0;
- return valor;
- }
- }
- else
- {
- return valor;
- }
- }
Add Comment
Please, Sign In to add comment