mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
12 lines
274 B
Python
12 lines
274 B
Python
import os
|
|
|
|
from myhdl import Cosimulation
|
|
|
|
cmd = "cver -q +loadvpi=../myhdl_vpi:vpi_compat_bootstrap " + \
|
|
"../../test/verilog/dff.v " + \
|
|
"../../test/verilog/dut_dff.v "
|
|
|
|
def dff(q, d, clk, reset):
|
|
return Cosimulation(cmd, **locals())
|
|
|