Files
DRAMSys/dram/resources/scripts/sampleStlGeneration.py
2014-03-30 12:52:12 +02:00

18 lines
384 B
Python

import stlGenerator
stlGenerator = stlGenerator.StlGenerator()
def simple_frfcfs():
stlGenerator.clear()
stlGenerator.addAction(0, 0)
stlGenerator.addAction(0, 1)
stlGenerator.addAction(2, 0)
stlGenerator.addAction(3, 0)
stlGenerator.addAction(4, 0)
stlGenerator.addAction(5, 0)
stlGenerator.generateStl('../traces/test2.stl')
if __name__ == '__main__':
simple_frfcfs();