diff --git a/vhdlpp/library.cc b/vhdlpp/library.cc index 08a67d586..214d42162 100644 --- a/vhdlpp/library.cc +++ b/vhdlpp/library.cc @@ -383,15 +383,6 @@ bool is_global_type(perm_string name) return false; } -bool can_be_packed(perm_string name) -{ - if (name == "boolean") return true; - if (name == "bit") return true; - if (name == "std_logic") return true; - if (name == "bit_vector") return true; - return true; -} - void library_set_work_path(const char*path) { assert(library_work_path == 0); diff --git a/vhdlpp/parse_misc.h b/vhdlpp/parse_misc.h index a2e6292c9..e4aa9e644 100644 --- a/vhdlpp/parse_misc.h +++ b/vhdlpp/parse_misc.h @@ -67,7 +67,4 @@ extern void generate_global_types(ActiveScope*res); extern bool is_global_type(perm_string type_name); -// Returns true if a type can be used as the base type in Verilog packed array. -extern bool can_be_packed(perm_string type_name); - #endif /* IVL_parse_misc_H */ diff --git a/vhdlpp/vsignal.cc b/vhdlpp/vsignal.cc index 0c4a9cce4..d03dae459 100644 --- a/vhdlpp/vsignal.cc +++ b/vhdlpp/vsignal.cc @@ -1,5 +1,6 @@ /* * Copyright (c) 2011 Stephen Williams (steve@icarus.com) + * Copyright CERN 2014 / Maciej Suminski (maciej.suminski@cern.ch) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU diff --git a/vhdlpp/vtype.h b/vhdlpp/vtype.h index a52e7d377..0fce73145 100644 --- a/vhdlpp/vtype.h +++ b/vhdlpp/vtype.h @@ -2,7 +2,7 @@ #define IVL_vtype_H /* * Copyright (c) 2011-2014 Stephen Williams (steve@icarus.com) - * Copyright CERN 2013 / Stephen Williams (steve@icarus.com), + * Copyright CERN 2014 / Stephen Williams (steve@icarus.com), * Maciej Suminski (maciej.suminski@cern.ch) * * This source code is free software; you can redistribute it diff --git a/vhdlpp/vtype_emit.cc b/vhdlpp/vtype_emit.cc index 473107245..f932cb8e1 100644 --- a/vhdlpp/vtype_emit.cc +++ b/vhdlpp/vtype_emit.cc @@ -21,7 +21,7 @@ # include "vtype.h" # include "expression.h" -# include +# include # include # include