summaryrefslogtreecommitdiff
path: root/ip/ip_fp_fix.cmp
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-11-22 01:24:41 -0600
committerAlejandro Soto <alejandro@34project.org>2023-11-22 02:31:51 -0600
commit1e064f29139a45061a8082914e9ee75c15e803a4 (patch)
tree2fac1bd24026807bd8e6fee1f278dc4b155afde3 /ip/ip_fp_fix.cmp
parent3f5ec7003075eb78e7e2a7b179cbcd3a6c9e294d (diff)
rtl/gfx: implement fp->fixed conversion
Diffstat (limited to '')
-rw-r--r--ip/ip_fp_fix.cmp10
1 files changed, 10 insertions, 0 deletions
diff --git a/ip/ip_fp_fix.cmp b/ip/ip_fp_fix.cmp
new file mode 100644
index 0000000..c810e8b
--- /dev/null
+++ b/ip/ip_fp_fix.cmp
@@ -0,0 +1,10 @@
+ component ip_fp_fix is
+ port (
+ clk : in std_logic := 'X'; -- clk
+ areset : in std_logic := 'X'; -- reset
+ en : in std_logic_vector(0 downto 0) := (others => 'X'); -- en
+ a : in std_logic_vector(15 downto 0) := (others => 'X'); -- a
+ q : out std_logic_vector(31 downto 0) -- q
+ );
+ end component ip_fp_fix;
+