Quantcast
Channel: Cadence Community
Viewing all articles
Browse latest Browse all 3331

Sram read operation using switches (SMOD) in pspice

$
0
0

Hello all,


Here is my code for SRAM for read operation implemented using switches, can anyone help me where I went wrong in the code, I am gettig both BL and BLB as high when i am trying to read a value of 1, which is stored in Q.

I have initialized the conditions required for the read operation . i.e., I want to read a value of 1 so i have initialized Q as 1 and QR as 0. and for the read operation to take place both the bitlines have been initialized to 1.

Please help me . I am stuck


*source
vdd vdd 0 dc 2

CBL BL 0 1pf 
CBLB BLB 0 1pf 

*initial conditions stored for read operation
.ic v(Q)=1
.ic v(QR)=0


.ic v(bl)=1
.ic v(blb)=1 

*access control
vwl wl 0 pulse(0 2 4m 100u 100u 5m 6m)

*transistors used for latching
sw7 QR 0 Q 0 smod2

sw8 QR vdd Q vdd smod1

sw9 Q 0 QR 0 smod2

sw10 Q vdd QR vdd smod1


*transistors used for data access
sw11 bl Q wl 0 smod2
sw12 blb QR wl 0 smod2

.tran 10m 100m uic 
.probe
.MODEL Smod1 VSWITCH(Ron=1000 Roff=1 Von=1V Voff=0.5V)
.MODEL Smod2 VSWITCH(Ron=1 Roff=1000 Von=1V Voff=0.5V)
.end

 i have attached the figureused for writing the netlist. 

 


Viewing all articles
Browse latest Browse all 3331

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>