aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue953/ent.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/issue953/ent.vhdl')
-rw-r--r--testsuite/synth/issue953/ent.vhdl6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/synth/issue953/ent.vhdl b/testsuite/synth/issue953/ent.vhdl
index 72c7988b2..d7457f4b8 100644
--- a/testsuite/synth/issue953/ent.vhdl
+++ b/testsuite/synth/issue953/ent.vhdl
@@ -7,7 +7,9 @@ end;
architecture a of ent is
signal x : unsigned(7 downto 0);
- signal y : unsigned(7 downto 0) := x / 2;
- signal z : unsigned(15 downto 0) := x * 2;
+ signal y : unsigned(7 downto 0);
+ signal z : unsigned(15 downto 0);
begin
+ y <= x / 2;
+ z <= x * 2;
end;