URL
https://opencores.org/ocsvn/distributed_intelligence/distributed_intelligence/trunk
Show entire file |
Details |
Blame |
View Log
Rev 4 |
Rev 5 |
Line 5... |
Line 5... |
|
|
library IEEE;
|
library IEEE;
|
use IEEE.STD_LOGIC_1164.all;
|
use IEEE.STD_LOGIC_1164.all;
|
|
|
package MY_FUNCS is
|
package MY_FUNCS is
|
|
-- Operator sll and srl for a std_logic_vector
|
function "sll"(val : std_logic_vector; shift : integer) return std_logic_vector;
|
function "sll"(val : std_logic_vector; shift : integer) return std_logic_vector;
|
function "srl"(val : std_logic_vector; shift : integer) return std_logic_vector;
|
function "srl"(val : std_logic_vector; shift : integer) return std_logic_vector;
|
end MY_FUNCS;
|
end MY_FUNCS;
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.