https://github.com/philb/etherz/blob/3ca7b9411d00c6988850fc0e14c2f2ca511c0b90/fpga/ide.v#L166 After the "endcase" there appears to be missing "end" without which the "if's" corresponding "end" does not match up.
etherz/fpga/ide.v
Line 166 in 3ca7b94
After the "endcase" there appears to be missing "end" without which the "if's" corresponding "end" does not match up.