Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^5: verilog perl usage (Verilog::Netlist)

by toolic (Bishop)
on Mar 15, 2009 at 14:13 UTC ( #750735=note: print w/replies, xml ) Need Help??

in reply to Re^4: verilog perl usage (Verilog::Netlist)
in thread verilog perl usage

Does it absolutely require module references for that?
I do not know. You now have as much working experience as I do with Verilog-Perl. It seems reasonable that Verilog::Netlist would require you to provide the sub-module definitions (just as all simulators do). OTOH, I can understand why you might want them to be treated like black boxes. All I can offer is this generic advice:
  1. Read (and re-read) the POD.
  2. Try experimenting with more methods and options.
  3. Start studying the Perl source code. Perhaps the functionality you desire is buried in there. If not, maybe it becomes obvious to you how to alter the source code to do what you want.
  4. Try browsing (or asking a question on) the CPAN Verilog Discussion forum:
  5. As a last resort, try contacting the author. There must be some reason CPAN authors provide an email address :)
  • Comment on Re^5: verilog perl usage (Verilog::Netlist)

Replies are listed 'Best First'.
Re^6: verilog perl usage (Verilog::Netlist)
by Anonymous Monk on Mar 15, 2009 at 18:53 UTC
    It turns out to be very simple. :-) It looks as though you weren't printing the instance (cell) names. It did what I wanted when i changed the below line
    print $indent, ' PinName=', $pin->name(), ' NetName=', $pin->netname()
    print $indent, ' CellName=', $cell->name(), ' PinName=', $pin->name(), + ' NetName=', $pin->netname()
    Thanks again

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://750735]
[mr_mischief]: I remember buying retail a RedHat Linux 5.2 book with CD, and later a Mandrake 7 or 8 box set with all the commercial-only add-ons. Same thing with Caldera 2.3, cardboard box and all. These days I can mirror whole repos faster than that trip to the store.
[erix]: yeah. it's been some time since I last built a (linux) kernel but perl takes less than 30s and postgresql less than 2 minutes minutes :)
[talexb]: Yep .. came across SuSE 6.2 in my storage locker recently. How old is that.
[erix]: 2001 :)
[erix]: (I have the wp pages open :))

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2018-07-17 17:45 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (374 votes). Check out past polls.