1
0
mirror of https://github.com/myhdl/myhdl.git synced 2025-01-24 21:52:56 +08:00
2004-03-19 12:15:36 +00:00

12 lines
299 B
Python

import os
from myhdl import Cosimulation
cmd = "cver -q +loadvpi=../myhdl_vpi:vpi_compat_bootstrap +define+n=%s " + \
"../../test/verilog/inc.v " + \
"../../test/verilog/dut_inc.v "
def inc(count, enable, clock, reset, n):
return Cosimulation(cmd % n, **locals())