HDL

djberg96 on 2002-08-09T18:31:36

Ruby as an HDL language? You betcha!


Interesting HDL hacks

ziggy on 2002-08-09T20:15:38

There was a paper presented at TPC2 by Marcelo (Siero?) (this would be so much easier to find if O'Reilly actually archived this stuff), an EE who hacked Perl to support variable width integers.

On the whole, it sounded hackish, bizarre and esoteric. What he did was modify the syntax and the runtime of perl5.004 (I believe) so that you could create a 54 bit integer (or a 27 bit integer, or...). That on its own may not have been terribly useful, but Marcelo also hacked in support for Verilog, so you could drive a Verilog design with a Perl script, and those Perl variables were the actual values moving through the Verilog design.

All in all it made a very interesting test framework for hardware designs. I think it was written under contract for Intel, so it's not publically available.