Class: SOCMaker::HDLCoder
- Inherits:
-
Object
- Object
- SOCMaker::HDLCoder
- Includes:
- ERR
- Defined in:
- lib/soc_maker/hdl_coder.rb
Overview
Please see VHDLCoder and VerilogCoder
Direct Known Subclasses
Instance Method Summary collapse
-
#clear ⇒ Object
This method creates and clears three strings: - @decl_part: declarations - @asgn_part: assignments - @inst_part: instantiations.
-
#initialize ⇒ HDLCoder
constructor
Only calls clear (see clear).
Methods included from ERR
#consistence_error, #consistence_error_if, #init_error, #init_error_if, #processing_error, #processing_error_if
Constructor Details
#initialize ⇒ HDLCoder
Only calls clear (see clear).
47 48 49 |
# File 'lib/soc_maker/hdl_coder.rb', line 47 def initialize clear end |
Instance Method Details
#clear ⇒ Object
This method creates and clears three strings:
-
@decl_part: declarations
-
@asgn_part: assignments
-
@inst_part: instantiations
57 58 59 60 61 |
# File 'lib/soc_maker/hdl_coder.rb', line 57 def clear @decl_part = ""; # declaration @asgn_part = ""; # assignment @inst_part = ""; # instantiation end |