lib/HDLRuby/hruby_verilog.rb in HDLRuby-2.0.17 vs lib/HDLRuby/hruby_verilog.rb in HDLRuby-2.0.18
- old
+ new
@@ -23,10 +23,15 @@
# Global variable used for indentation and structure (temporary).
$space_count = 0 # Count used for increasing indent by if statement. (temporary)
$vector_reg = "" # For storing signal type at structure declaration. (temporary)
$vector_cnt = 0 # For allocating numbers at structure declaration. (temporary)
-class Fixnum
+# class Fixnum
+# def to_verilog
+# to_s
+# end
+# end
+class ::Integer
def to_verilog
to_s
end
end