class SOCMaker::HDLCoder

Please see VHDLCoder and VerilogCoder

Public Class Methods

new() click to toggle source

Only calls clear (see clear).

# File lib/soc_maker/hdl_coder.rb, line 47
def initialize
  clear
end

Public Instance Methods

clear() click to toggle source

This method creates and clears three strings:

  • @decl_part: declarations

  • @asgn_part: assignments

  • @inst_part: instantiations

# File lib/soc_maker/hdl_coder.rb, line 57
def clear
  @decl_part  = "";   # declaration
  @asgn_part  = "";   # assignment
  @inst_part  = "";   # instantiation
end