Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^3: verilog-perl vhier usage

by toolic (Bishop)
on Mar 05, 2009 at 21:54 UTC ( #748683=note: print w/replies, xml ) Need Help??

in reply to Re^2: verilog-perl vhier usage
in thread verilog-perl vhier usage

Since I do not have your Verilog files, I can not reproduce your problem.

However, when I add the strictures to your code (use warnings; use strict;), I get a warning message:

Bareword "hier" not allowed while "strict subs" is in use at ...

Although I doubt this is your problem, try fixing your code like this by adding the single quotes:

show_hier($cell->submod, $indent." ", 'hier', $cell->name) if $cell->s +ubmod;

Is there anything special about the "mymux" module? Is it wrapped inside `celldefine compiler directives, for example?

Since I have never used Verilog::Netlist, I can not offer you more specific information about its usage. You might try browsing (or asking a question on) the CPAN Verilog Discussion forum: It's too bad the module author is not a PerlMonk :)

Replies are listed 'Best First'.
Re^4: verilog-perl vhier usage
by perlvoyager (Initiate) on Mar 06, 2009 at 05:36 UTC
    the defines file and the timescale file
    i2c_master_defines.v // bitcontroller states `define I2C_CMD_NOP 4'b0000 `define I2C_CMD_START 4'b0001 `define I2C_CMD_STOP 4'b0010 `define I2C_CMD_WRITE 4'b0100 `define I2C_CMD_READ 4'b1000
    timescale.v `timescale 1ns / 10ps

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://748683]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2018-08-17 07:05 GMT
Find Nodes?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:

    Results (174 votes). Check out past polls.