def _inner_setup(self): # Verify that all necessary files are present files = gather_files(self.tb) for i in files: if not os.path.exists(i): raise FileNotFoundError("Please download and save the vendor " "SDRAM model in %s (not redistributable)" % i) runner = icarus.Runner(extra_files=files) self.sim = Simulator(self.tb, sim_runner=runner)
def _inner_setup(self): # Verify that all necessary files are present files = gather_files(self.tb) for i in files: if not os.path.exists(i): raise FileNotFoundError( "Please download and save the vendor " "SDRAM model in %s (not redistributable)" % i) runner = icarus.Runner(extra_files=files) self.sim = Simulator(self.tb, sim_runner=runner)
def setUp(self): self.tb = TestBench("mt48lc16m16a2") # Verify that all necessary files are present files = gather_files(self.tb) for i in files: if not os.path.exists(i): raise FileNotFoundError( "Please download and save the vendor " "SDRAM model in %s (not redistributable)" % i ) runner = icarus.Runner(extra_files=files) vcd = "test_%s.vcd" % self.__class__.__name__ self.sim = Simulator(self.tb, TopLevel(vcd), sim_runner=runner)
def setUp(self): self.tb = TestBench("mt48lc16m16a2") # Verify that all necessary files are present files = gather_files(self.tb) for i in files: if not os.path.exists(i): raise FileNotFoundError("Please download and save the vendor " "SDRAM model in %s (not redistributable)" % i) runner = icarus.Runner(extra_files=files) vcd = "test_%s.vcd" % self.__class__.__name__ self.sim = Simulator(self.tb, TopLevel(vcd), sim_runner=runner)