mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
13 lines
326 B
Python
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())
|
|
|