App-Scheme79asm
view release on metacpan or search on metacpan
lib/App/Scheme79asm.pm view on Meta::CPAN
317318319320321322323324325326327328329330331332333334335336337position 4. After all sequences of S-expressions have been
given
to
B<parse>, this method should be called.
=item $asm->B<print_binary16>([I<$fh>])
Print the length of the memory (as a big-endian 16-bit value),
followed by the memory contents as a sequence of big-endian 16-bit
values to the given filehandle (default STDOUT). Dies if
C<addr_bits + type_bits> is more than 16.
Big-endian 16-bit values can be decoded with C<unpack 'n', $value>.
=item $asm->B<print_verilog>([I<$fh>])
Print a block of Verilog code assigning the memory contents to an
array named C<mem> to the given filehandle (default STDOUT).
=item $asm->B<parse_and_print_binary16>(I<$string>[, I<$fh>])
Convenience method that calls B<parse>($string), B<finish>, and then
B<print_binary16>($fh).
( run in 0.227 second using v1.01-cache-2.11-cpan-05444aca049 )