summaryrefslogtreecommitdiff
path: root/translate/grt/ghwlib.h
diff options
context:
space:
mode:
authorgingold2005-11-22 16:09:10 +0000
committergingold2005-11-22 16:09:10 +0000
commit171548c9d708fc13f5b6d3edde30630ee04bd06e (patch)
tree181c2a4f230ec445277ec4ed6a25c73f25aab3e2 /translate/grt/ghwlib.h
parent20e31a50417e5452dcc5797d27dc1383253e3161 (diff)
downloadghdl-171548c9d708fc13f5b6d3edde30630ee04bd06e.tar.gz
ghdl-171548c9d708fc13f5b6d3edde30630ee04bd06e.tar.bz2
ghdl-171548c9d708fc13f5b6d3edde30630ee04bd06e.zip
more optimizations + bug fixes
Diffstat (limited to 'translate/grt/ghwlib.h')
-rw-r--r--translate/grt/ghwlib.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/translate/grt/ghwlib.h b/translate/grt/ghwlib.h
index 500dd6e..93fb153 100644
--- a/translate/grt/ghwlib.h
+++ b/translate/grt/ghwlib.h
@@ -83,6 +83,14 @@ enum ghw_wkt_type {
ghw_wkt_std_ulogic
};
+struct ghw_range_b2
+{
+ enum ghdl_rtik kind : 8;
+ int dir : 8; /* 0: to, !0: downto. */
+ unsigned char left;
+ unsigned char right;
+};
+
struct ghw_range_e8
{
enum ghdl_rtik kind : 8;