Commit 4eea4518 by sakundu

Merge branch 'main' of github.com:TILOS-AI-Institute/MacroPlacement into flow_scripts

parents a377ffd7 00abf8ec
......@@ -41,7 +41,13 @@ class Port:
def __str__(self):
self.str = ""
self.str += "node {\n"
self.str += ' name: "' + self.name + '"\n'
name = ''
for char in self.name:
if char == '\\':
name += '\\\\'
else:
name += char
self.str += ' name: "' + name + '"\n'
for sink in self.sinks:
sink_new = ''
for char in sink:
......@@ -113,7 +119,13 @@ class StandardCell:
def __str__(self):
self.str = ""
self.str += "node {\n"
self.str += ' name: "' + self.name + '"\n'
name = ''
for char in self.name:
if char == '\\':
name += '\\\\'
else:
name += char
self.str += ' name: "' + name + '"\n'
for sink in self.sinks:
sink_new = ''
for char in sink:
......@@ -202,7 +214,13 @@ class Macro:
def __str__(self):
self.str = ""
self.str += "node {\n"
self.str += ' name: "' + self.name + '"\n'
name = ''
for char in self.name:
if char == '\\':
name += '\\\\'
else:
name += char
self.str += ' name: "' + name + '"\n'
self.str += " attr {\n"
self.str += ' key: "type"\n'
self.str += ' value {\n'
......@@ -275,7 +293,13 @@ class MacroPin:
def __str__(self):
self.str = ""
self.str += "node {\n"
self.str += ' name: "' + self.name + '"\n'
name = ''
for char in self.name:
if char == '\\':
name += '\\\\'
else:
name += char
self.str += ' name: "' + name + '"\n'
for sink in self.sinks:
sink_new = ''
for char in sink:
......@@ -288,7 +312,13 @@ class MacroPin:
self.str += " attr {\n"
self.str += ' key: "macro_name"\n'
self.str += ' value {\n'
self.str += ' placeholder: "' + str(self.macro_name) + '"\n'
macro_name = ''
for char in self.macro_name:
if char == '\\':
macro_name += '\\\\'
else:
macro_name += char
self.str += ' placeholder: "' + str(macro_name) + '"\n'
self.str += ' }\n'
self.str += ' }\n'
self.str += " attr {\n"
......
This source diff could not be displayed because it is too large. You can view the blob instead.
# SKY130HD FakeStack (SKY130HD library, bsg_fakeram memory generation, 9M FkaeStack)
# SKY130HD FakeStack (SKY130HD library, bsg_fakeram memory generation, 9M FakeStack)
The SKY130HD enablement available in the OpenROAD-flow-script [GitHub repo](https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/tree/master/flow/platforms/sky130hd) is a five-metal stack enablement. However, memory macro has blockage till metal four, so a five-metal stack is not enough to route our macro dominant testcases.
......@@ -8,4 +8,4 @@ We use the bsg_fakeram memory generator available in the [bsg_fakeram](https://g
With this combined enablement, testcases with SRAMs can be synthesized, placed and routed using both proprietary (commercial) tools such as Cadence Genus/Innovus, and open-source tools such as OpenROAD.
The [*./lef*](./lef) directory contains the technology, standard cell and macro lef files, the [*./lib*](./lib/) directory contains the standard cell and macro liberty files.
\ No newline at end of file
The [*./lef*](./lef) directory contains the technology, standard cell and macro lef files, the [*./lib*](./lib/) directory contains the standard cell and macro liberty files.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment