summaryrefslogtreecommitdiffstats
path: root/examples/Scientific.vhd
diff options
context:
space:
mode:
authorRodrigo Alejandro Melo <rmelo@inti.gob.ar>2017-12-01 13:33:48 -0300
committerRodrigo Alejandro Melo <rmelo@inti.gob.ar>2017-12-01 13:33:48 -0300
commit4aa6f8e07914cb1aa8cde5da5e3512c0f717f737 (patch)
treef9d23d9d42f4a8b22dcd272715af11c962097c15 /examples/Scientific.vhd
parent5ac1f1eba35fec83789c635b7b145474a77a5fde (diff)
downloadvhdl2vl-4aa6f8e07914cb1aa8cde5da5e3512c0f717f737.tar.gz
vhdl2vl-4aa6f8e07914cb1aa8cde5da5e3512c0f717f737.zip
Fixed scientific notation when the sign of the exponent is used
Removed the testcase of todo.vhd.
Diffstat (limited to 'examples/Scientific.vhd')
-rw-r--r--examples/Scientific.vhd4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/Scientific.vhd b/examples/Scientific.vhd
index d71e55d..3d6655a 100644
--- a/examples/Scientific.vhd
+++ b/examples/Scientific.vhd
@@ -5,7 +5,9 @@ entity Scientific is
generic (
exp1: integer := 25e6;
exp2: integer := 25E6;
- exp3: real := 25.0e6
+ exp3: real := 25.0e6;
+ exp4: real := 50.0e+3;
+ exp5: real := 50.0e-3
);
port(
clk : in std_logic
OpenPOWER on IntegriCloud