test1.py 388 Bytes
Newer Older
ZhiangWang033 committed
1 2 3 4 5 6 7
import os
import sys
sys.path.append('../../src')
from FormatTranslators import BookShelf2ProBufFormat

if __name__ == '__main__':
    # set up inputs
ZhiangWang033 committed
8
    benchmark_dir = './DAC2012_testcases'
ZhiangWang033 committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22
    design = 'superblue19'

    # other parameters
    file_dir = benchmark_dir + '/' + design
    output_file = design + ".plc"

    BookShelf2ProBufFormat(file_dir, design, output_file)