mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
13 lines
301 B
Python
13 lines
301 B
Python
from migen import *
|
|
from migen.fhdl import verilog
|
|
|
|
|
|
class SimCase:
|
|
def setUp(self, *args, **kwargs):
|
|
self.tb = self.TestBench(*args, **kwargs)
|
|
|
|
def test_to_verilog(self):
|
|
verilog.convert(self.tb)
|
|
|
|
def run_with(self, generator):
|
|
Simulator(self.tb, generator).run()
|