Fix compile on cygwin and fix a few compile warnings.
This patch fixes a few compile warnings and adds the new packed routines to the ivl.def file so that this links correctly on cygwin.
This commit is contained in:
parent
0aefcf9b48
commit
51ef541969
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1999-2011 Stephen Williams (steve@icarus.com)
|
||||
* Copyright (c) 1999-2012 Stephen Williams (steve@icarus.com)
|
||||
*
|
||||
* This source code is free software; you can redistribute it
|
||||
* and/or modify it in source code form under the terms of the GNU
|
||||
|
|
@ -1420,7 +1420,7 @@ static NetExpr* check_for_enum_methods(const LineInfo*li,
|
|||
}
|
||||
|
||||
static NetExpr* check_for_struct_members(const LineInfo*li,
|
||||
Design*des, NetScope*scope,
|
||||
Design*des, NetScope*,
|
||||
NetNet*net, perm_string method_name)
|
||||
{
|
||||
netstruct_t*type = net->struct_type();
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2000-2011 Stephen Williams (steve@icarus.com)
|
||||
* Copyright (c) 2000-2012 Stephen Williams (steve@icarus.com)
|
||||
*
|
||||
* This source code is free software; you can redistribute it
|
||||
* and/or modify it in source code form under the terms of the GNU
|
||||
|
|
@ -622,7 +622,7 @@ bool PEIdent::elaborate_lval_net_idx_(Design*des,
|
|||
}
|
||||
|
||||
bool PEIdent::elaborate_lval_net_packed_member_(Design*des,
|
||||
NetScope*scope,
|
||||
NetScope*,
|
||||
NetAssign_*lv,
|
||||
const perm_string&member_name) const
|
||||
{
|
||||
|
|
|
|||
3
ivl.def
3
ivl.def
|
|
@ -230,6 +230,9 @@ ivl_signal_msb
|
|||
ivl_signal_name
|
||||
ivl_signal_nex
|
||||
ivl_signal_npath
|
||||
ivl_signal_packed_dimensions
|
||||
ivl_signal_packed_lsb
|
||||
ivl_signal_packed_msb
|
||||
ivl_signal_path
|
||||
ivl_signal_port
|
||||
ivl_signal_scope
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2011 Stephen Williams (steve@icarus.com)
|
||||
* Copyright (c) 2011-2012 Stephen Williams (steve@icarus.com)
|
||||
*
|
||||
* This source code is free software; you can redistribute it
|
||||
* and/or modify it in source code form under the terms of the GNU
|
||||
|
|
@ -79,7 +79,7 @@ static void pform_makewire(const struct vlltype&li,
|
|||
struct_type_t*struct_type,
|
||||
NetNet::PortType ptype,
|
||||
perm_string name,
|
||||
list<named_pexpr_t>*attr)
|
||||
list<named_pexpr_t>*)
|
||||
{
|
||||
ivl_variable_type_t base_type = figure_struct_base_type(struct_type);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue