summaryrefslogtreecommitdiff
path: root/lib/gras_impl/block_data.hpp
diff options
context:
space:
mode:
authorJosh Blum2013-06-06 13:01:04 -0700
committerJosh Blum2013-06-06 13:01:04 -0700
commit7350e18b8d5090349390f54b76a0e251b66ce619 (patch)
tree6ce12ebd668d120823c652f8b09d055a149d70dc /lib/gras_impl/block_data.hpp
parent3739e119b81f0898755817eff618d45eed7e6692 (diff)
downloadsandhi-7350e18b8d5090349390f54b76a0e251b66ce619.tar.gz
sandhi-7350e18b8d5090349390f54b76a0e251b66ce619.tar.bz2
sandhi-7350e18b8d5090349390f54b76a0e251b66ce619.zip
gras: moved block ptr into data
Diffstat (limited to 'lib/gras_impl/block_data.hpp')
-rw-r--r--lib/gras_impl/block_data.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gras_impl/block_data.hpp b/lib/gras_impl/block_data.hpp
index 9fbf3eb..4b6e8de 100644
--- a/lib/gras_impl/block_data.hpp
+++ b/lib/gras_impl/block_data.hpp
@@ -3,6 +3,7 @@
#ifndef INCLUDED_LIBGRAS_IMPL_BLOCK_DATA_HPP
#define INCLUDED_LIBGRAS_IMPL_BLOCK_DATA_HPP
+#include <gras/block.hpp>
#include <gras_impl/debug.hpp>
#include <gras_impl/bitset.hpp>
#include <gras_impl/token.hpp>
@@ -33,6 +34,9 @@ enum BlockState
struct BlockData
{
+ //block pointer to call into parent
+ Block *block;
+
//per port properties
std::vector<InputPortConfig> input_configs;
std::vector<OutputPortConfig> output_configs;