LIBRARY IEEE;USE IEEE.STD_LOGIC_1164.ALL;ENTITY test IS PORT(F:IN STD_LOGIC;CLK:IN STD_LOGIC;CARRY :IN STD_LOGIC;RIN:IN STD_LOGIC_VECTOR(3 DOWNTO 0);OUT_LOW:OUT STD_LOGIC_VECTOR(3 DOWNTO 0);OUT_HIGH:OUT STD_LOGIC_VECTOR(3 DOWNTO 0));END test;ARCHITEC

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/07 23:35:06
LIBRARYIEEE;USEIEEE.STD_LOGIC_1164.ALL;ENTITYtestISPORT(F:INSTD_LOGIC;CLK:INSTD_LOGIC;CARRY:INSTD_LO

LIBRARY IEEE;USE IEEE.STD_LOGIC_1164.ALL;ENTITY test IS PORT(F:IN STD_LOGIC;CLK:IN STD_LOGIC;CARRY :IN STD_LOGIC;RIN:IN STD_LOGIC_VECTOR(3 DOWNTO 0);OUT_LOW:OUT STD_LOGIC_VECTOR(3 DOWNTO 0);OUT_HIGH:OUT STD_LOGIC_VECTOR(3 DOWNTO 0));END test;ARCHITEC
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY test IS
PORT(
F:IN STD_LOGIC;
CLK:IN STD_LOGIC;
CARRY :IN STD_LOGIC;
RIN:IN STD_LOGIC_VECTOR(3 DOWNTO 0);
OUT_LOW:OUT STD_LOGIC_VECTOR(3 DOWNTO 0);
OUT_HIGH:OUT STD_LOGIC_VECTOR(3 DOWNTO 0));
END test;
ARCHITECTURE RTL OF test IS
SIGNAL F_IN:STD_LOGIC_VECTOR(1 DOWNTO 0);
BEGIN
PROCESS(CLK,F,CARRY)
BEGIN
F_IN

LIBRARY IEEE;USE IEEE.STD_LOGIC_1164.ALL;ENTITY test IS PORT(F:IN STD_LOGIC;CLK:IN STD_LOGIC;CARRY :IN STD_LOGIC;RIN:IN STD_LOGIC_VECTOR(3 DOWNTO 0);OUT_LOW:OUT STD_LOGIC_VECTOR(3 DOWNTO 0);OUT_HIGH:OUT STD_LOGIC_VECTOR(3 DOWNTO 0));END test;ARCHITEC
信号赋值符号是“