In the file https://github.com/ntmoore/phys332_fall21/blob/main/11_4_vary_brightness.v
Lines 23, 26, 30 are written a C/Java style == logical tests. Could we also write these as boolean operations? eg
What about something like
if( ~ctr[3] & ~ctr[3] & ~ctr[3] & ~ctr[3] )
???
In the file https://github.com/ntmoore/phys332_fall21/blob/main/11_4_vary_brightness.v
Lines 23, 26, 30 are written a C/Java style == logical tests. Could we also write these as boolean operations? eg
What about something like
if( ~ctr[3] & ~ctr[3] & ~ctr[3] & ~ctr[3] )???