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

Re: perl datapath simulator

by mykl (Monk)
on May 04, 2011 at 12:03 UTC ( [id://902851]=note: print w/replies, xml ) Need Help??


in reply to perl datapath simulator

This sounds like a question about the modelling of IC hardware using Perl. Is there a particular reason you want to use Perl rather than VHDL or Verilog, which are usually used for these jobs?

At a basic level, I could answer your question by saying "Use @arrays for FIFOs and pipes, use array indexing for muxes, use if/then for arbitrators". This way you could write the whole thing in basic Perl.

But maybe you are after something more sophisticated - maybe bounds-checking, performance measurements, data-driven path construction? If you give us some more details about what you are trying to achieve, we may be able to be more helpful.

--

"Any sufficiently analyzed magic is indistinguishable from science" - Agatha Heterodyne

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-25 21:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found