Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: verilog-perl vhier usage

by toolic (Chancellor)
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: http://www.cpanforum.com/dist/Verilog-Perl. It's too bad the module author is not a PerlMonk :)


Comment on Re^3: verilog-perl vhier usage
Select or Download Code
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2014-12-28 20:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls