Low-error and broadband microwave frequency measurement in a silicon chip