| 
					
	
	
	
	
				 | 
				
					 
				This post was updated on .
			 
	
	
		I"m getting a comparison failure at line 7. I had written out a logic table consisting of
  columns : input, sec[0], sec[1],  a, b, c, d
  and 8 rows (4 x 0 , 4 x 1's ) .
  I feel like my code should work, but I can't seem to find the error. Any suggestions?
  Thank you. 
 
 
 
  EDIT: So the fact that hardware reads from left to right, is an important part I missed.
 And it solved my problem. 
	
	
	
	 
				 |