@@ -0,0 +1,627 @@
+import sys%0Aimport os%0Aimport string%0Aimport copy%0Afrom string import Template%0A%0Asys.path.append(os.path.join(os.path.dirname(__file__), os.pardir))%0Aimport sim_utils as sutils%0A%0Aimport gen_sim_top%0A%0Afrom gen import Gen%0A%0Aclass GenSimTop(Gen):%0A%0A    def __init__(self):%0A        return%0A%0A    def get_name (self):%0A        print %22generate sim tb!%22%0A%0A    def gen_script (self, tags = %7B%7D, buf = %22%22, user_paths = %5B%5D, debug = False):%0A        #Copy the interface so we don't modify the original%0A        gs = gen_sim_top.GenSimTop()%0A        buf = gs.gen_script(tags, buf, user_paths)%0A        return sutils.generate_tb_module(tags, buf, user_paths)%0A

ADD script to generate test bench