1
0
mirror of https://github.com/myhdl/myhdl.git synced 2024-12-14 07:44:38 +08:00
myhdl/cosimulation/cver/test/dff_clkout.py
2004-03-19 12:15:36 +00:00

13 lines
326 B
Python

import os
import os.path as path
from myhdl import Cosimulation
cmd = "cver -q +loadvpi=../myhdl_vpi:vpi_compat_bootstrap " + \
"../../test/verilog/dff_clkout.v " + \
"../../test/verilog/dut_dff_clkout.v "
def dff_clkout(clkout, q, d, clk, reset):
return Cosimulation(cmd, **locals())