MiSTer-devel / Life_MiSTer

Conway's Game of Life for MiSTer
MIT License
7 stars 2 forks source link

The line that implements HighLife in Life.sv is giving a syntax error due to unbalanced parentheses #4

Open ajgowans opened 3 years ago

ajgowans commented 3 years ago

The line that implements HighLife in Life.sv is giving a syntax error due to unbalanced parentheses.

The correct implementation for HighLife is:

output_pixel <= status[3] ? r2p2 : (neighbor_count | r2p2) == 4'd3 || neighbor_count == 4'd6 & ~r2p2;

Raising on behalf of user here: https://misterfpga.org/viewtopic.php?p=27345#p27345