array with poly straps passing drc/lvs

This commit is contained in:
Jacob Walker
2023-03-30 11:30:50 -07:00
parent aea3c0ad01
commit bc8d564dbf
4 changed files with 84 additions and 70 deletions
+3 -2
View File
@@ -24,9 +24,10 @@ class rom_array_test(openram_test):
debug.info(2, "Testing 4x4 array for rom cell")
data = [[1, 0, 0, 0], [0, 1, 1, 1], [1, 0, 1, 1], [1, 1, 0, 1]]
a = factory.create(module_type="rom_base_array", cols=4, rows=4, bitmap=data)
data = [[1, 0, 0, 0, 0, 1, 0, 0, 1], [0, 1, 1, 1, 0, 1, 0, 0, 1], [1, 0, 1, 1, 0, 1, 0, 0, 1], [1, 1, 0, 1, 1, 0, 0, 0, 1], [1, 0, 0, 0, 1, 0, 0, 0, 1], [0, 1, 1, 1, 1, 0, 0, 0, 1], [1, 0, 1, 1, 1, 0, 0, 0, 1], [1, 1, 0, 0, 1, 1, 0, 0, 1]]
a = factory.create(module_type="rom_base_array", cols=9, rows=8, bitmap=data, strap_spacing=4)
self.local_check(a)
globals.end_openram()