#DebugSession.addToTrace( katana.getCell().getNet( 'core.result(24)' ) )
#DebugSession.addToTrace( katana.getCell().getNet( 'core.result(1)' ) )
+#DebugSession.addToTrace( katana.getCell().getNet( 'core.result(58)' ) )
+#DebugSession.addToTrace( katana.getCell().getNet( 'core.result(12)' ) )
+#DebugSession.addToTrace( katana.getCell().getNet( 'core.result(56)' ) )
+#DebugSession.addToTrace( katana.getCell().getNet( 'f_to_pad(3)' ) )
+#DebugSession.addToTrace( katana.getCell().getNet( 'we_from_pad(0)' ) )
+#DebugSession.addToTrace( katana.getCell().getNet( 'a_from_pad(2)' ) )
+#DebugSession.addToTrace( katana.getCell().getNet( 'core.result(0)' ) )
+#DebugSession.addToTrace( katana.getCell().getNet( 'a_from_pad(6)' ) )
from helpers.overlay import UpdateSession
import plugins
from Hurricane import Breakpoint, DbU, Transformation, Box, Instance
+from plugins.alpha.macro.macro import Macro
from plugins.alpha.block.block import Block
from plugins.alpha.block.configuration import IoPin, GaugeConf
from plugins.alpha.core2chip.libresocio import CoreToChip
if not sram:
print( '[ERROR] SRAM instance "{}" not found.'.format(sramName) )
else:
+ Macro.wrap( sram.getMasterCell(), 'FlexLib', 3, 2 )
sramAb = sram.getMasterCell().getAbutmentBox()
- sram.setTransformation( Transformation( coreAb.getXMax() - sramAb.getWidth()
- , u(0.0)
- , Transformation.Orientation.ID ) )
- sram.setPlacementStatus( Instance.PlacementStatus.FIXED )
+ Macro.place( sram
+ , Transformation( coreAb.getXMax() - sramAb.getWidth()
+ , u(0.0)
+ , Transformation.Orientation.ID )
+ , Instance.PlacementStatus.FIXED )
sramAb = sram.getAbutmentBox()
memoryConf.placeArea = Box( coreAb.getXMin()
, coreAb.getYMax() - sliceHeight*10
Breakpoint.stop( 99, 'After core block placement.' )
if buildChip:
- arlet6502ToChip = CoreToChip( memoryConf )
- arlet6502ToChip.buildChip()
+ memoryToChip = CoreToChip( memoryConf )
+ memoryToChip.buildChip()
chipBuilder = Chip( memoryConf )
rvalue = chipBuilder.doPnR()
chipBuilder.save()