OpenFPGA/openfpga_flow/SpiceNetlists/sram.sp

11 lines
365 B
SourcePawn
Raw Normal View History

2018-07-26 12:28:21 -05:00
* Sub Circuit
* SRAM
* Input to force write the stored bit
.subckt sram6T in out outb svdd sgnd size=1
Xinv0 loop_out loop_outb svdd sgnd inv size=size
Xinv1 loop_outb loop_out svdd sgnd inv size=size
Xout_pt loop_out out svdd sgnd svdd sgnd cpt nmos_size='size' pmos_size='size*beta'
Xoutb_pt loop_outb outb svdd sgnd svdd sgnd cpt
Rin in loop_out 0
.eom sram6T