Merge branch 'develop' of code.aliyun.com:openbelt/cocoon into develop
This commit is contained in:
commit
d643ae6afa
|
@ -0,0 +1,29 @@
|
|||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2019-2020, Peking University
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@ -0,0 +1,8 @@
|
|||
# Cocoon: An Infrastructure for Integrated EDA
|
||||
Cocoon is an open source infrastructure for integrated EDA with interoperability and interactivity.
|
||||
It contains a set of cross-tool interfaces and plays the role of EDA agent that can help IC designers
|
||||
choose EDA point tools to assemble a legal design flow and to produce ICs with higher quality of results (QoR).
|
||||
It can also help EDA researchers and tool developer do research on new design methodology and cross-stage optimization.
|
||||
|
||||
## Cocoon Architecture
|
||||
![avatar](image/arch.png)
|
|
@ -0,0 +1,46 @@
|
|||
class MySubFlow(object):
|
||||
def __init__(self):
|
||||
self.ops = []
|
||||
|
||||
def flow(self):
|
||||
op_syn = opsrc.op.logiccommander
|
||||
self.ops.append(op_syn)
|
||||
|
||||
|
||||
class MyFlow(object):
|
||||
|
||||
def __init__(self):
|
||||
self.ops = []
|
||||
self.des_list = []
|
||||
|
||||
|
||||
def flow(self):
|
||||
des_list = op.min_cut_partition(design)
|
||||
|
||||
for x in des_list:
|
||||
sub_flow = MySubFlow()
|
||||
sub_ops = sub_flow.ops
|
||||
ops.append(sub_ops)
|
||||
|
||||
#merge?
|
||||
|
||||
|
||||
op_floorplan = cds.op.innovus.floorplan
|
||||
ops.append(op_floorplan)
|
||||
|
||||
op_place = opsrc.op.dreamplace
|
||||
ops.append(op_place)
|
||||
|
||||
op_cts = cds.op.cts
|
||||
ops.append(op_place)
|
||||
|
||||
op_route = cds.op.route
|
||||
ops.append(op_place)
|
||||
|
||||
op_drc = cds.op.innovus.op_drc
|
||||
ops.append(op_drc)
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
class MySubFlow(object):
|
||||
def __init__(self):
|
||||
self.ops = []
|
||||
|
||||
def flow(self):
|
||||
op_cts = cds.op.cts
|
||||
self.ops.append(op_cts)
|
||||
op_route = cds.op.route
|
||||
self.ops.append(op_route)
|
||||
|
||||
class MyFlow(object):
|
||||
|
||||
def __init__(self):
|
||||
self.ops = []
|
||||
self.des_list = []
|
||||
|
||||
|
||||
def flow(self):
|
||||
des_list = op.min_cut_partition(design)
|
||||
|
||||
op_syn = cds.op.genus
|
||||
ops.append(op_syn)
|
||||
|
||||
op_floorplan = cds.op.innovus.floorplan
|
||||
ops.append(op_floorplan)
|
||||
|
||||
op_place = opsrc.op.dreamplace
|
||||
ops.append(op_place)
|
||||
|
||||
for x in des_list:
|
||||
sub_flow = MySubFlow()
|
||||
sub_ops = sub_flow.ops
|
||||
ops.append(sub_ops)
|
||||
|
||||
op_drc = cds.op.innovus.op_drc
|
||||
ops.append(op_drc)
|
||||
|
||||
|
||||
|
||||
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Loading…
Reference in New Issue