1
0
mirror of https://github.com/myhdl/myhdl.git synced 2024-12-14 07:44:38 +08:00

13 lines
280 B
Python
Raw Normal View History

2003-05-09 21:11:41 +00:00
import os
from myhdl import Cosimulation
cmd = "iverilog -o dff " + \
"../../test/verilog/dff.v " + \
"../../test/verilog/dut_dff.v "
2003-05-12 16:57:17 +00:00
def dff(q, d, clk, reset):
2003-05-09 21:11:41 +00:00
os.system(cmd)
return Cosimulation("vvp -m ../myhdl.vpi dff", **locals())