URL
https://opencores.org/ocsvn/ourisc/ourisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 5 |
Line 5... |
Line 5... |
-- constants, and functions
|
-- constants, and functions
|
--
|
--
|
-- To use any of the example code shown below, uncomment the lines and modify as necessary
|
-- To use any of the example code shown below, uncomment the lines and modify as necessary
|
--
|
--
|
|
|
library IEEE;
|
library ieee;
|
use IEEE.STD_LOGIC_1164.all;
|
use ieee.std_logic_1164.all;
|
|
|
package Flags is
|
package flags is
|
constant equals : std_logic_vector (3 downto 0) := "0001";
|
constant equals : std_logic_vector (3 downto 0) := "0001";
|
constant above : std_logic_vector (3 downto 0) := "0010";
|
constant above : std_logic_vector (3 downto 0) := "0010";
|
constant overflow : std_logic_vector (3 downto 0) := "0100";
|
constant overflow : std_logic_vector (3 downto 0) := "0100";
|
constant error : std_logic_vector (3 downto 0) := "1000";
|
constant error : std_logic_vector (3 downto 0) := "1000";
|
end Flags;
|
|
No newline at end of file
|
No newline at end of file
|
|
end flags;
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.