[myhdl-list] toVerilog fails interactively
Brought to you by:
jandecaluwe
From: Haitao Z. <ha...@gm...> - 2005-02-26 18:21:53
|
This may be common knowledge but I may as well post it in case someone else run into similiar problem: toVerilog tries to find the instance name of what it is assigned to, i.e. the lname in the following expression: lname = toVerilog(...) It does this by inspecting the source file. When run interactively some of the functions it calls fails because it can't get the info from stdin. When running from a file (either a standalone script or through execfile) it works fine. Haitao |