Brane tilings for parallelograms with application to homological mirror symmetry