I have found reram in sky130B . So I can draw a rectangle and use paint reram command in magic to get one. But there is a doubt regarding taking connections. Is it like, from one side of reram I connect a metal 1 layer through via and and on the other side I connect metal2 through via? Please give suggestions.