Cerata
A library to generate structural hardware designs
resolve.h
1
// Copyright 2018-2019 Delft University of Technology
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#pragma once
16
17
#include <memory>
18
19
#include "cerata/graph.h"
20
21
namespace
cerata::vhdl
{
22
24
struct
Resolve
{
44
// TODO(johanpel): this should create a transformed copy, but currently mutates the component.
45
static
Component
*
SignalizePorts
(
Component
*comp);
46
};
47
48
}
// namespace cerata::vhdl
cerata::Component
A Component graph.
Definition:
graph.h:158
cerata::vhdl::Resolve
Functions to resolve VHDL-specific problems with graphs.
Definition:
resolve.h:24
cerata::vhdl::Resolve::SignalizePorts
static Component * SignalizePorts(Component *comp)
Transforms the component, inserting signals for every instance port.
Definition:
resolve.cc:69
cerata::vhdl
Contains everything related to the VHDL back-end.
Definition:
architecture.cc:31
src
cerata
vhdl
resolve.h
Generated on Tue Nov 24 2020 13:17:12 for Cerata by
1.8.20