Skip to content

Commit

Permalink
vhdl examples: add package instance #136
Browse files Browse the repository at this point in the history
  • Loading branch information
Nic30 committed Aug 28, 2020
1 parent d4a3333 commit 02306aa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/vhdl/package_instance.vhd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
library IEEE;

package fixed_pkg is new IEEE.fixed_generic_pkg
generic map (
fixed_round_style => IEEE.fixed_float_types.fixed_round,
fixed_overflow_style => IEEE.fixed_float_types.fixed_saturate,
fixed_guard_bits => 3,
no_warning => false
);

0 comments on commit 02306aa

Please sign in to comment.