Memory compilers are necessary tools to boost the design procedure of digital circuits. However, only a few are available to academia. Not only this, but conventional memories suffer of volatility, high power consumption, high write voltage and low endurance. Resistive Random Access Memory (RRAM) seems to be a potential candidate of future digital memories, as it is characterised by high density, high speed and non volatility. To the best of the authors' knowledge, this paper presents the first open source RRAM Compiler for automatic memory generation, verification and timing characterisation. The RRAM compiler is written with Cadence SKILL programming language and is integrated in Cadence Virtuoso and Innovus environment. The verification procedure takes place in Siemens Mentor Calibre tool. A novel RRAM architecture is presented and its peripheral circuits are explained. Additionally, this paper analyses the results of a plethora of M x N RRAMs generated by the compiler, up to M = 128, N = 64 and word size B = 16 bits, for clock frequency equal to 12.5 MHz. Finally, the compiler achieves density of up to 0.024 Mb/mm 2 for a 180 nm technology.