mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-29 01:24:39 +02:00
Replaced cacti tech params with already existing params. Added an existence check in design_rules.
This commit is contained in:
@@ -34,6 +34,12 @@ class design_rules(dict):
|
||||
"""
|
||||
self.rules[b] = c
|
||||
|
||||
def __contains__(self, b):
|
||||
"""
|
||||
Allows checking existence of rules
|
||||
"""
|
||||
return b in self.rules
|
||||
|
||||
def __getitem__(self, b):
|
||||
"""
|
||||
For backward compatibility with existing rules.
|
||||
|
||||
Reference in New Issue
Block a user