Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 48 lines (41 sloc) 1.295 kB
68fbb94 @steveicarus Basic elaboration of analog contribution statements.
steveicarus authored
1 /*
2 * Copyright (c) 2008 Stephen Williams (steve@icarus.com)
3 *
4 * This source code is free software; you can redistribute it
5 * and/or modify it in source code form under the terms of the GNU
6 * General Public License as published by the Free Software
7 * Foundation; either version 2 of the License, or (at your option)
8 * any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
18 */
19
20 # include "config.h"
21
22 # include <typeinfo>
23 # include <cstdlib>
24 # include <climits>
25 # include "compiler.h"
26 # include "netlist.h"
27 # include "netmisc.h"
28 # include "ivl_assert.h"
29
0d88d3a @steveicarus Enforce that l-value of contribution is an access function.
steveicarus authored
30 NetContribution::NetContribution(NetEAccess*l, NetExpr*r)
68fbb94 @steveicarus Basic elaboration of analog contribution statements.
steveicarus authored
31 : lval_(l), rval_(r)
32 {
33 }
34
35 NetContribution::~NetContribution()
36 {
37 }
13aaaab @steveicarus Bring analog contribution statements to the ivl_target API.
steveicarus authored
38
39 const NetEAccess* NetContribution::lval() const
40 {
41 return lval_;
42 }
43
44 const NetExpr* NetContribution::rval() const
45 {
46 return rval_;
47 }
Something went wrong with that request. Please try again.