[myhdl-list] co-simulation: vpi file
Brought to you by:
jandecaluwe
|
From: George P. <ge...@ga...> - 2005-12-05 01:30:13
|
Hi all, in the example taken from the docs below, where is the myhdl.vpi file supposed to come from?
Thanks,
George
import os
from myhdl import Cosimulation
cmd = "iverilog -o bin2gray -Dwidth=%s bin2gray.v dut_bin2gray.v"
def bin2gray(B, G, width):
os.system(cmd % width)
return Cosimulation("vvp -m ./myhdl.vpi bin2gray", B=B, G=G)
|