Generating an array in .sp file for Synopsis Hspice

parminder

Member level 2
Joined
Mar 1, 2022
Messages
53
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
380
Hi, i have created 6t sram cell subckt in hspice, now i want to use that subckt to create the 64*64 array. is there any way to do it or i have to call the cell subckt 4096 times?? .I am new to hspice, please help with this.
 

my first question is why would you need to do this at all. the SPICE simulator will choke on it and you will end up using fast spice variants
 

Solution
you can do subcells. put 8 bitcells in a new subckt and call it smallword. then put 8 of those to create a 64-bit large word. then make rows out of them. this is trivial, no?
 

Cookies are required to use this site. You must accept them to continue using the site. Learn more…