A Monolithic Stochastic Computing Architecture for Energy and Area E�cient Arithmetic