Skip to content

Commit 161af9e

Browse files
stafverhaegen-chipflowFatsieFS
authored andcommitted
[WIP]Update Minerva/sky130_c4m
* Reduce area * Update blif file; used code #!/bin/env python3 conv_text = ( ("o2_x2", "or2_x1", None, None), ("o3_x2", "or3_x1", None, None), ("o4_x2", "or4_x1", None, None), ("a2_x2", "and2_x1", None, None), ("a3_x2", "and3_x1", None, None), ("a4_x2", "and4_x1", None, None), ("mx2_x2", "mux2_x1", None, None), ("nxr2_x1", "nexor2_x0", None, None), # Needs to be before next one ("xr2_x1", "xor2_x0", None, None), ("sff1_x4", "dff_x1", "ck=", "clk="), ("sff1r_x4", "dffnr_x1", "ck=", "clk="), ("ao22_x2", "and21nor_x1", "q=", "nq="), ("oa22_x2", "or21nand_x1", "q=", "nq="), ) with open("non_generated/user_project_core_lambdasoc.blif", "r") as fin: with open("user_project_core_lambdasoc.blif", "w") as fout: for line in fin: for s, r, s2, r2 in conv_text: if s in line: line = line.replace(s, r) if s2 is not None: line = line.replace(s2, r2) fout.write(line) TODO: PnR still fails.
1 parent 452016b commit 161af9e

File tree

2 files changed

+37224
-37224
lines changed

2 files changed

+37224
-37224
lines changed

benchs/RISC-V/Minerva/sky130_c4m/doDesign.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def scriptMain ( **kw ):
6666
conf.bColumns = 2
6767
conf.bRows = 2
6868
conf.chipName = 'chip'
69-
conf.coreSize = ( u(210*10.0), u(210*10.0) )
69+
conf.coreSize = ( u(210*6.0), u(210*6.0) )
7070
#conf.chipSize = ( u( 2020.0), u( 2060.0) )
7171
conf.coreToChipClass = CoreToChip
7272
conf.useHTree( 'io_in_from_pad(0)', Spares.HEAVY_LEAF_LOAD )

0 commit comments

Comments
 (0)