forked from Firebee/FPGA_Config
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23f23bd70c | ||
|
|
d2a3f1f4ff | ||
|
|
923b18b2d3 | ||
|
|
84f029b1fc | ||
|
|
e6da46a57f | ||
|
|
3b80809684 |
@@ -1,52 +0,0 @@
|
||||
library ieee;
|
||||
use ieee.std_logic_1164.all;
|
||||
|
||||
|
||||
-- Entity Declaration
|
||||
|
||||
entity dsp is
|
||||
port
|
||||
(
|
||||
CLK33M : in std_logic;
|
||||
MAIN_CLK : in std_logic;
|
||||
nFB_OE : in std_logic;
|
||||
nFB_WR : in std_logic;
|
||||
nFB_CS1 : in std_logic;
|
||||
nFB_CS2 : in std_logic;
|
||||
FB_SIZE0 : in std_logic;
|
||||
FB_SIZE1 : in std_logic;
|
||||
nFB_BURST : in std_logic;
|
||||
FB_ADR : in std_logic_vector(31 downto 0);
|
||||
nRSTO : in std_logic;
|
||||
nFB_CS3 : in std_logic;
|
||||
nSRCS : inout std_logic;
|
||||
nSRBLE : out std_logic;
|
||||
nSRBHE : out std_logic;
|
||||
nSRWE : out std_logic;
|
||||
nSROE : out std_logic;
|
||||
DSP_INT : out std_logic;
|
||||
DSP_TA : out std_logic;
|
||||
fb_ad_in : in std_logic_vector(31 downto 0);
|
||||
fb_ad_out : out std_logic_vector(31 downto 0);
|
||||
IO : inout std_logic_vector(17 downto 0);
|
||||
SRD : inout std_logic_vector(15 downto 0)
|
||||
);
|
||||
end dsp;
|
||||
|
||||
|
||||
-- Architecture Body
|
||||
|
||||
architecture rtl of dsp is
|
||||
begin
|
||||
nSRCS <= '0' when nFB_CS2 = '0' and FB_ADR(27 downto 24) = x"4" else '1'; --nFB_CS3;
|
||||
nSRBHE <= '0' when FB_ADR(0 downto 0) = "0" else '1';
|
||||
nSRBLE <= '1' when FB_ADR(0 downto 0) = "0" and FB_SIZE1 = '0' and FB_SIZE0 = '1' else '0';
|
||||
nSRWE <= '0' when nFB_WR = '0' and nSRCS = '0' and MAIN_CLK = '0' else '1';
|
||||
nSROE <= '0' when nFB_OE = '0' and nSRCS = '0' else '1';
|
||||
DSP_INT <= '0';
|
||||
DSP_TA <= '0';
|
||||
IO(17 downto 0) <= FB_ADR(18 downto 1);
|
||||
SRD(15 downto 0) <= fb_ad_in(31 downto 16) when nFB_WR = '0' and nSRCS = '0' else (others => 'Z');
|
||||
-- fb_ad_out(31 downto 16) <= srd(15 DOWNTO 0 )when nFB_OE = '0' AND nSRCS = '0' ELSE (others => 'Z');
|
||||
fb_ad_out(31 downto 0) <= (others => 'Z'); -- otherwise we get a constant driver error
|
||||
end rtl;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,432 +0,0 @@
|
||||
----------------------------------------------------------------------
|
||||
---- ----
|
||||
---- 6850 compatible IP Core ----
|
||||
---- ----
|
||||
---- This file is part of the SUSKA ATARI clone project. ----
|
||||
---- http://www.experiment-s.de ----
|
||||
---- ----
|
||||
---- Description: ----
|
||||
---- UART 6850 compatible IP core ----
|
||||
---- ----
|
||||
---- 6850's receiver unit. ----
|
||||
---- ----
|
||||
---- ----
|
||||
---- To Do: ----
|
||||
---- - ----
|
||||
---- ----
|
||||
---- Author(s): ----
|
||||
---- - Wolfgang Foerster, wf@experiment-s.de; wf@inventronik.de ----
|
||||
---- ----
|
||||
----------------------------------------------------------------------
|
||||
---- ----
|
||||
---- Copyright (C) 2006 - 2008 Wolfgang Foerster ----
|
||||
---- ----
|
||||
---- This source file may be used and distributed without ----
|
||||
---- restriction provided that this copyright statement is not ----
|
||||
---- removed from the file and that any derivative work contains ----
|
||||
---- the original copyright notice and the associated disclaimer. ----
|
||||
---- ----
|
||||
---- This source file is free software; you can redistribute it ----
|
||||
---- and/or modify it under the terms of the GNU Lesser General ----
|
||||
---- Public License as published by the Free Software Foundation; ----
|
||||
---- either version 2.1 of the License, or (at your option) any ----
|
||||
---- later version. ----
|
||||
---- ----
|
||||
---- This source is distributed in the hope that it will be ----
|
||||
---- useful, but WITHOUT ANY WARRANTY; without even the implied ----
|
||||
---- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ----
|
||||
---- PURPOSE. See the GNU Lesser General Public License for more ----
|
||||
---- details. ----
|
||||
---- ----
|
||||
---- You should have received a copy of the GNU Lesser General ----
|
||||
---- Public License along with this source; if not, download it ----
|
||||
---- from http://www.gnu.org/licenses/lgpl.html ----
|
||||
---- ----
|
||||
----------------------------------------------------------------------
|
||||
--
|
||||
-- Revision History
|
||||
--
|
||||
-- Revision 2K6A 2006/06/03 WF
|
||||
-- Initial Release.
|
||||
-- Revision 2K6B 2006/11/07 WF
|
||||
-- Modified Source to compile with the Xilinx ISE.
|
||||
-- Revision 2K8A 2008/07/14 WF
|
||||
-- Minor changes.
|
||||
--
|
||||
|
||||
LIBRARY ieee;
|
||||
USE ieee.std_logic_1164.ALL;
|
||||
USE ieee.std_logic_unsigned.ALL;
|
||||
|
||||
ENTITY WF6850IP_RECEIVE IS
|
||||
PORT
|
||||
(
|
||||
CLK : IN std_logic;
|
||||
RESETn : IN bit;
|
||||
MCLR : IN bit;
|
||||
|
||||
CS : IN bit_vector(2 DOWNTO 0);
|
||||
E : IN bit;
|
||||
RWn : IN bit;
|
||||
RS : IN bit;
|
||||
|
||||
DATA_OUT : OUT bit_vector(7 DOWNTO 0);
|
||||
DATA_EN : OUT bit;
|
||||
|
||||
WS : IN bit_vector(2 DOWNTO 0);
|
||||
CDS : IN bit_vector(1 DOWNTO 0);
|
||||
|
||||
RXCLK : IN bit;
|
||||
RXDATA : IN bit;
|
||||
|
||||
RDRF : BUFFER bit;
|
||||
OVR : OUT bit;
|
||||
PE : OUT bit;
|
||||
FE : OUT bit
|
||||
);
|
||||
END ENTITY WF6850IP_RECEIVE;
|
||||
|
||||
ARCHITECTURE rtl OF WF6850IP_RECEIVE IS
|
||||
TYPE RCV_STATES IS (IDLE, WAIT_START, SAMPLE, PARITY, STOP1, STOP2, SYNC);
|
||||
SIGNAL RCV_STATE, RCV_NEXT_STATE : RCV_STATES;
|
||||
SIGNAL RXDATA_I : bit;
|
||||
SIGNAL RXDATA_S : bit;
|
||||
SIGNAL DATA_REG : bit_vector(7 DOWNTO 0);
|
||||
SIGNAL SHIFT_REG : bit_vector(7 DOWNTO 0);
|
||||
SIGNAL CLK_STRB : bit;
|
||||
SIGNAL BITCNT : std_logic_vector(2 DOWNTO 0);
|
||||
BEGIN
|
||||
p_sample : PROCESS(CLK)
|
||||
-- This filter provides a synchronisation to the system
|
||||
-- clock, even for random baud rates of the received data
|
||||
-- stream.
|
||||
VARIABLE FLT_TMP : integer RANGE 0 TO 2;
|
||||
BEGIN
|
||||
IF rising_edge(CLK) THEN
|
||||
--
|
||||
RXDATA_I <= RXDATA;
|
||||
--
|
||||
IF RXDATA_I = '1' and FLT_TMP < 2 THEN
|
||||
FLT_TMP := FLT_TMP + 1;
|
||||
ELSIF RXDATA_I = '1' THEN
|
||||
RXDATA_S <= '1';
|
||||
ELSIF RXDATA_I = '0' and FLT_TMP > 0 THEN
|
||||
FLT_TMP := FLT_TMP - 1;
|
||||
ELSIF RXDATA_I = '0' THEN
|
||||
RXDATA_S <= '0';
|
||||
END IF;
|
||||
END IF;
|
||||
END PROCESS p_sample;
|
||||
|
||||
clkdiv : PROCESS(CLK)
|
||||
VARIABLE CLK_LOCK : boolean;
|
||||
VARIABLE STRB_LOCK : boolean;
|
||||
VARIABLE CLK_DIVCNT : std_logic_vector(6 DOWNTO 0);
|
||||
BEGIN
|
||||
IF rising_edge(CLK) THEN
|
||||
IF CDS = "00" THEN -- Divider off.
|
||||
IF RXCLK = '1' and STRB_LOCK = false THEN
|
||||
CLK_STRB <= '1';
|
||||
STRB_LOCK := true;
|
||||
ELSIF RXCLK = '0' THEN
|
||||
CLK_STRB <= '0';
|
||||
STRB_LOCK := false;
|
||||
ELSE
|
||||
CLK_STRB <= '0';
|
||||
END IF;
|
||||
ELSIF RCV_STATE = IDLE THEN
|
||||
-- Preset the CLKDIV with the start delays.
|
||||
IF CDS = "01" THEN
|
||||
CLK_DIVCNT := "0001000"; -- Half of div by 16 mode.
|
||||
ELSIF CDS = "10" THEN
|
||||
CLK_DIVCNT := "0100000"; -- Half of div by 64 mode.
|
||||
END IF;
|
||||
CLK_STRB <= '0';
|
||||
ELSE
|
||||
IF CLK_DIVCNT > "0000000" and RXCLK = '1' and CLK_LOCK = false THEN
|
||||
CLK_DIVCNT := CLK_DIVCNT - '1';
|
||||
CLK_STRB <= '0';
|
||||
CLK_LOCK := true;
|
||||
ELSIF CDS = "01" and CLK_DIVCNT = "0000000" THEN
|
||||
CLK_DIVCNT := "0010000"; -- Div by 16 mode.
|
||||
--
|
||||
IF STRB_LOCK = false THEN
|
||||
STRB_LOCK := true;
|
||||
CLK_STRB <= '1';
|
||||
ELSE
|
||||
CLK_STRB <= '0';
|
||||
END IF;
|
||||
ELSIF CDS = "10" and CLK_DIVCNT = "0000000" THEN
|
||||
CLK_DIVCNT := "1000000"; -- Div by 64 mode.
|
||||
IF STRB_LOCK = false THEN
|
||||
STRB_LOCK := true;
|
||||
CLK_STRB <= '1';
|
||||
ELSE
|
||||
CLK_STRB <= '0';
|
||||
END IF;
|
||||
ELSIF RXCLK = '0' THEN
|
||||
CLK_LOCK := false;
|
||||
STRB_LOCK := false;
|
||||
CLK_STRB <= '0';
|
||||
ELSE
|
||||
CLK_STRB <= '0';
|
||||
END IF;
|
||||
END IF;
|
||||
END IF;
|
||||
END PROCESS clkdiv;
|
||||
|
||||
datareg : PROCESS(RESETn, CLK)
|
||||
BEGIN
|
||||
IF RESETn = '0' or MCLR = '1' THEN
|
||||
DATA_REG <= x"00";
|
||||
ELSE
|
||||
IF rising_edge(CLK) THEN
|
||||
IF RCV_STATE = SYNC and WS(2) = '0' and RDRF = '0' THEN -- 7 bit data.
|
||||
-- Transfer from shift- to data register only if
|
||||
-- data register is empty (RDRF = '0').
|
||||
DATA_REG <= '0' & SHIFT_REG(7 downto 1);
|
||||
ELSIF RCV_STATE = SYNC and WS(2) = '1' and RDRF = '0' THEN -- 8 bit data.
|
||||
-- Transfer from shift- to data register only if
|
||||
-- data register is empty (RDRF = '0').
|
||||
DATA_REG <= SHIFT_REG;
|
||||
END IF;
|
||||
END IF;
|
||||
END IF;
|
||||
END PROCESS datareg;
|
||||
|
||||
DATA_OUT <= DATA_REG WHEN CS = "011" and RWn = '1' and RS = '1' ELSE (OTHERS => '0');
|
||||
DATA_EN <= '1' WHEN CS = "011" and RWn = '1' and RS = '1' ELSE '0';
|
||||
|
||||
shiftreg : PROCESS(RESETn, CLK)
|
||||
BEGIN
|
||||
IF RESETn = '0' or MCLR = '1' THEN
|
||||
SHIFT_REG <= x"00";
|
||||
ELSE
|
||||
IF rising_edge(CLK) THEN
|
||||
IF RCV_STATE = SAMPLE and CLK_STRB = '1' THEN
|
||||
SHIFT_REG <= RXDATA_S & SHIFT_REG(7 DOWNTO 1); -- Shift right.
|
||||
END IF;
|
||||
END IF;
|
||||
END IF;
|
||||
END PROCESS shiftreg;
|
||||
|
||||
p_bitcnt : PROCESS(CLK)
|
||||
BEGIN
|
||||
IF rising_edge(CLK) THEN
|
||||
IF RCV_STATE = SAMPLE and CLK_STRB = '1' THEN
|
||||
BITCNT <= BITCNT + '1';
|
||||
ELSIF RCV_STATE /= SAMPLE THEN
|
||||
BITCNT <= (OTHERS => '0');
|
||||
END IF;
|
||||
END IF;
|
||||
END PROCESS p_bitcnt;
|
||||
|
||||
p_frame_err: PROCESS(RESETn, CLK)
|
||||
-- This module detects a framing error
|
||||
-- during stop bit 1 and stop bit 2.
|
||||
VARIABLE FE_I: bit;
|
||||
BEGIN
|
||||
IF RESETn = '0' THEN
|
||||
FE_I := '0';
|
||||
FE <= '0';
|
||||
ELSE
|
||||
IF rising_edge(CLK) THEN
|
||||
IF MCLR = '1' THEN
|
||||
FE_I := '0';
|
||||
FE <= '0';
|
||||
ELSIF CLK_STRB = '1' THEN
|
||||
IF RCV_STATE = STOP1 and RXDATA_S = '0' THEN
|
||||
FE_I := '1';
|
||||
ELSIF RCV_STATE = STOP2 and RXDATA_S = '0' THEN
|
||||
FE_I := '1';
|
||||
ELSIF RCV_STATE = STOP1 or RCV_STATE = STOP2 THEN
|
||||
FE_I := '0'; -- Error resets when correct data appears.
|
||||
END IF;
|
||||
END IF;
|
||||
IF RCV_STATE = SYNC THEN
|
||||
FE <= FE_I; -- Update the FE every SYNC time.
|
||||
END IF;
|
||||
END IF;
|
||||
END IF;
|
||||
END PROCESS p_frame_err;
|
||||
|
||||
p_overrun : PROCESS(RESETn, CLK)
|
||||
VARIABLE OVR_I : bit;
|
||||
VARIABLE FIRST_READ : boolean;
|
||||
BEGIN
|
||||
IF rising_edge(CLK) THEN
|
||||
IF RESETn = '0' or MCLR = '1' THEN
|
||||
OVR_I := '0';
|
||||
OVR <= '0';
|
||||
FIRST_READ := false;
|
||||
ELSE
|
||||
IF CLK_STRB = '1' and RCV_STATE = STOP1 THEN
|
||||
-- Overrun appears if RDRF is '1' in this state.
|
||||
OVR_I := RDRF;
|
||||
END IF;
|
||||
IF CS = "011" and RWn = '1' and RS = '1' THEN
|
||||
-- If an overrun was detected, the concerning flag is
|
||||
-- set when the valid data word in the receiver data
|
||||
-- register is read. Thereafter the RDRF flag is reset
|
||||
-- and the overrun disappears (OVR_I goes low) after
|
||||
-- a second read (in time) of the receiver data register.
|
||||
IF FIRST_READ = false THEN
|
||||
IF OVR_I = '1' THEN
|
||||
OVR <= '1';
|
||||
OVR_I := '0';
|
||||
FIRST_READ := true;
|
||||
ELSE
|
||||
OVR <= '0';
|
||||
END IF;
|
||||
END IF;
|
||||
ELSE
|
||||
FIRST_READ := false;
|
||||
END IF;
|
||||
END IF;
|
||||
END IF;
|
||||
END PROCESS p_overrun;
|
||||
|
||||
p_parity_test : PROCESS(RESETn,MCLR,CLK)
|
||||
VARIABLE PAR_TMP : bit;
|
||||
VARIABLE PE_I : bit;
|
||||
BEGIN
|
||||
IF RESETn = '0' or MCLR = '1' THEN
|
||||
PE <= '0';
|
||||
ELSE
|
||||
IF rising_edge(CLK) THEN
|
||||
IF CLK_STRB = '1' THEN -- Sample parity on clock strobe.
|
||||
PE_I := '0'; -- Initialise.
|
||||
IF RCV_STATE = PARITY THEN
|
||||
FOR i in 1 TO 7 LOOP
|
||||
IF i = 1 THEN
|
||||
PAR_TMP := SHIFT_REG(i - 1) xor SHIFT_REG(i);
|
||||
ELSE
|
||||
PAR_TMP := PAR_TMP xor SHIFT_REG(i);
|
||||
END IF;
|
||||
END LOOP;
|
||||
IF WS = "000" or WS = "010" or WS = "110" THEN -- Even parity.
|
||||
PE_I := PAR_TMP xor RXDATA_S;
|
||||
ELSIF WS = "001" or WS = "011" or WS = "111" THEN -- Odd parity.
|
||||
PE_I := not PAR_TMP xor RXDATA_S;
|
||||
ELSE -- No parity for WS = "100" and WS = "101".
|
||||
PE_I := '0';
|
||||
END IF;
|
||||
END IF;
|
||||
END IF;
|
||||
END IF;
|
||||
-- Transmit the parity flag together with the data
|
||||
-- In other words: no parity to the status register
|
||||
-- when RDRF inhibits the data transfer to the
|
||||
-- receiver data register.
|
||||
IF RCV_STATE = SYNC and RDRF = '0' THEN
|
||||
PE <= PE_I;
|
||||
ELSIF CS = "011" and RWn = '1' and RS = '1' THEN
|
||||
PE <= '0'; -- Clear when reading the data register.
|
||||
END IF;
|
||||
END IF;
|
||||
END PROCESS p_parity_test;
|
||||
|
||||
p_rdrf : process(RESETn, CLK)
|
||||
-- Receive data register full flag.
|
||||
BEGIN
|
||||
IF rising_edge(CLK) THEN
|
||||
IF RESETn = '0' or MCLR = '1' THEN
|
||||
RDRF <= '0';
|
||||
ELSE
|
||||
IF RCV_STATE = SYNC THEN
|
||||
RDRF <= '1'; -- Data register is full until now!
|
||||
END IF;
|
||||
IF CS = "011" and RWn = '1' and RS = '1' THEN
|
||||
RDRF <= '0'; -- when reading the data register ...
|
||||
END IF;
|
||||
END IF;
|
||||
END IF;
|
||||
END PROCESS p_rdrf;
|
||||
|
||||
p_rcv_statereg : PROCESS(RESETn, CLK)
|
||||
BEGIN
|
||||
IF RESETn = '0' THEN
|
||||
RCV_STATE <= IDLE;
|
||||
ELSE
|
||||
IF rising_edge(CLK) THEN
|
||||
IF MCLR = '1' THEN
|
||||
RCV_STATE <= IDLE;
|
||||
ELSE
|
||||
RCV_STATE <= RCV_NEXT_STATE;
|
||||
END IF;
|
||||
END IF;
|
||||
END IF;
|
||||
END PROCESS p_rcv_statereg;
|
||||
|
||||
p_rcv_statedec : PROCESS(RCV_STATE, RXDATA_S, CDS, WS, BITCNT, CLK_STRB)
|
||||
BEGIN
|
||||
CASE RCV_STATE IS
|
||||
WHEN IDLE =>
|
||||
IF RXDATA_S = '0' and CDS = "00" THEN
|
||||
RCV_NEXT_STATE <= SAMPLE; -- Startbit detected in div by 1 mode.
|
||||
ELSIF RXDATA_S = '0' and CDS = "01" THEN
|
||||
RCV_NEXT_STATE <= WAIT_START; -- Startbit detected in div by 16 mode.
|
||||
ELSIF RXDATA_S = '0' and CDS = "10" THEN
|
||||
RCV_NEXT_STATE <= WAIT_START; -- Startbit detected in div by 64 mode.
|
||||
ELSE
|
||||
RCV_NEXT_STATE <= IDLE; -- No startbit; sleep well :-)
|
||||
END IF;
|
||||
|
||||
WHEN WAIT_START =>
|
||||
IF CLK_STRB = '1' THEN
|
||||
IF RXDATA_S = '0' THEN
|
||||
RCV_NEXT_STATE <= SAMPLE; -- Start condition in no div by 1 modes.
|
||||
ELSE
|
||||
RCV_NEXT_STATE <= IDLE; -- No valid start condition, go back.
|
||||
END IF;
|
||||
ELSE
|
||||
RCV_NEXT_STATE <= WAIT_START; -- Stay.
|
||||
END IF;
|
||||
|
||||
WHEN SAMPLE =>
|
||||
IF CLK_STRB = '1' THEN
|
||||
IF BITCNT < "110" and WS(2) = '0' THEN
|
||||
RCV_NEXT_STATE <= SAMPLE; -- Go on sampling 7 data bits.
|
||||
ELSIF BITCNT < "111" and WS(2) = '1' THEN
|
||||
RCV_NEXT_STATE <= SAMPLE; -- Go on sampling 8 data bits.
|
||||
ELSIF WS = "100" or WS = "101" THEN
|
||||
RCV_NEXT_STATE <= STOP1; -- No parity check enabled.
|
||||
ELSE
|
||||
RCV_NEXT_STATE <= PARITY; -- Parity enabled.
|
||||
END IF;
|
||||
ELSE
|
||||
RCV_NEXT_STATE <= SAMPLE; -- Stay in sample mode.
|
||||
END IF;
|
||||
|
||||
WHEN PARITY =>
|
||||
IF CLK_STRB = '1' THEN
|
||||
RCV_NEXT_STATE <= STOP1;
|
||||
ELSE
|
||||
RCV_NEXT_STATE <= PARITY;
|
||||
END IF;
|
||||
|
||||
WHEN STOP1 =>
|
||||
IF CLK_STRB = '1' THEN
|
||||
IF RXDATA_S = '0' THEN
|
||||
RCV_NEXT_STATE <= SYNC; -- Framing error detected.
|
||||
ELSIF WS = "000" or WS = "001" or WS = "100" THEN
|
||||
RCV_NEXT_STATE <= STOP2; -- Two stop bits selected.
|
||||
ELSE
|
||||
RCV_NEXT_STATE <= SYNC; -- One stop bit selected.
|
||||
END IF;
|
||||
ELSE
|
||||
RCV_NEXT_STATE <= STOP1;
|
||||
END IF;
|
||||
|
||||
WHEN STOP2 =>
|
||||
IF CLK_STRB = '1' THEN
|
||||
RCV_NEXT_STATE <= SYNC;
|
||||
ELSE
|
||||
RCV_NEXT_STATE <= STOP2;
|
||||
END IF;
|
||||
WHEN SYNC =>
|
||||
RCV_NEXT_STATE <= IDLE;
|
||||
END CASE;
|
||||
END PROCESS p_rcv_statedec;
|
||||
END ARCHITECTURE rtl;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,2 +0,0 @@
|
||||
# FPGA_Quartus_13.1
|
||||
FireBee's FPGA developed on Quartus 13.1
|
||||
@@ -1,24 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component altddio_out0
|
||||
PORT
|
||||
(
|
||||
datain_h : IN STD_LOGIC ;
|
||||
datain_l : IN STD_LOGIC ;
|
||||
outclock : IN STD_LOGIC ;
|
||||
dataout : OUT STD_LOGIC
|
||||
);
|
||||
end component;
|
||||
@@ -1,24 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component altddio_out3
|
||||
PORT
|
||||
(
|
||||
datain_h : IN STD_LOGIC ;
|
||||
datain_l : IN STD_LOGIC ;
|
||||
outclock : IN STD_LOGIC ;
|
||||
dataout : OUT STD_LOGIC
|
||||
);
|
||||
end component;
|
||||
@@ -1,7 +0,0 @@
|
||||
set_global_assignment -name IP_TOOL_NAME "ALTDDIO_OUT"
|
||||
set_global_assignment -name IP_TOOL_VERSION "8.1"
|
||||
set_global_assignment -name VHDL_FILE [file join $::quartus(qip_path) "altddio_out3.vhd"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "altddio_out3.bsf"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "altddio_out3.inc"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "altddio_out3.cmp"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "altddio_out3.ppf"]
|
||||
@@ -1,26 +0,0 @@
|
||||
--Copyright (C) 1991-2010 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component altpll0
|
||||
PORT
|
||||
(
|
||||
inclk0 : IN STD_LOGIC := '0';
|
||||
c0 : OUT STD_LOGIC ;
|
||||
c1 : OUT STD_LOGIC ;
|
||||
c2 : OUT STD_LOGIC ;
|
||||
c3 : OUT STD_LOGIC ;
|
||||
c4 : OUT STD_LOGIC
|
||||
);
|
||||
end component;
|
||||
@@ -1,25 +0,0 @@
|
||||
--Copyright (C) 1991-2014 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component altpll1
|
||||
PORT
|
||||
(
|
||||
inclk0 : IN STD_LOGIC := '0';
|
||||
c0 : OUT STD_LOGIC ;
|
||||
c1 : OUT STD_LOGIC ;
|
||||
c2 : OUT STD_LOGIC ;
|
||||
locked : OUT STD_LOGIC
|
||||
);
|
||||
end component;
|
||||
@@ -1,26 +0,0 @@
|
||||
--Copyright (C) 1991-2014 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component altpll2
|
||||
PORT
|
||||
(
|
||||
inclk0 : IN STD_LOGIC := '0';
|
||||
c0 : OUT STD_LOGIC ;
|
||||
c1 : OUT STD_LOGIC ;
|
||||
c2 : OUT STD_LOGIC ;
|
||||
c3 : OUT STD_LOGIC ;
|
||||
c4 : OUT STD_LOGIC
|
||||
);
|
||||
end component;
|
||||
@@ -1,26 +0,0 @@
|
||||
--Copyright (C) 1991-2010 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component altpll3
|
||||
PORT
|
||||
(
|
||||
inclk0 : IN STD_LOGIC := '0';
|
||||
c0 : OUT STD_LOGIC ;
|
||||
c1 : OUT STD_LOGIC ;
|
||||
c2 : OUT STD_LOGIC ;
|
||||
c3 : OUT STD_LOGIC ;
|
||||
locked : OUT STD_LOGIC
|
||||
);
|
||||
end component;
|
||||
@@ -1,30 +0,0 @@
|
||||
--Copyright (C) 1991-2014 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component altpll4
|
||||
PORT
|
||||
(
|
||||
areset : IN STD_LOGIC := '0';
|
||||
configupdate : IN STD_LOGIC := '0';
|
||||
inclk0 : IN STD_LOGIC := '0';
|
||||
scanclk : IN STD_LOGIC := '1';
|
||||
scanclkena : IN STD_LOGIC := '0';
|
||||
scandata : IN STD_LOGIC := '0';
|
||||
c0 : OUT STD_LOGIC ;
|
||||
locked : OUT STD_LOGIC ;
|
||||
scandataout : OUT STD_LOGIC ;
|
||||
scandone : OUT STD_LOGIC
|
||||
);
|
||||
end component;
|
||||
@@ -1,38 +0,0 @@
|
||||
--Copyright (C) 1991-2010 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component altpll_reconfig1
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
counter_param : IN STD_LOGIC_VECTOR (2 DOWNTO 0);
|
||||
counter_type : IN STD_LOGIC_VECTOR (3 DOWNTO 0);
|
||||
data_in : IN STD_LOGIC_VECTOR (8 DOWNTO 0);
|
||||
pll_areset_in : IN STD_LOGIC := '0';
|
||||
pll_scandataout : IN STD_LOGIC ;
|
||||
pll_scandone : IN STD_LOGIC ;
|
||||
read_param : IN STD_LOGIC ;
|
||||
reconfig : IN STD_LOGIC ;
|
||||
reset : IN STD_LOGIC ;
|
||||
write_param : IN STD_LOGIC ;
|
||||
busy : OUT STD_LOGIC ;
|
||||
data_out : OUT STD_LOGIC_VECTOR (8 DOWNTO 0);
|
||||
pll_areset : OUT STD_LOGIC ;
|
||||
pll_configupdate : OUT STD_LOGIC ;
|
||||
pll_scanclk : OUT STD_LOGIC ;
|
||||
pll_scanclkena : OUT STD_LOGIC ;
|
||||
pll_scandata : OUT STD_LOGIC
|
||||
);
|
||||
end component;
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<pin_planner>
|
||||
<pin_info>
|
||||
</pin_info>
|
||||
<buses>
|
||||
</buses>
|
||||
<group_file_association>
|
||||
</group_file_association>
|
||||
<pin_planner_file_specifies>
|
||||
</pin_planner_file_specifies>
|
||||
</pin_planner>
|
||||
@@ -1,238 +0,0 @@
|
||||
#--------------------------------------------------------------#
|
||||
# #
|
||||
# Synopsis design constraints for the Firebee project #
|
||||
# #
|
||||
# This file is part of the Firebee ACP project. #
|
||||
# http://www.firebee.org #
|
||||
# #
|
||||
# Description: #
|
||||
# timing constraints for the Firebee VHDL config #
|
||||
# #
|
||||
# #
|
||||
# #
|
||||
# To Do: #
|
||||
# - #
|
||||
# #
|
||||
# Author(s): #
|
||||
# Markus Fröschle, mfro@mubf.de #
|
||||
# #
|
||||
#--------------------------------------------------------------#
|
||||
# #
|
||||
# Copyright (C) 2015 Markus Fröschle & the ACP project #
|
||||
# #
|
||||
# This source file may be used and distributed without #
|
||||
# restriction provided that this copyright statement is not #
|
||||
# removed from the file and that any derivative work contains #
|
||||
# the original copyright notice and the associated disclaimer. #
|
||||
# #
|
||||
# This source file is free software; you can redistribute it #
|
||||
# and/or modify it under the terms of the GNU Lesser General #
|
||||
# Public License as published by the Free Software Foundation; #
|
||||
# either version 2.1 of the License, or (at your option) any #
|
||||
# later version. #
|
||||
# #
|
||||
# This source is distributed in the hope that it will be #
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied #
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR #
|
||||
# PURPOSE. See the GNU Lesser General Public License for more #
|
||||
# details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU Lesser General #
|
||||
# Public License along with this source; if not, download it #
|
||||
# from http://www.gnu.org/licenses/lgpl.html #
|
||||
# #
|
||||
################################################################
|
||||
|
||||
#**************************************************************
|
||||
# Time Information
|
||||
#**************************************************************
|
||||
|
||||
set_time_format -unit ns -decimal_places 3
|
||||
|
||||
|
||||
|
||||
#**************************************************************
|
||||
# Create Clock
|
||||
#**************************************************************
|
||||
|
||||
create_clock -name {MAIN_CLK} -period 30.303 -waveform { 0.000 15.151 } [get_ports {MAIN_CLK}]
|
||||
|
||||
# Clocks used:
|
||||
# MAIN_CLK 33MHz
|
||||
#
|
||||
# PLL1: i_mfp_acia_clk_pll
|
||||
# input: MAIN_CLK
|
||||
# c0: 500 kHz
|
||||
# c1: 2.4576 MHz
|
||||
# c2: 24.576 MHz
|
||||
#
|
||||
# PLL2: i_ddr_clock_pll
|
||||
# input: MAIN_CLK
|
||||
# c0: 132 MHz 190°
|
||||
# c1: 132 MHz 0°
|
||||
# c2: 132 MHz 180°
|
||||
# c3: 132 MHz 105°
|
||||
# c4: 66 MHz 270°
|
||||
#
|
||||
# PLL3: i_atari_clk_pll
|
||||
# input: MAIN_CLK
|
||||
# c0: 2 MHz
|
||||
# c1: 16 MHz
|
||||
# c2: 25 MHz
|
||||
# c3: 48 MHz
|
||||
#
|
||||
# PLL4_ i_video_clk_pll
|
||||
# input: USB_CLK (48 MHz, PLL3 c3)
|
||||
# c0: 96 MHz, programmable in 1MHz steps
|
||||
#
|
||||
#**************************************************************
|
||||
# Create Generated Clock
|
||||
#**************************************************************
|
||||
|
||||
derive_pll_clocks
|
||||
|
||||
# PIXEL_CLK is either
|
||||
# CLK13M, CLK17M, CLK25M, CLK33M or CLK_VIDEO
|
||||
# where CLK13M is half of CLK25M,
|
||||
# CLK17M is half of CLK33M and CLK_VIDEO is the freely programmable
|
||||
# clock of i_video_clk_pll
|
||||
#
|
||||
|
||||
|
||||
#**************************************************************
|
||||
# Set Clock Latency
|
||||
#**************************************************************
|
||||
|
||||
|
||||
|
||||
#**************************************************************
|
||||
# Set Clock Uncertainty
|
||||
#**************************************************************
|
||||
|
||||
#set_clock_uncertainty -rise_from [get_clocks {MAIN_CLK}] -rise_to [get_clocks {MAIN_CLK}] 2.00
|
||||
#set_clock_uncertainty -rise_from [get_clocks {MAIN_CLK}] -fall_to [get_clocks {MAIN_CLK}] 2.00
|
||||
derive_clock_uncertainty
|
||||
|
||||
|
||||
#**************************************************************
|
||||
# Set Input Delay
|
||||
#**************************************************************
|
||||
|
||||
# set_input_delay -add_delay -clock [get_clocks {MAIN_CLK}] -min 2.500 [all_inputs]
|
||||
# set_input_delay -add_delay -clock [get_clocks {MAIN_CLK}] -max 2.500 [all_inputs]
|
||||
|
||||
#set_input_delay -add_delay -clock [get_clocks {MAIN_CLK}] -min 1.500 [get_ports {FB*}]
|
||||
#set_input_delay -add_delay -clock [get_clocks {MAIN_CLK}] -min 1.500 {nFB_CS1 nFB_CS2 nFB_CS3 nFB_OE}
|
||||
#set_input_delay -add_delay -clock [get_clocks {MAIN_CLK}] -max 1.500 [get_ports {FB*}]
|
||||
#set_input_delay -add_delay -clock [get_clocks {MAIN_CLK}] -max 1.500 {nFB_CS1 nFB_CS2 nFB_CS3 nFB_OE}
|
||||
|
||||
#**************************************************************
|
||||
# Set Output Delay
|
||||
#**************************************************************
|
||||
|
||||
# set_output_delay -add_delay -clock [get_clocks {MAIN_CLK}] -min 2.500 [all_outputs]
|
||||
# set_output_delay -add_delay -clock [get_clocks {MAIN_CLK}] -max 2.500 [all_outputs]
|
||||
|
||||
#set_output_delay -add_delay -clock [get_clocks {MAIN_CLK}] -min 1.500 [get_ports {FB*}]
|
||||
#set_output_delay -add_delay -clock [get_clocks {MAIN_CLK}] -min 1.500 {nFB_TA}
|
||||
#set_output_delay -add_delay -clock [get_clocks {MAIN_CLK}] -max 1.500 [get_ports {FB*}]
|
||||
#set_output_delay -add_delay -clock [get_clocks {MAIN_CLK}] -max 1.500 {nFB_TA}
|
||||
|
||||
# video RAM access
|
||||
#set_output_delay -add_delay -clock [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -min 0.500 [get_ports {VA[*]}]
|
||||
#set_output_delay -add_delay -clock [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -max 0.500 [get_ports {VA[*]}]
|
||||
|
||||
#set_output_delay -add_delay -clock [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -min 0.500 [get_ports {VD[*]}]
|
||||
#set_output_delay -add_delay -clock [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -max 0.500 [get_ports {VD[*]}]
|
||||
|
||||
#set_output_delay -add_delay -clock [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -min 0.500 [get_ports {VDQS[*]}]
|
||||
#set_output_delay -add_delay -clock [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -max 0.500 [get_ports {VDQS[*]}]
|
||||
|
||||
#set_output_delay -add_delay -clock [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -min 0.500 [get_ports {VDM[*]}]
|
||||
#set_output_delay -add_delay -clock [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -max 0.500 [get_ports {VDM[*]}]
|
||||
|
||||
#set_output_delay -add_delay -clock [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -min 0.500 {nVCAS nVRAS nVWE nVCS VCKE DDR_CLK nDDR_CLK BA[*]}
|
||||
#set_output_delay -add_delay -clock [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -max 0.500 {nVCAS nVRAS nVWE nVCS VCKE DDR_CLK nDDR_CLK BA[*]}
|
||||
|
||||
#**************************************************************
|
||||
# Set Clock Groups
|
||||
#**************************************************************
|
||||
|
||||
|
||||
|
||||
#**************************************************************
|
||||
# Set False Path
|
||||
#**************************************************************
|
||||
|
||||
#
|
||||
# i_video_clk is freely programmable
|
||||
#
|
||||
set_false_path -from [get_clocks {MAIN_CLK}] -to [get_clocks {i_video_clk_pll|altpll_component|auto_generated|pll1|clk[0]}]
|
||||
|
||||
# MAIN_CLK to 16 MHz clk -> false_path
|
||||
set_false_path -from [get_clocks {MAIN_CLK}] -to [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[1]}]
|
||||
set_false_path -from [get_clocks {MAIN_CLK}] -to [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[2]}]
|
||||
|
||||
# MAIN_CLK to DDR clk and v.v.
|
||||
set_false_path -from [get_clocks {MAIN_CLK}] -to [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}]
|
||||
set_false_path -from [get_clocks {MAIN_CLK}] -to [get_clocks {i_mfp_acia_clk_pll|altpll_component|auto_generated|pll1|clk[1]}]
|
||||
set_false_path -from [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -to [get_clocks {MAIN_CLK}]
|
||||
set_false_path -from [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[3]}] -to [get_clocks {MAIN_CLK}]
|
||||
set_false_path -from [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[4]}] -to [get_clocks {MAIN_CLK}]
|
||||
|
||||
set_false_path -from [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[4]}] -to [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}]
|
||||
set_false_path -from [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[4]}] -to [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[1]}]
|
||||
set_false_path -from [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[4]}] -to [get_clocks {i_mfp_acia_clk_pll|altpll_component|auto_generated|pll1|clk[1]}]
|
||||
|
||||
set_false_path -from [get_clocks {i_mfp_acia_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -to [get_clocks {MAIN_CLK}]
|
||||
set_false_path -from [get_clocks {i_mfp_acia_clk_pll|altpll_component|auto_generated|pll1|clk[1]}] -to [get_clocks {MAIN_CLK}]
|
||||
set_false_path -from [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -to [get_clocks {i_video_clk_pll|altpll_component|auto_generated|pll1|clk[0]}]
|
||||
# 2 MHz to 33 MHz
|
||||
set_false_path -from [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -to [get_clocks {MAIN_CLK}]
|
||||
set_false_path -from [get_clocks {MAIN_CLK}] -to [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[0]}]
|
||||
set_false_path -from [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[3]}] -to [get_clocks {MAIN_CLK}]
|
||||
|
||||
# 16 MHz to 33 MHz
|
||||
set_false_path -from [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[1]}] -to [get_clocks {MAIN_CLK}]
|
||||
set_false_path -from [get_clocks {MAIN_CLK}] -to [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[1]}]
|
||||
|
||||
# 25 MHz to 33 MHz
|
||||
set_false_path -from [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[2]}] -to [get_clocks {MAIN_CLK}]
|
||||
set_false_path -from [get_clocks {MAIN_CLK}] -to [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[2]}]
|
||||
set_false_path -from [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -to [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}]
|
||||
set_false_path -from [get_clocks {i_mfp_acia_clk_pll|altpll_component|auto_generated|pll1|clk[2]}] -to [get_clocks {MAIN_CLK}]
|
||||
|
||||
|
||||
set_false_path -from [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[2]}] -to [get_clocks {i_video_clk_pll|altpll_component|auto_generated|pll1|clk[0]}]
|
||||
set_false_path -from [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[2]}] -to [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}]
|
||||
|
||||
set_false_path -from [get_clocks {i_video_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -to [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[2]}]
|
||||
|
||||
set_false_path -from [get_clocks {i_video_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -to [get_clocks {MAIN_CLK}]
|
||||
set_false_path -from [get_clocks {MAIN_CLK}] -to [get_clocks {i_video_clk_pll|altpll_component|auto_generated|pll1|clk[0]}]
|
||||
|
||||
set_false_path -from [get_clocks {i_video_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -to [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}]
|
||||
set_false_path -from [get_clocks {i_video_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] -to [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[0]}]
|
||||
|
||||
set_false_path -from [get_keepers {*rdptr_g*}] -to [get_keepers {*ws_dgrp|dffpipe_id9:dffpipe17|dffe18a*}]
|
||||
set_false_path -from [get_keepers {*delayed_wrptr_g*}] -to [get_keepers {*rs_dgwp|dffpipe_hd9:dffpipe12|dffe13a*}]
|
||||
set_false_path -from [get_keepers {*rdptr_g*}] -to [get_keepers {*ws_dgrp|dffpipe_kd9:dffpipe15|dffe16a*}]
|
||||
set_false_path -from [get_keepers {*delayed_wrptr_g*}] -to [get_keepers {*rs_dgwp|dffpipe_jd9:dffpipe12|dffe13a*}]
|
||||
set_false_path -from [get_keepers {*rdptr_g*}] -to [get_keepers {*ws_dgrp|dffpipe_re9:dffpipe19|dffe20a*}]
|
||||
|
||||
|
||||
#**************************************************************
|
||||
# Set Multicycle Path
|
||||
#**************************************************************
|
||||
|
||||
#**************************************************************
|
||||
# Set Maximum Delay
|
||||
#**************************************************************
|
||||
|
||||
#**************************************************************
|
||||
# Set Minimum Delay
|
||||
#**************************************************************
|
||||
|
||||
#**************************************************************
|
||||
# Set Input Transition
|
||||
#**************************************************************
|
||||
@@ -1,665 +0,0 @@
|
||||
library ieee;
|
||||
use ieee.std_logic_1164.all;
|
||||
|
||||
library altera;
|
||||
use altera.altera_primitives_components.all;
|
||||
|
||||
library work;
|
||||
|
||||
entity firebee1 is
|
||||
port
|
||||
(
|
||||
MAIN_CLK : in std_logic;
|
||||
nRSTO_MCF : in std_logic;
|
||||
CLK33MDIR : in std_logic;
|
||||
|
||||
-- the ColdFire FlexBus signals
|
||||
FB_ALE : in std_logic;
|
||||
FB_AD : inout std_logic_vector(31 downto 0);
|
||||
nFB_OE : in std_logic;
|
||||
nFB_WR : in std_logic;
|
||||
nFB_TA : out std_logic;
|
||||
nFB_CS1 : in std_logic;
|
||||
nFB_CS2 : in std_logic;
|
||||
nFB_CS3 : in std_logic;
|
||||
FB_SIZE0 : in std_logic;
|
||||
FB_SIZE1 : in std_logic;
|
||||
nFB_BURST : in std_logic;
|
||||
|
||||
|
||||
-- serial port pins
|
||||
RxD : in std_logic;
|
||||
CTS : in std_logic;
|
||||
RI : in std_logic;
|
||||
DCD : in std_logic;
|
||||
TxD : out std_logic;
|
||||
RTS : out std_logic;
|
||||
DTR : out std_logic;
|
||||
|
||||
-- parallel port
|
||||
LP_D : inout std_logic_vector(7 downto 0);
|
||||
LP_STR : out std_logic;
|
||||
LPDIR : out std_logic;
|
||||
LP_BUSY : in std_logic;
|
||||
|
||||
AMKB_RX : in std_logic;
|
||||
PIC_AMKB_RX : in std_logic;
|
||||
|
||||
IDE_RDY : in std_logic;
|
||||
IDE_INT : in std_logic;
|
||||
WP_CF_CARD : in std_logic;
|
||||
TRACK00 : in std_logic;
|
||||
nWP : in std_logic;
|
||||
nDCHG : in std_logic;
|
||||
SD_DATA0 : in std_logic;
|
||||
SD_DATA1 : in std_logic;
|
||||
SD_DATA2 : in std_logic;
|
||||
sd_card_detect : in std_logic;
|
||||
nSCSI_DRQ : in std_logic;
|
||||
SD_WP : in std_logic;
|
||||
nRD_DATA : in std_logic;
|
||||
|
||||
nSCSI_C_D : in std_logic;
|
||||
nSCSI_I_O : in std_logic;
|
||||
nSCSI_MSG : in std_logic;
|
||||
nDACK0 : in std_logic;
|
||||
|
||||
PIC_INT : in std_logic;
|
||||
TOUT0 : in std_logic;
|
||||
nMASTER : in std_logic;
|
||||
DVI_INT : in std_logic;
|
||||
nDACK1 : in std_logic;
|
||||
|
||||
nPCI_INTD : in std_logic;
|
||||
nPCI_INTC : in std_logic;
|
||||
nPCI_INTB : in std_logic;
|
||||
nPCI_INTA : in std_logic;
|
||||
|
||||
E0_INT : in std_logic;
|
||||
|
||||
nINDEX : in std_logic;
|
||||
HD_DD : in std_logic;
|
||||
|
||||
SCSI_PAR : inout std_logic;
|
||||
nSCSI_RST : inout std_logic;
|
||||
nSCSI_SEL : inout std_logic;
|
||||
nSCSI_BUSY : inout std_logic;
|
||||
SCSI_D : inout std_logic_vector(7 downto 0);
|
||||
nSCSI_ACK : out std_logic;
|
||||
nSCSI_ATN : out std_logic;
|
||||
SCSI_DIR : out std_logic;
|
||||
|
||||
SD_CD_DATA3 : inout std_logic;
|
||||
SD_CMD_D1 : inout std_logic;
|
||||
MIDI_IN_PIN : inout std_logic;
|
||||
|
||||
|
||||
IO : inout std_logic_vector(17 downto 0);
|
||||
|
||||
SRD : inout std_logic_vector(15 downto 0);
|
||||
VD : inout std_logic_vector(31 downto 0);
|
||||
VDQS : inout std_logic_vector(3 downto 0);
|
||||
|
||||
nACSI_DRQ : in std_logic;
|
||||
nACSI_INT : in std_logic;
|
||||
nACSI_ACK : out std_logic;
|
||||
nACSI_RESET : out std_logic;
|
||||
nACSI_CS : out std_logic;
|
||||
ACSI_DIR : out std_logic;
|
||||
ACSI_A1 : out std_logic;
|
||||
ACSI_D : inout std_logic_vector(7 downto 0);
|
||||
|
||||
MIDI_TLR : out std_logic;
|
||||
AMKB_TX : out std_logic;
|
||||
|
||||
IDE_RES : out std_logic;
|
||||
nIDE_CS0 : out std_logic;
|
||||
nIDE_CS1 : out std_logic;
|
||||
nIDE_WR : out std_logic;
|
||||
nIDE_RD : out std_logic;
|
||||
nCF_CS0 : out std_logic;
|
||||
nCF_CS1 : out std_logic;
|
||||
nROM3 : out std_logic;
|
||||
nROM4 : out std_logic;
|
||||
nRP_UDS : out std_logic;
|
||||
nRP_LDS : out std_logic;
|
||||
nSDSEL : out std_logic;
|
||||
nWR_GATE : out std_logic;
|
||||
nWR : out std_logic;
|
||||
|
||||
YM_QA : out std_logic;
|
||||
YM_QB : out std_logic;
|
||||
YM_QC : out std_logic;
|
||||
|
||||
SD_CLK : out std_logic;
|
||||
DSA_D : out std_logic;
|
||||
nPD_VGA : out std_logic;
|
||||
TIN0 : out std_logic;
|
||||
nSRCS : out std_logic;
|
||||
nSRBLE : out std_logic;
|
||||
nSRBHE : out std_logic;
|
||||
nSRWE : out std_logic;
|
||||
nDREQ1 : out std_logic;
|
||||
|
||||
LED_FPGA_OK : out std_logic;
|
||||
|
||||
nSROE : out std_logic;
|
||||
nSYNC : out std_logic;
|
||||
nMOT_ON : out std_logic;
|
||||
nSTEP_DIR : out std_logic;
|
||||
nSTEP : out std_logic;
|
||||
|
||||
MIDI_OLR : out std_logic;
|
||||
CLK25M : out std_logic;
|
||||
CLKUSB : out std_logic;
|
||||
CLK24M576 : out std_logic;
|
||||
|
||||
nIRQ : out std_logic_vector(7 downto 2);
|
||||
|
||||
-- DDR memory signals
|
||||
BA : out std_logic_vector(1 downto 0);
|
||||
VA : out std_logic_vector(12 downto 0);
|
||||
VDM : out std_logic_vector(3 downto 0);
|
||||
VCKE : out std_logic;
|
||||
nDDR_CLK : out std_logic;
|
||||
DDR_CLK : out std_logic;
|
||||
nVWE : out std_logic;
|
||||
nVCAS : out std_logic;
|
||||
nVRAS : out std_logic;
|
||||
nVCS : out std_logic;
|
||||
|
||||
-- video signals
|
||||
VR : out std_logic_vector(7 downto 0);
|
||||
VG : out std_logic_vector(7 downto 0);
|
||||
VB : out std_logic_vector(7 downto 0);
|
||||
VSYNC_PAD : out std_logic;
|
||||
HSYNC_PAD : out std_logic;
|
||||
nBLANK_PAD : out std_logic;
|
||||
PIXEL_CLK_PAD : out std_logic
|
||||
);
|
||||
end firebee1;
|
||||
|
||||
architecture rtl of firebee1 is
|
||||
signal acp_conf : std_logic_vector(31 downto 0);
|
||||
signal clk25m_i : std_logic;
|
||||
signal clk2m : std_logic;
|
||||
signal clk2m4576 : std_logic;
|
||||
signal clk33m : std_logic;
|
||||
signal clk48m : std_logic;
|
||||
signal clk500k : std_logic;
|
||||
signal clk_video : std_logic;
|
||||
signal ddr_sync_66m : std_logic;
|
||||
signal ddrclk : std_logic_vector(3 downto 0);
|
||||
signal dma_drq : std_logic;
|
||||
signal dsp_int : std_logic;
|
||||
signal dsp_ta : std_logic;
|
||||
signal falcon_io_ta : std_logic;
|
||||
signal fb_adr : std_logic_vector(31 downto 0);
|
||||
signal fdc_clk : std_logic;
|
||||
signal hsync : std_logic;
|
||||
signal int_handler_ta : std_logic;
|
||||
signal lp_dir : std_logic;
|
||||
signal midi_in : std_logic;
|
||||
signal mot_on : std_logic;
|
||||
signal blank_n : std_logic;
|
||||
signal dreq0_n : std_logic;
|
||||
signal mfp_int_n : std_logic;
|
||||
signal rsto_n : std_logic;
|
||||
signal pixel_clk : std_logic;
|
||||
signal sd_cdm_d1 : std_logic;
|
||||
signal step : std_logic;
|
||||
signal step_dir : std_logic;
|
||||
signal timebase : std_logic_vector(17 downto 0);
|
||||
signal video_reconfig : std_logic;
|
||||
signal video_ta : std_logic;
|
||||
signal vr_busy : std_logic;
|
||||
signal vr_d : std_logic_vector(8 downto 0);
|
||||
signal vr_rd : std_logic;
|
||||
signal vr_wr : std_logic;
|
||||
signal vsync : std_logic;
|
||||
signal wr_data : std_logic;
|
||||
signal wr_gate : std_logic;
|
||||
signal scandataout : std_logic;
|
||||
signal scandone : std_logic;
|
||||
signal reset : std_logic;
|
||||
signal pll_reset : std_logic;
|
||||
signal scanclk : std_logic;
|
||||
signal scandata : std_logic;
|
||||
signal scan_clkena : std_logic;
|
||||
signal config_update : std_logic;
|
||||
signal pll3_locked : std_logic;
|
||||
signal pll1_locked : std_logic;
|
||||
signal srcs_n_i : std_logic;
|
||||
signal fb_wr_n_i : std_logic;
|
||||
signal ide_rd_n_i : std_logic;
|
||||
signal ide_wr_n_i : std_logic;
|
||||
signal fb_ad_in : std_logic_vector(31 downto 0);
|
||||
signal fb_ad_out : std_logic_vector(31 downto 0);
|
||||
|
||||
component altpll_reconfig1
|
||||
port
|
||||
(
|
||||
clock : in std_logic;
|
||||
counter_param : in std_logic_vector (2 downto 0);
|
||||
counter_type : in std_logic_vector (3 downto 0);
|
||||
data_in : in std_logic_vector (8 downto 0);
|
||||
pll_areset_in : in std_logic := '0';
|
||||
pll_scandataout : in std_logic;
|
||||
pll_scandone : in std_logic;
|
||||
read_param : in std_logic;
|
||||
reconfig : in std_logic;
|
||||
reset : in std_logic;
|
||||
write_param : in std_logic;
|
||||
busy : out std_logic;
|
||||
data_out : out std_logic_vector (8 downto 0);
|
||||
pll_areset : out std_logic;
|
||||
pll_configupdate : out std_logic;
|
||||
pll_scanclk : out std_logic;
|
||||
pll_scanclkena : out std_logic;
|
||||
pll_scandata : out std_logic
|
||||
);
|
||||
end component altpll_reconfig1;
|
||||
|
||||
component altpll4
|
||||
port
|
||||
(
|
||||
areset : in std_logic := '0';
|
||||
configupdate : in std_logic := '0';
|
||||
inclk0 : in std_logic := '0';
|
||||
scanclk : in std_logic := '1';
|
||||
scanclkena : in std_logic := '0';
|
||||
scandata : in std_logic := '0';
|
||||
c0 : out std_logic;
|
||||
locked : out std_logic;
|
||||
scandataout : out std_logic;
|
||||
scandone : out std_logic
|
||||
);
|
||||
end component altpll4;
|
||||
|
||||
begin
|
||||
nDREQ1 <= nDACK1;
|
||||
|
||||
i_atari_clk_pll : work.altpll3
|
||||
port map
|
||||
(
|
||||
inclk0 => MAIN_CLK,
|
||||
c0 => clk25m_i,
|
||||
c1 => clk2m,
|
||||
c2 => clk500k,
|
||||
c3 => clk2m4576,
|
||||
locked => pll3_locked
|
||||
);
|
||||
|
||||
|
||||
i_ddr_clk_pll : work.altpll2
|
||||
port map
|
||||
(
|
||||
inclk0 => MAIN_CLK,
|
||||
c0 => ddrclk(0),
|
||||
c1 => ddrclk(1),
|
||||
c2 => ddrclk(2),
|
||||
c3 => ddrclk(3),
|
||||
c4 => ddr_sync_66m
|
||||
);
|
||||
|
||||
i_dsp : work.dsp
|
||||
port map
|
||||
(
|
||||
clk33m => main_clk,
|
||||
MAIN_CLK => MAIN_CLK,
|
||||
nFB_OE => nFB_OE,
|
||||
nFB_WR => nFB_WR,
|
||||
nFB_CS1 => nFB_CS1,
|
||||
nFB_CS2 => nFB_CS2,
|
||||
FB_SIZE0 => FB_SIZE0,
|
||||
FB_SIZE1 => FB_SIZE1,
|
||||
nFB_BURST => nFB_BURST,
|
||||
nrsto => rsto_n,
|
||||
nFB_CS3 => nFB_CS3,
|
||||
fb_ad_in => fb_ad_in,
|
||||
fb_ad_out => fb_ad_out,
|
||||
fb_adr => fb_adr,
|
||||
IO => IO,
|
||||
SRD => SRD,
|
||||
nSRCS => srcs_n_i,
|
||||
nSRBLE => nSRBLE,
|
||||
nSRBHE => nSRBHE,
|
||||
nSRWE => nSRWE,
|
||||
nSROE => nSROE,
|
||||
dsp_int => dsp_int,
|
||||
dsp_ta => dsp_ta
|
||||
);
|
||||
|
||||
i_falconio_sdcard_ide_cf : entity work.falconio_sdcard_ide_cf
|
||||
port map
|
||||
(
|
||||
clk33m => main_clk,
|
||||
MAIN_CLK => MAIN_CLK,
|
||||
clk2m => clk2m,
|
||||
clk500k => clk500k,
|
||||
nFB_CS1 => nFB_CS1,
|
||||
FB_SIZE0 => FB_SIZE0,
|
||||
FB_SIZE1 => FB_SIZE1,
|
||||
nFB_BURST => nFB_BURST,
|
||||
LP_BUSY => LP_BUSY,
|
||||
nACSI_DRQ => nACSI_DRQ,
|
||||
nACSI_INT => nACSI_INT,
|
||||
nSCSI_DRQ => nSCSI_DRQ,
|
||||
nSCSI_MSG => nSCSI_MSG,
|
||||
midi_in => midi_in,
|
||||
RxD => RxD,
|
||||
CTS => CTS,
|
||||
RI => RI,
|
||||
DCD => DCD,
|
||||
AMKB_RX => AMKB_RX,
|
||||
PIC_AMKB_RX => PIC_AMKB_RX,
|
||||
IDE_RDY => IDE_RDY,
|
||||
IDE_INT => IDE_INT,
|
||||
WP_CS_CARD => '0',
|
||||
nINDEX => nINDEX,
|
||||
TRACK00 => TRACK00,
|
||||
nRD_DATA => nRD_DATA,
|
||||
nDCHG => nDCHG,
|
||||
SD_DATA0 => SD_DATA0,
|
||||
SD_DATA1 => SD_DATA1,
|
||||
SD_DATA2 => SD_DATA2,
|
||||
sd_card_dedect => sd_card_detect,
|
||||
SD_WP => SD_WP,
|
||||
nDACK0 => nDACK0,
|
||||
nFB_WR => nFB_WR,
|
||||
WP_CF_CARD => WP_CF_CARD,
|
||||
nWP => nWP,
|
||||
nFB_CS2 => nFB_CS2,
|
||||
nrsto => rsto_n,
|
||||
nSCSI_C_D => nSCSI_C_D,
|
||||
nSCSI_I_O => nSCSI_I_O,
|
||||
clk2m4576 => clk2m4576,
|
||||
nFB_OE => nFB_OE,
|
||||
vsync => vsync,
|
||||
hsync => hsync,
|
||||
dsp_int => dsp_int,
|
||||
nblank => blank_n,
|
||||
fdc_clk => fdc_clk,
|
||||
FB_ALE => FB_ALE,
|
||||
HD_DD => HD_DD,
|
||||
SCSI_PAR => SCSI_PAR,
|
||||
nSCSI_SEL => nSCSI_SEL,
|
||||
nSCSI_BUSY => nSCSI_BUSY,
|
||||
nSCSI_RST => nSCSI_RST,
|
||||
SD_CD_DATA3 => SD_CD_DATA3,
|
||||
sd_cdm_d1 => sd_cdm_d1,
|
||||
acp_conf => acp_conf(31 downto 24),
|
||||
ACSI_D => ACSI_D,
|
||||
fb_ad_in => fb_ad_in,
|
||||
fb_ad_out => fb_ad_out,
|
||||
fb_adr => fb_adr,
|
||||
LP_D => LP_D,
|
||||
SCSI_D => SCSI_D,
|
||||
nIDE_CS1 => nIDE_CS1,
|
||||
nIDE_CS0 => nIDE_CS0,
|
||||
LP_STR => LP_STR,
|
||||
lp_dir => lp_dir,
|
||||
nACSI_ACK => nACSI_ACK,
|
||||
nACSI_RESET => nACSI_RESET,
|
||||
nACSI_CS => nACSI_CS,
|
||||
ACSI_DIR => ACSI_DIR,
|
||||
ACSI_A1 => ACSI_A1,
|
||||
nSCSI_ACK => nSCSI_ACK,
|
||||
nSCSI_ATN => nSCSI_ATN,
|
||||
SCSI_DIR => SCSI_DIR,
|
||||
SD_CLK => SD_CLK,
|
||||
YM_QA => YM_QA,
|
||||
YM_QC => YM_QC,
|
||||
YM_QB => YM_QB,
|
||||
nSDSEL => nSDSEL,
|
||||
step => step,
|
||||
mot_on => mot_on,
|
||||
nRP_LDS => nRP_LDS,
|
||||
nRP_UDS => nRP_UDS,
|
||||
nROM4 => nROM4,
|
||||
nROM3 => nROM3,
|
||||
nCF_CS1 => nCF_CS1,
|
||||
nCF_CS0 => nCF_CS0,
|
||||
nIDE_RD => ide_rd_n_i,
|
||||
nIDE_WR => ide_wr_n_i,
|
||||
AMKB_TX => AMKB_TX,
|
||||
IDE_RES => IDE_RES,
|
||||
DTR => DTR,
|
||||
RTS => RTS,
|
||||
TxD => TxD,
|
||||
MIDI_OLR => MIDI_OLR,
|
||||
DSA_D => DSA_D,
|
||||
nmfp_int => mfp_int_n,
|
||||
falcon_io_ta => falcon_io_ta,
|
||||
step_dir => step_dir,
|
||||
wr_data => wr_data,
|
||||
wr_gate => wr_gate,
|
||||
dma_drq => dma_drq,
|
||||
MIDI_TLR => MIDI_TLR
|
||||
);
|
||||
|
||||
|
||||
i_interrupt_handler : entity work.interrupt_handler
|
||||
port map
|
||||
(
|
||||
MAIN_CLK => MAIN_CLK,
|
||||
nFB_WR => nFB_WR,
|
||||
nFB_CS1 => nFB_CS1,
|
||||
nFB_CS2 => nFB_CS2,
|
||||
FB_SIZE0 => FB_SIZE0,
|
||||
FB_SIZE1 => FB_SIZE1,
|
||||
PIC_INT => PIC_INT,
|
||||
E0_INT => E0_INT,
|
||||
DVI_INT => DVI_INT,
|
||||
nPCI_INTA => nPCI_INTA,
|
||||
nPCI_INTB => nPCI_INTB,
|
||||
nPCI_INTC => nPCI_INTC,
|
||||
nPCI_INTD => nPCI_INTD,
|
||||
nmfp_int => mfp_int_n,
|
||||
nFB_OE => nFB_OE,
|
||||
dsp_int => dsp_int,
|
||||
vsync => vsync,
|
||||
hsync => hsync,
|
||||
dma_drq => dma_drq,
|
||||
nrsto => rsto_n,
|
||||
fb_ad_in => fb_ad_in,
|
||||
fb_ad_out => fb_ad_out,
|
||||
fb_adr => fb_adr,
|
||||
int_handler_ta => int_handler_ta,
|
||||
TIN0 => TIN0,
|
||||
acp_conf => acp_conf,
|
||||
nIRQ => nIRQ
|
||||
);
|
||||
|
||||
i_mfp_acia_clk_pll : entity work.altpll1
|
||||
port map
|
||||
(
|
||||
inclk0 => MAIN_CLK,
|
||||
c0 => clk48m,
|
||||
c1 => fdc_clk,
|
||||
c2 => CLK24M576,
|
||||
locked => pll1_locked
|
||||
);
|
||||
|
||||
|
||||
i_pll_reconfig : altpll_reconfig1
|
||||
port map
|
||||
(
|
||||
reconfig => video_reconfig,
|
||||
read_param => vr_rd,
|
||||
write_param => vr_wr,
|
||||
pll_areset_in => '0',
|
||||
pll_scandataout => scandataout,
|
||||
pll_scandone => scandone,
|
||||
clock => MAIN_CLK,
|
||||
reset => reset,
|
||||
counter_param => fb_adr(8 downto 6),
|
||||
counter_type => fb_adr(5 downto 2),
|
||||
data_in => FB_AD(24 downto 16),
|
||||
busy => vr_busy,
|
||||
pll_scandata => scandata,
|
||||
pll_scanclk => scanclk,
|
||||
pll_scanclkena => scan_clkena,
|
||||
pll_configupdate => config_update,
|
||||
pll_areset => pll_reset,
|
||||
data_out => vr_d
|
||||
);
|
||||
|
||||
i_video : entity work.video
|
||||
port map
|
||||
(
|
||||
MAIN_CLK => MAIN_CLK,
|
||||
nFB_CS1 => nFB_CS1,
|
||||
nFB_CS2 => nFB_CS2,
|
||||
nFB_CS3 => nFB_CS3,
|
||||
nFB_WR => nFB_WR,
|
||||
FB_SIZE0 => FB_SIZE0,
|
||||
FB_SIZE1 => FB_SIZE1,
|
||||
nrsto => rsto_n,
|
||||
nFB_OE => nFB_OE,
|
||||
FB_ALE => FB_ALE,
|
||||
ddr_sync_66m => ddr_sync_66m,
|
||||
-- clk33m => clk33m,
|
||||
clk33m => main_clk,
|
||||
CLK25M => clk25m_i,
|
||||
clk_video => clk_video,
|
||||
vr_busy => vr_busy,
|
||||
ddrclk => ddrclk,
|
||||
fb_ad_in => fb_ad_in,
|
||||
fb_ad_out => fb_ad_out,
|
||||
fb_adr => fb_adr,
|
||||
VD => VD,
|
||||
VDQS => VDQS,
|
||||
vr_d => vr_d,
|
||||
vr_rd => vr_rd,
|
||||
nblank => blank_n,
|
||||
nVWE => nVWE,
|
||||
nVCAS => nVCAS,
|
||||
nVRAS => nVRAS,
|
||||
nVCS => nVCS,
|
||||
nPD_VGA => nPD_VGA,
|
||||
VCKE => VCKE,
|
||||
vsync => vsync,
|
||||
hsync => hsync,
|
||||
nSYNC => nSYNC,
|
||||
VIDEO_TA => video_ta,
|
||||
pixel_clk => pixel_clk,
|
||||
video_reconfig => video_reconfig,
|
||||
vr_wr => vr_wr,
|
||||
BA => BA,
|
||||
VA => VA,
|
||||
VB => VB,
|
||||
VDM => VDM,
|
||||
VG => VG,
|
||||
VR => VR
|
||||
);
|
||||
|
||||
i_video_clk_pll : altpll4
|
||||
port map
|
||||
(
|
||||
inclk0 => clk48m,
|
||||
areset => pll_reset,
|
||||
scanclk => scanclk,
|
||||
scandata => scandata,
|
||||
scanclkena => scan_clkena,
|
||||
configupdate => config_update,
|
||||
c0 => clk_video,
|
||||
scandataout => scandataout,
|
||||
scandone => scandone
|
||||
);
|
||||
|
||||
|
||||
i_fb_adr_latch : entity work.lpm_ff0
|
||||
port map
|
||||
(
|
||||
clock => ddr_sync_66m,
|
||||
enable => FB_ALE,
|
||||
data => FB_AD,
|
||||
q => fb_adr
|
||||
);
|
||||
|
||||
nMOT_ON <= not(mot_on);
|
||||
nSTEP_DIR <= not(step_dir);
|
||||
nSTEP <= not(step);
|
||||
nWR <= not(wr_data);
|
||||
|
||||
inst18 : entity work.lpm_counter0
|
||||
port map
|
||||
(
|
||||
clock => clk500k,
|
||||
q => timebase
|
||||
);
|
||||
|
||||
|
||||
nWR_GATE <= not(wr_gate);
|
||||
|
||||
nFB_TA <= not(video_ta or int_handler_ta or dsp_ta or falcon_io_ta);
|
||||
fb_ad_in <= FB_AD;
|
||||
FB_AD <= fb_ad_out when (video_ta or int_handler_ta or dsp_ta or falcon_io_ta) else (others => 'Z');
|
||||
|
||||
clk33m <= MAIN_CLK;
|
||||
|
||||
reset <= not(rsto_n);
|
||||
rsto_n <= pll3_locked and pll1_locked and nRSTO_MCF;
|
||||
|
||||
inst29 : alt_iobuf
|
||||
port map
|
||||
(
|
||||
i => clk2m,
|
||||
oe => clk2m,
|
||||
io => MIDI_IN_PIN,
|
||||
o => midi_in
|
||||
);
|
||||
|
||||
led_fpga_ok <= timebase(17);
|
||||
|
||||
nDDR_CLK <= not(ddrclk(0));
|
||||
|
||||
inst5 : entity work.altddio_out3
|
||||
port map
|
||||
(
|
||||
datain_h => vsync,
|
||||
datain_l => vsync,
|
||||
outclock => pixel_clk,
|
||||
dataout => VSYNC_PAD
|
||||
);
|
||||
|
||||
|
||||
inst6 : entity work.altddio_out3
|
||||
port map
|
||||
(
|
||||
datain_h => hsync,
|
||||
datain_l => hsync,
|
||||
outclock => pixel_clk,
|
||||
dataout => HSYNC_PAD
|
||||
);
|
||||
|
||||
|
||||
inst8 : entity work.altddio_out3
|
||||
port map
|
||||
(
|
||||
datain_h => blank_n,
|
||||
datain_l => blank_n,
|
||||
outclock => pixel_clk,
|
||||
dataout => nBLANK_PAD
|
||||
);
|
||||
|
||||
inst9 : entity work.altddio_out3
|
||||
port map
|
||||
(
|
||||
datain_h => '0',
|
||||
datain_l => '1',
|
||||
outclock => pixel_clk,
|
||||
dataout => PIXEL_CLK_PAD
|
||||
);
|
||||
|
||||
SD_CMD_D1 <= sd_cdm_d1;
|
||||
DDR_CLK <= ddrclk(0);
|
||||
LPDIR <= lp_dir;
|
||||
CLK25M <= clk25m_i;
|
||||
CLKUSB <= clk48m;
|
||||
nSRCS <= srcs_n_i;
|
||||
|
||||
nIDE_RD <= ide_rd_n_i;
|
||||
nIDE_WR <= ide_wr_n_i;
|
||||
end rtl;
|
||||
@@ -1,205 +0,0 @@
|
||||
#--------------------------------------------------------------#
|
||||
# #
|
||||
# Synopsis design constraints for the Firebee project #
|
||||
# #
|
||||
# This file is part of the Firebee ACP project. #
|
||||
# http://www.experiment-s.de #
|
||||
# #
|
||||
# Description: #
|
||||
# timing constraints for the Firebee VHDL config #
|
||||
# #
|
||||
# #
|
||||
# #
|
||||
# To Do: #
|
||||
# - #
|
||||
# #
|
||||
# Author(s): #
|
||||
# Markus Fröschle, mfro@mubf.de #
|
||||
# #
|
||||
#--------------------------------------------------------------#
|
||||
# #
|
||||
# Copyright (C) 2015 Markus Fröschle & the ACP project #
|
||||
# #
|
||||
# This source file may be used and distributed without #
|
||||
# restriction provided that this copyright statement is not #
|
||||
# removed from the file and that any derivative work contains #
|
||||
# the original copyright notice and the associated disclaimer. #
|
||||
# #
|
||||
# This source file is free software; you can redistribute it #
|
||||
# and/or modify it under the terms of the GNU Lesser General #
|
||||
# Public License as published by the Free Software Foundation; #
|
||||
# either version 2.1 of the License, or (at your option) any #
|
||||
# later version. #
|
||||
# #
|
||||
# This source is distributed in the hope that it will be #
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied #
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR #
|
||||
# PURPOSE. See the GNU Lesser General Public License for more #
|
||||
# details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU Lesser General #
|
||||
# Public License along with this source; if not, download it #
|
||||
# from http://www.gnu.org/licenses/lgpl.html #
|
||||
# #
|
||||
################################################################
|
||||
|
||||
#**************************************************************
|
||||
# Time Information
|
||||
#**************************************************************
|
||||
|
||||
set_time_format -unit ns -decimal_places 3
|
||||
|
||||
|
||||
|
||||
#**************************************************************
|
||||
# Create Clock
|
||||
#**************************************************************
|
||||
|
||||
create_clock -name {MAIN_CLK} -period 30.303 -waveform { 0.000 15.151 } [get_ports {MAIN_CLK}]
|
||||
|
||||
# Clocks used:
|
||||
# MAIN_CLK 33MHz
|
||||
#
|
||||
# PLL1: i_mfp_acia_clk_pll
|
||||
# input: MAIN_CLK
|
||||
# c0: 500 kHz
|
||||
# c1: 2.4576 MHz
|
||||
# c2: 24.576 MHz
|
||||
#
|
||||
# PLL2: i_ddr_clock_pll
|
||||
# input: MAIN_CLK
|
||||
# c0: 132 MHz 240°
|
||||
# c1: 132 MHz 0°
|
||||
# c2: 132 MHz 180°
|
||||
# c3: 132 MHz 105°
|
||||
# c4: 66 MHz 270°
|
||||
#
|
||||
# PLL3: i_atari_clk_pll
|
||||
# input: MAIN_CLK
|
||||
# c0: 2 MHz
|
||||
# c1: 16 MHz
|
||||
# c2: 25 MHz
|
||||
# c3: 48 MHz
|
||||
#
|
||||
# PLL4_ i_video_clk_pll
|
||||
# input: USB_CLK (48 MHz, PLL3 c3)
|
||||
# c0: 96 MHz, programmable in 1MHz steps
|
||||
#
|
||||
#**************************************************************
|
||||
# Create Generated Clock
|
||||
#**************************************************************
|
||||
|
||||
derive_pll_clocks
|
||||
|
||||
# two (video) clocks created by logic
|
||||
create_generated_clock -divide_by 2 -source MAIN_CLK i_video|i_video_mod_mux_clutctr|CLK17M_q
|
||||
create_generated_clock -divide_by 2 -source i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[0] i_video|i_video_mod_mux_clutctr|CLK13M_q
|
||||
|
||||
# PIXEL_CLK is either
|
||||
# CLK13M, CLK17M, CLK25M, CLK33M or CLK_VIDEO
|
||||
# where CLK13M is half of CLK25M,
|
||||
# CLK17M is half of CLK33M and CLK_VIDEO is the freely programmable
|
||||
# clock of i_video_clk_pll
|
||||
#
|
||||
|
||||
# virtual clocks for i/o constraints
|
||||
create_clock -name virt_main_clk -period 30.303 -waveform { 0.000 15.151 }
|
||||
|
||||
create_clock -name virt_ddr_clk0 -period 7.575 -waveform { 0.666 4.456 }
|
||||
create_clock -name virt_ddr_clk1 -period 7.575 -waveform { 0.0 3.788 }
|
||||
create_clock -name virt_ddr_clk2 -period 7.575 -waveform { 0.5 4.288 }
|
||||
create_clock -name virt_ddr_clk3 -period 7.575 -waveform { 0.291 4.080 }
|
||||
|
||||
#**************************************************************
|
||||
# Set Clock Latency
|
||||
#**************************************************************
|
||||
|
||||
|
||||
|
||||
#**************************************************************
|
||||
# Set Clock Uncertainty
|
||||
#**************************************************************
|
||||
|
||||
# set_clock_uncertainty -rise_from [get_clocks {MAIN_CLK}] -rise_to [get_clocks {MAIN_CLK}] 4.5
|
||||
# set_clock_uncertainty -rise_from [get_clocks {MAIN_CLK}] -fall_to [get_clocks {MAIN_CLK}] 4.5
|
||||
derive_clock_uncertainty
|
||||
|
||||
|
||||
#**************************************************************
|
||||
# Set Input Delay
|
||||
#**************************************************************
|
||||
|
||||
#set_input_delay -add_delay -clock [get_clocks {MAIN_CLK}] -max 1.500 [all_inputs]
|
||||
#set_input_delay -add_delay -clock [get_clocks {MAIN_CLK}] -min 0.500 [all_inputs]
|
||||
|
||||
|
||||
#**************************************************************
|
||||
# Set Output Delay
|
||||
#**************************************************************
|
||||
|
||||
#set_output_delay -add_delay -clock [get_clocks {MAIN_CLK}] -max 2.500 [all_outputs]
|
||||
#set_output_delay -add_delay -clock [get_clocks {MAIN_CLK}] -min 0.500 [all_outputs]
|
||||
|
||||
|
||||
#**************************************************************
|
||||
# Set Clock Groups
|
||||
#**************************************************************
|
||||
|
||||
set_clock_groups -asynchronous -group [get_clocks {MAIN_CLK}] \
|
||||
[get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[4]}] \
|
||||
-group [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] \
|
||||
[get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[1]}] \
|
||||
[get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[2]}] \
|
||||
[get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[3]}] \
|
||||
-group [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] \
|
||||
-group [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[1]}] \
|
||||
-group [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[2]}] \
|
||||
-group [get_clocks {i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[3]}] \
|
||||
-group [get_clocks {i_mfp_acia_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] \
|
||||
-group [get_clocks {i_mfp_acia_clk_pll|altpll_component|auto_generated|pll1|clk[1]}] \
|
||||
-group [get_clocks {i_mfp_acia_clk_pll|altpll_component|auto_generated|pll1|clk[2]}] \
|
||||
-group [get_clocks {i_video_clk_pll|altpll_component|auto_generated|pll1|clk[0]}] \
|
||||
-group [get_clocks {video:i_video|video_mod_mux_clutctr:i_video_mod_mux_clutctr|CLK17M_q}] \
|
||||
-group [get_clocks {video:i_video|video_mod_mux_clutctr:i_video_mod_mux_clutctr|CLK13M_q}]
|
||||
|
||||
|
||||
#**************************************************************
|
||||
# Set False Path
|
||||
#**************************************************************
|
||||
|
||||
#**************************************************************
|
||||
# Set Multicycle Path
|
||||
#**************************************************************
|
||||
|
||||
#set_multicycle_path -start -from video:i_video|video_mod_mux_clutctr:i_video_mod_mux_clutctr|CLK17M_q -to i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[0] 2
|
||||
#set_multicycle_path -start -from video:i_video|video_mod_mux_clutctr:i_video_mod_mux_clutctr|CLK13M_q -to i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[0] 2
|
||||
|
||||
#set_multicycle_path -end -from video:i_video|video_mod_mux_clutctr:i_video_mod_mux_clutctr|CLK13M_q -to MAIN_CLK 2
|
||||
|
||||
#set_multicycle_path -start -from MAIN_CLK -to i_video_clk_pll|altpll_component|auto_generated|pll1|clk[0] 2
|
||||
#set_multicycle_path -start -from MAIN_CLK -to i_mfp_acia_clk_pll|altpll_component|auto_generated|pll1|clk[1] 2
|
||||
#set_multicycle_path -start -from MAIN_CLK -to i_atari_clk_pll|altpll_component|auto_generated|pll1|clk[0] 2
|
||||
|
||||
# set_multicycle_path -start -from [get_clocks {MAIN_CLK}] -to [get_clocks {i_ddr_clk_pll|altpll_component|auto_generated|pll1|clk[4]}] 2
|
||||
|
||||
#**************************************************************
|
||||
# Set Maximum Delay
|
||||
#**************************************************************
|
||||
|
||||
#**************************************************************
|
||||
# Set Minimum Delay
|
||||
#**************************************************************
|
||||
|
||||
#**************************************************************
|
||||
# Set Input Transition
|
||||
#**************************************************************
|
||||
|
||||
if { [string equal "quartus_fit" $::TimeQuestInfo(nameofexecutable)] } {
|
||||
post_message -type info "Over constraining hold for MAIN_CLK"
|
||||
set_clock_uncertainty -add -enable_same_physical_edge -from { MAIN_CLK } -to { MAIN_CLK } -hold 0.2
|
||||
}
|
||||
|
||||
if { [string equal "quartus_fit" $::TimeQuestInfo(nameofexecutable)] } {
|
||||
post_message -type info "Over constraining setup for i_video_clk_pll|altpll_component|auto_generated|pll1|clk[0]"
|
||||
set_clock_uncertainty -add -enable_same_physical_edge -from { i_video_clk_pll|altpll_component|auto_generated|pll1|clk[0] } -to { i_video_clk_pll|altpll_component|auto_generated|pll1|clk[0] } -setup 0.25
|
||||
}
|
||||
@@ -1,170 +0,0 @@
|
||||
----------------------------------------------------------------------
|
||||
---- ----
|
||||
---- This file is part of the 'Firebee' project. ----
|
||||
---- http://acp.atari.org ----
|
||||
---- ----
|
||||
---- Description: ----
|
||||
---- This package contains utility functions, procedures and constants
|
||||
---- for the Firebee project.
|
||||
----
|
||||
---- Author(s): ----
|
||||
---- - Markus Froeschle, mfro@mubf.de
|
||||
---- ----
|
||||
----------------------------------------------------------------------
|
||||
---- ----
|
||||
---- Copyright (C) 2015 Markus Froeschle
|
||||
---- ----
|
||||
---- This source file is free software; you can redistribute it ----
|
||||
---- and/or modify it under the terms of the GNU General Public ----
|
||||
---- License as published by the Free Software Foundation; either ----
|
||||
---- version 2 of the License, or (at your option) any later ----
|
||||
---- version. ----
|
||||
---- ----
|
||||
---- This program is distributed in the hope that it will be ----
|
||||
---- useful, but WITHOUT ANY WARRANTY; without even the implied ----
|
||||
---- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ----
|
||||
---- PURPOSE. See the GNU General Public License for more ----
|
||||
---- details. ----
|
||||
---- ----
|
||||
---- You should have received a copy of the GNU General Public ----
|
||||
---- License along with this program; if not, write to the Free ----
|
||||
---- Software Foundation, Inc., 51 Franklin Street, Fifth Floor, ----
|
||||
---- Boston, MA 02110-1301, USA. ----
|
||||
---- ----
|
||||
----------------------------------------------------------------------
|
||||
--
|
||||
|
||||
library ieee;
|
||||
use ieee.std_logic_1164.all;
|
||||
use ieee.numeric_std.all;
|
||||
|
||||
package firebee_utils_pkg is
|
||||
function f_addr_cmp_l(signal addr : std_logic_vector; constant addr_const : std_logic_vector) return std_logic;
|
||||
function f_addr_cmp_w(signal addr : std_logic_vector; constant addr_const : std_logic_vector) return std_logic;
|
||||
function f_addr_cmp_b(signal addr : std_logic_vector; constant addr_const : std_logic_vector) return std_logic;
|
||||
function f_addr_cmp_mask(signal addr : std_logic_vector; constant addr_const : std_logic_vector; constant num_ignore : integer) return std_logic;
|
||||
|
||||
function max(left : integer; right : integer) return integer;
|
||||
function min(left : integer; right : integer) return integer;
|
||||
|
||||
component synchronizer IS
|
||||
PORT
|
||||
(
|
||||
-- Input ports
|
||||
source_signal : in std_logic;
|
||||
|
||||
target_clock : in std_logic;
|
||||
target_signal : out std_logic
|
||||
);
|
||||
end component synchronizer;
|
||||
|
||||
-- size constants for the TSIZE vector
|
||||
type tsize_t is (SIZE_LONG, SIZE_WORD, SIZE_BYTE, SIZE_LINE, SIZE_TRISTATE);
|
||||
attribute enum_encoding : string;
|
||||
attribute enum_encoding of tsize_t: type is "00 10 01 11 ZZ";
|
||||
-- constant SIZE_LONG : std_logic_vector(1 downto 0) := "00";
|
||||
-- constant SIZE_WORD : std_logic_vector(1 downto 0) := "10";
|
||||
-- constant SIZE_BYTE : std_logic_vector(1 downto 0) := "01";
|
||||
-- constant SIZE_LINE : std_logic_vector(1 downto 0) := "11";
|
||||
end firebee_utils_pkg;
|
||||
|
||||
package body firebee_utils_pkg is
|
||||
-- returns the smaller of two integers
|
||||
function min(left : integer; right : integer) return integer is
|
||||
begin
|
||||
if left < right then
|
||||
return left;
|
||||
else
|
||||
return right;
|
||||
end if;
|
||||
end function min;
|
||||
|
||||
-- returns the larger of two integers
|
||||
function max(left : integer; right : integer) return integer is
|
||||
begin
|
||||
if left > right then
|
||||
return left;
|
||||
else
|
||||
return right;
|
||||
end if;
|
||||
end function max;
|
||||
|
||||
-- returns the number of bits needed to represent n
|
||||
function log2ceil(n : natural) return natural is
|
||||
variable n_bit : unsigned(31 downto 0);
|
||||
begin -- log2ceil
|
||||
if n = 0 then
|
||||
return 0;
|
||||
end if;
|
||||
n_bit := to_unsigned(n-1,32);
|
||||
for i in 31 downto 0 loop
|
||||
if n_bit(i) = '1' then
|
||||
return i + 1;
|
||||
end if;
|
||||
end loop; -- i
|
||||
return 1;
|
||||
end log2ceil;
|
||||
|
||||
-- this is for arbitrary sized address compares. It compares from the highest bit of addr_const to the lowest - num_ignore
|
||||
-- bit, thus allowing any size of comparision.
|
||||
function f_addr_cmp_mask(signal addr : std_logic_vector;
|
||||
constant addr_const : std_logic_vector;
|
||||
constant num_ignore : integer
|
||||
) return std_logic is
|
||||
variable ret : std_logic := '1';
|
||||
variable hi : integer;
|
||||
variable lo : integer;
|
||||
begin
|
||||
hi := min(addr_const'high, addr'high);
|
||||
lo := max(addr_const'low, addr'low);
|
||||
|
||||
-- report("faddr_cmp_mask(): hi = " & to_string(hi) & " lo = " & to_string(lo) & " log2ceil(num_ignore) = " & to_string(log2ceil(num_ignore)));
|
||||
l_loop: for i in hi downto lo + log2ceil(num_ignore) - 1 loop
|
||||
if addr(i) /= addr_const(i) then
|
||||
|
||||
-- synthesis translate_off
|
||||
-- report("f_addr_cmp_mask(): addr = " & to_hstring(unsigned(addr)) & " differs from addr_const = " & to_hstring(unsigned(addr_const)) &
|
||||
-- " at bit = " & integer'image(i));
|
||||
-- report("addr(" & integer'image(i) & ") (" & to_string(addr) & ") = " & to_string(addr(i)) &
|
||||
-- " addr_const(" & integer'image(i) & ") ( " & to_string(addr_const) & ") = " & to_string(addr_const(i)));
|
||||
-- synthesis translate_on
|
||||
|
||||
ret := '0';
|
||||
exit l_loop;
|
||||
else
|
||||
-- pragma synthesis off
|
||||
-- report("f_addr_cmp_mask(): addr = " & to_hstring(unsigned(addr)) & " equals to addr_const = " & to_hstring(unsigned(addr_const)) &
|
||||
-- " at bit = " & integer'image(i));
|
||||
-- report("addr(" & integer'image(i) & ") (" & to_string(addr) & ") = " & to_string(addr(i)) &
|
||||
-- " addr_const(" & integer'image(i) & ") ( " & to_string(addr_const) & ") = " & to_string(addr_const(i)));
|
||||
-- pragma synthesis on
|
||||
end if;
|
||||
end loop;
|
||||
-- pragma synthesis off
|
||||
report("f_addr_cmp_mask(" & to_hstring(unsigned(addr)) & ", " & to_hstring(unsigned(addr_const)) & "): return " & to_string(ret));
|
||||
-- pragma synthesis on
|
||||
return ret;
|
||||
end function f_addr_cmp_mask;
|
||||
|
||||
|
||||
function f_addr_cmp_l(signal addr : std_logic_vector;
|
||||
constant addr_const : std_logic_vector
|
||||
) return std_logic is
|
||||
begin
|
||||
return f_addr_cmp_mask(addr, addr_const, 2);
|
||||
end function f_addr_cmp_l;
|
||||
|
||||
function f_addr_cmp_w(signal addr : std_logic_vector;
|
||||
constant addr_const : std_logic_vector
|
||||
) return std_logic is
|
||||
begin
|
||||
return f_addr_cmp_mask(addr, addr_const, 1);
|
||||
end function f_addr_cmp_w;
|
||||
|
||||
function f_addr_cmp_b(signal addr : std_logic_vector;
|
||||
constant addr_const : std_logic_vector
|
||||
) return std_logic is
|
||||
begin
|
||||
return f_addr_cmp_mask(addr, addr_const, 0);
|
||||
end function f_addr_cmp_b;
|
||||
end package body firebee_utils_pkg;
|
||||
@@ -1,115 +0,0 @@
|
||||
library ieee;
|
||||
use ieee.std_logic_1164.all;
|
||||
use ieee.numeric_std.all;
|
||||
|
||||
library work;
|
||||
use work.firebee_utils_pkg.all;
|
||||
|
||||
entity flexbus_register is
|
||||
generic
|
||||
(
|
||||
reg_width : integer := 11;
|
||||
match_address : std_logic_vector(31 downto 0) := (others => '0');
|
||||
num_ignore : integer range 0 to 31;
|
||||
match_fbcs : integer := 0
|
||||
);
|
||||
port
|
||||
(
|
||||
clk : in std_logic;
|
||||
|
||||
-- FlexBus signals
|
||||
fb_addr : in std_logic_vector(31 downto 0);
|
||||
fb_ad_in : in std_logic_vector(31 downto 0);
|
||||
fb_ad_out : out std_logic_vector(31 downto 0);
|
||||
fb_cs_n : in std_logic_vector(5 downto 1);
|
||||
fb_wr_n : in std_logic;
|
||||
fb_oe_n : in std_logic;
|
||||
fb_size : in std_logic_vector(1 downto 0);
|
||||
|
||||
register_ta : out std_logic
|
||||
);
|
||||
end entity flexbus_register;
|
||||
|
||||
architecture rtl of flexbus_register is
|
||||
signal fbcs_match : std_logic;
|
||||
signal address_match : std_logic;
|
||||
signal fb_b : std_logic_vector(3 downto 0); -- byte selects
|
||||
signal cs : std_logic;
|
||||
signal reg_value : std_logic_vector(reg_width - 1 downto 0);
|
||||
begin
|
||||
-- byte selects
|
||||
-- HWORD
|
||||
-- HHBYT
|
||||
-- LONG UND LINE
|
||||
fb_b(0) <= (fb_size(1) and (not fb_size(0)) and (not fb_addr(1))) or
|
||||
((not fb_size(1)) and fb_size(0) and (not fb_addr(1)) and (not fb_addr(0))) or
|
||||
((not fb_size(1)) and (not fb_size(0))) or
|
||||
(fb_size(1) and fb_size(0));
|
||||
|
||||
-- HWORD
|
||||
-- HLBYT
|
||||
-- LONG UND LINE
|
||||
fb_b(1) <= (fb_size(1) and (not fb_size(0) and (not fb_addr(1)))) or
|
||||
((not fb_size(1)) and fb_size(0) and (not fb_addr(1)) and fb_addr(0)) or
|
||||
((not fb_size(1)) and (not fb_size(0))) or
|
||||
(fb_size(1) and fb_size(0));
|
||||
|
||||
-- LWORD
|
||||
-- LHBYT
|
||||
-- LONG UND LINE
|
||||
fb_b(2) <= (fb_size(1) and (not fb_size(0)) and fb_addr(1)) or
|
||||
((not fb_size(1)) and fb_size(0) and fb_addr(1) and (not fb_addr(0))) or
|
||||
((not fb_size(1)) and (not fb_size(0))) or (fb_size(1) and fb_size(0));
|
||||
|
||||
-- LWORD
|
||||
-- LLBYT
|
||||
-- LONG UND LINE
|
||||
fb_b(3) <= (fb_size(1) and (not fb_size(0)) and fb_addr(1)) or
|
||||
((not fb_size(1)) and fb_size(0) and fb_addr(1) and fb_addr(0)) or
|
||||
((not fb_size(1)) and (not fb_size(0))) or
|
||||
(fb_size(1) and fb_size(0));
|
||||
|
||||
fbcs_match <= '1' when not(fb_cs_n(match_fbcs)) = '1' else '0';
|
||||
address_match <= f_addr_cmp_mask(fb_addr, match_address, num_ignore);
|
||||
cs <= '1' when fbcs_match and address_match else '0';
|
||||
|
||||
p_copy_data_in : process (all)
|
||||
begin
|
||||
reg_value <= reg_value;
|
||||
if cs and not fb_wr_n then
|
||||
if reg_width > 24 and fb_b(0) = '1' then -- HH byte
|
||||
reg_value(reg_width - 1 downto 24) <= fb_ad_in(work.firebee_utils_pkg.min(31, reg_width - 1) downto 24);
|
||||
end if;
|
||||
if reg_width > 16 and fb_b(1) = '1' then -- HL byte
|
||||
reg_value(work.firebee_utils_pkg.min(23, reg_width - 1) downto 16) <= fb_ad_in(work.firebee_utils_pkg.min(23, reg_width - 1) downto 16);
|
||||
end if;
|
||||
if reg_width > 8 and fb_b(2) = '1' then -- LH byte
|
||||
reg_value(work.firebee_utils_pkg.min(15, reg_width - 1) downto 8) <= fb_ad_in(work.firebee_utils_pkg.min(15, reg_width - 1) downto 8);
|
||||
end if;
|
||||
if reg_width > 0 and fb_b(3) = '1' then -- LL byte
|
||||
reg_value(work.firebee_utils_pkg.min(7, reg_width - 1) downto 0) <= fb_ad_in(work.firebee_utils_pkg.min(7, reg_width - 1) downto 0);
|
||||
end if;
|
||||
end if;
|
||||
end process p_copy_data_in;
|
||||
|
||||
p_copy_data_out : process (all)
|
||||
begin
|
||||
fb_ad_out <= (others => 'Z');
|
||||
if cs and not fb_oe_n then
|
||||
if reg_width > 24 and fb_b(0) = '1' then -- HH byte
|
||||
fb_ad_out(work.firebee_utils_pkg.min(31, reg_width - 1) downto 24) <= reg_value(work.firebee_utils_pkg.min(31, reg_width - 1) downto 24);
|
||||
end if;
|
||||
if reg_width > 16 and fb_b(1) = '1' then -- HL byte
|
||||
fb_ad_out(work.firebee_utils_pkg.min(23, reg_width - 1) downto 16) <= reg_value(work.firebee_utils_pkg.min(23, reg_width - 1) downto 16);
|
||||
end if;
|
||||
if reg_width > 8 and fb_b(2) = '1' then -- LH byte
|
||||
fb_ad_out(work.firebee_utils_pkg.min(15, reg_width - 1) downto 8) <= reg_value(work.firebee_utils_pkg.min(15, reg_width - 1) downto 8);
|
||||
end if;
|
||||
if reg_width > 0 and fb_b(3) = '1' then -- LL byte
|
||||
fb_ad_out(work.firebee_utils_pkg.min(7, reg_width - 1) downto 0) <= reg_value(work.firebee_utils_pkg.min(7, reg_width - 1) downto 0);
|
||||
end if;
|
||||
end if;
|
||||
end process p_copy_data_out;
|
||||
|
||||
register_ta <= cs;
|
||||
end architecture rtl;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_bustri_BYT
|
||||
PORT
|
||||
(
|
||||
data : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
enabledt : IN STD_LOGIC ;
|
||||
tridata : INOUT STD_LOGIC_VECTOR (7 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_bustri_LONG
|
||||
PORT
|
||||
(
|
||||
data : IN STD_LOGIC_VECTOR (31 DOWNTO 0);
|
||||
enabledt : IN STD_LOGIC ;
|
||||
tridata : INOUT STD_LOGIC_VECTOR (31 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_bustri_WORD
|
||||
PORT
|
||||
(
|
||||
data : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
|
||||
enabledt : IN STD_LOGIC ;
|
||||
tridata : INOUT STD_LOGIC_VECTOR (15 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,22 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_counter0
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
q : OUT STD_LOGIC_VECTOR (17 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,6 +0,0 @@
|
||||
set_global_assignment -name IP_TOOL_NAME "LPM_COUNTER"
|
||||
set_global_assignment -name IP_TOOL_VERSION "9.1"
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "lpm_counter1.tdf"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "lpm_counter1.bsf"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "lpm_counter1.inc"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "lpm_counter1.cmp"]
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_latch0
|
||||
PORT
|
||||
(
|
||||
data : IN STD_LOGIC_VECTOR (31 DOWNTO 0);
|
||||
gate : IN STD_LOGIC ;
|
||||
q : OUT STD_LOGIC_VECTOR (31 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,6 +0,0 @@
|
||||
set_global_assignment -name IP_TOOL_NAME "LPM_MUX"
|
||||
set_global_assignment -name IP_TOOL_VERSION "9.1"
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "lpm_mux0.tdf"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "lpm_mux0.bsf"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "lpm_mux0.inc"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "lpm_mux0.cmp"]
|
||||
@@ -1,6 +0,0 @@
|
||||
set_global_assignment -name IP_TOOL_NAME "LPM_SHIFTREG"
|
||||
set_global_assignment -name IP_TOOL_VERSION "9.1"
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "lpm_shiftreg0.tdf"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "lpm_shiftreg0.bsf"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "lpm_shiftreg0.inc"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "lpm_shiftreg0.cmp"]
|
||||
@@ -1,47 +0,0 @@
|
||||
library ieee;
|
||||
use ieee.std_logic_1164.all;
|
||||
use ieee.numeric_std.all;
|
||||
|
||||
entity blitter is
|
||||
port
|
||||
(
|
||||
nRSTO : in std_logic;
|
||||
MAIN_CLK : in std_logic;
|
||||
FB_ALE : in std_logic;
|
||||
nFB_WR : in std_logic;
|
||||
nFB_OE : in std_logic;
|
||||
FB_SIZE0 : in std_logic;
|
||||
FB_SIZE1 : in std_logic;
|
||||
VIDEO_RAM_CTR : in std_logic_vector(15 downto 0);
|
||||
BLITTER_ON : in std_logic;
|
||||
FB_ADR : in std_logic_vector(31 downto 0);
|
||||
nFB_CS1 : in std_logic;
|
||||
nFB_CS2 : in std_logic;
|
||||
nFB_CS3 : in std_logic;
|
||||
DDRCLK0 : in std_logic;
|
||||
BLITTER_DIN : in std_logic_vector(127 downto 0);
|
||||
BLITTER_DACK : in std_logic_vector(4 downto 0);
|
||||
SR_BLITTER_DACK : in std_logic;
|
||||
blitter_run : out std_logic;
|
||||
blitter_dout : out std_logic_vector(127 downto 0);
|
||||
blitter_adr : out std_logic_vector(31 downto 0);
|
||||
blitter_sig : out std_logic;
|
||||
blitter_wr : out std_logic;
|
||||
blitter_ta : out std_logic;
|
||||
fb_ad_in : in std_logic_vector(31 downto 0);
|
||||
fb_ad_out : out std_logic_vector(31 downto 0)
|
||||
);
|
||||
end BLITTER;
|
||||
|
||||
|
||||
architecture rtl of blitter is
|
||||
|
||||
begin
|
||||
blitter_run <= '0';
|
||||
blitter_dout <= x"FEDCBA9876543210F0F0F0F0F0F0F0F0";
|
||||
blitter_adr <= x"76543210";
|
||||
blitter_sig <= '0';
|
||||
blitter_wr <= '0';
|
||||
blitter_ta <= '0';
|
||||
fb_ad_out <= (others => 'Z');
|
||||
end rtl;
|
||||
@@ -1,6 +0,0 @@
|
||||
set_global_assignment -name IP_TOOL_NAME "ALTSYNCRAM"
|
||||
set_global_assignment -name IP_TOOL_VERSION "9.1"
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "altsyncram0.tdf"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "altsyncram0.bsf"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "altsyncram0.inc"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "altsyncram0.cmp"]
|
||||
@@ -1,6 +0,0 @@
|
||||
set_global_assignment -name IP_TOOL_NAME "LPM_CLSHIFT"
|
||||
set_global_assignment -name IP_TOOL_VERSION "9.1"
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "lpm_clshift0.tdf"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "lpm_clshift0.bsf"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "lpm_clshift0.inc"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "lpm_clshift0.cmp"]
|
||||
@@ -1,29 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component altddio_bidir0
|
||||
PORT
|
||||
(
|
||||
datain_h : IN STD_LOGIC_VECTOR (31 DOWNTO 0);
|
||||
datain_l : IN STD_LOGIC_VECTOR (31 DOWNTO 0);
|
||||
inclock : IN STD_LOGIC ;
|
||||
oe : IN STD_LOGIC := '1';
|
||||
outclock : IN STD_LOGIC ;
|
||||
combout : OUT STD_LOGIC_VECTOR (31 DOWNTO 0);
|
||||
dataout_h : OUT STD_LOGIC_VECTOR (31 DOWNTO 0);
|
||||
dataout_l : OUT STD_LOGIC_VECTOR (31 DOWNTO 0);
|
||||
padio : INOUT STD_LOGIC_VECTOR (31 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,24 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component altddio_out0
|
||||
PORT
|
||||
(
|
||||
datain_h : IN STD_LOGIC_VECTOR (3 DOWNTO 0);
|
||||
datain_l : IN STD_LOGIC_VECTOR (3 DOWNTO 0);
|
||||
outclock : IN STD_LOGIC ;
|
||||
dataout : OUT STD_LOGIC_VECTOR (3 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,7 +0,0 @@
|
||||
set_global_assignment -name IP_TOOL_NAME "ALTDDIO_OUT"
|
||||
set_global_assignment -name IP_TOOL_VERSION "8.1"
|
||||
set_global_assignment -name VHDL_FILE [file join $::quartus(qip_path) "altddio_out0.vhd"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "altddio_out0.bsf"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "altddio_out0.inc"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "altddio_out0.cmp"]
|
||||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "altddio_out0.ppf"]
|
||||
@@ -1,24 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component altddio_out1
|
||||
PORT
|
||||
(
|
||||
datain_h : IN STD_LOGIC ;
|
||||
datain_l : IN STD_LOGIC ;
|
||||
outclock : IN STD_LOGIC ;
|
||||
dataout : OUT STD_LOGIC
|
||||
);
|
||||
end component;
|
||||
@@ -1,24 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component altddio_out2
|
||||
PORT
|
||||
(
|
||||
datain_h : IN STD_LOGIC_VECTOR (23 DOWNTO 0);
|
||||
datain_l : IN STD_LOGIC_VECTOR (23 DOWNTO 0);
|
||||
outclock : IN STD_LOGIC ;
|
||||
dataout : OUT STD_LOGIC_VECTOR (23 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,30 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component altdpram0
|
||||
PORT
|
||||
(
|
||||
address_a : IN STD_LOGIC_VECTOR (3 DOWNTO 0);
|
||||
address_b : IN STD_LOGIC_VECTOR (3 DOWNTO 0);
|
||||
clock_a : IN STD_LOGIC ;
|
||||
clock_b : IN STD_LOGIC ;
|
||||
data_a : IN STD_LOGIC_VECTOR (2 DOWNTO 0);
|
||||
data_b : IN STD_LOGIC_VECTOR (2 DOWNTO 0);
|
||||
wren_a : IN STD_LOGIC := '1';
|
||||
wren_b : IN STD_LOGIC := '1';
|
||||
q_a : OUT STD_LOGIC_VECTOR (2 DOWNTO 0);
|
||||
q_b : OUT STD_LOGIC_VECTOR (2 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,30 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component altdpram1
|
||||
PORT
|
||||
(
|
||||
address_a : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
address_b : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
clock_a : IN STD_LOGIC ;
|
||||
clock_b : IN STD_LOGIC ;
|
||||
data_a : IN STD_LOGIC_VECTOR (5 DOWNTO 0);
|
||||
data_b : IN STD_LOGIC_VECTOR (5 DOWNTO 0);
|
||||
wren_a : IN STD_LOGIC := '1';
|
||||
wren_b : IN STD_LOGIC := '1';
|
||||
q_a : OUT STD_LOGIC_VECTOR (5 DOWNTO 0);
|
||||
q_b : OUT STD_LOGIC_VECTOR (5 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,30 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component altdpram2
|
||||
PORT
|
||||
(
|
||||
address_a : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
address_b : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
clock_a : IN STD_LOGIC ;
|
||||
clock_b : IN STD_LOGIC ;
|
||||
data_a : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
data_b : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
wren_a : IN STD_LOGIC := '1';
|
||||
wren_b : IN STD_LOGIC := '1';
|
||||
q_a : OUT STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
q_b : OUT STD_LOGIC_VECTOR (7 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_bustri0
|
||||
PORT
|
||||
(
|
||||
data : IN STD_LOGIC_VECTOR (31 DOWNTO 0);
|
||||
enabledt : IN STD_LOGIC ;
|
||||
tridata : INOUT STD_LOGIC_VECTOR (31 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_bustri1
|
||||
PORT
|
||||
(
|
||||
data : IN STD_LOGIC_VECTOR (2 DOWNTO 0);
|
||||
enabledt : IN STD_LOGIC ;
|
||||
tridata : INOUT STD_LOGIC_VECTOR (2 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_bustri2
|
||||
PORT
|
||||
(
|
||||
data : IN STD_LOGIC_VECTOR (17 DOWNTO 0);
|
||||
enabledt : IN STD_LOGIC ;
|
||||
tridata : INOUT STD_LOGIC_VECTOR (17 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_bustri3
|
||||
PORT
|
||||
(
|
||||
data : IN STD_LOGIC_VECTOR (5 DOWNTO 0);
|
||||
enabledt : IN STD_LOGIC ;
|
||||
tridata : INOUT STD_LOGIC_VECTOR (5 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_bustri4
|
||||
PORT
|
||||
(
|
||||
data : IN STD_LOGIC_VECTOR (4 DOWNTO 0);
|
||||
enabledt : IN STD_LOGIC ;
|
||||
tridata : INOUT STD_LOGIC_VECTOR (4 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_bustri5
|
||||
PORT
|
||||
(
|
||||
data : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
enabledt : IN STD_LOGIC ;
|
||||
tridata : INOUT STD_LOGIC_VECTOR (7 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_bustri6
|
||||
PORT
|
||||
(
|
||||
data : IN STD_LOGIC_VECTOR (23 DOWNTO 0);
|
||||
enabledt : IN STD_LOGIC ;
|
||||
tridata : INOUT STD_LOGIC_VECTOR (23 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_bustri7
|
||||
PORT
|
||||
(
|
||||
data : IN STD_LOGIC_VECTOR (3 DOWNTO 0);
|
||||
enabledt : IN STD_LOGIC ;
|
||||
tridata : INOUT STD_LOGIC_VECTOR (3 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_compare1
|
||||
PORT
|
||||
(
|
||||
dataa : IN STD_LOGIC_VECTOR (10 DOWNTO 0);
|
||||
datab : IN STD_LOGIC_VECTOR (10 DOWNTO 0);
|
||||
AgB : OUT STD_LOGIC
|
||||
);
|
||||
end component;
|
||||
@@ -1,21 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_constant3
|
||||
PORT
|
||||
(
|
||||
result : OUT STD_LOGIC_VECTOR (6 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,21 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_constant4
|
||||
PORT
|
||||
(
|
||||
result : OUT STD_LOGIC_VECTOR (10 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,24 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_ff0
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
data : IN STD_LOGIC_VECTOR (31 DOWNTO 0);
|
||||
enable : IN STD_LOGIC ;
|
||||
q : OUT STD_LOGIC_VECTOR (31 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_ff1
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
data : IN STD_LOGIC_VECTOR (31 DOWNTO 0);
|
||||
q : OUT STD_LOGIC_VECTOR (31 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_ff2
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
data : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
q : OUT STD_LOGIC_VECTOR (127 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_ff3
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
data : IN STD_LOGIC_VECTOR (23 DOWNTO 0);
|
||||
q : OUT STD_LOGIC_VECTOR (23 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_ff4
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
data : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
|
||||
q : OUT STD_LOGIC_VECTOR (15 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_ff5
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
data : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
q : OUT STD_LOGIC_VECTOR (7 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,24 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_ff6
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
data : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
enable : IN STD_LOGIC ;
|
||||
q : OUT STD_LOGIC_VECTOR (127 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,26 +0,0 @@
|
||||
--Copyright (C) 1991-2010 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_fifoDZ
|
||||
PORT
|
||||
(
|
||||
aclr : IN STD_LOGIC ;
|
||||
clock : IN STD_LOGIC ;
|
||||
data : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
rdreq : IN STD_LOGIC ;
|
||||
wrreq : IN STD_LOGIC ;
|
||||
q : OUT STD_LOGIC_VECTOR (127 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,29 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_fifo_dc0
|
||||
PORT
|
||||
(
|
||||
aclr : IN STD_LOGIC := '0';
|
||||
data : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
rdclk : IN STD_LOGIC ;
|
||||
rdreq : IN STD_LOGIC ;
|
||||
wrclk : IN STD_LOGIC ;
|
||||
wrreq : IN STD_LOGIC ;
|
||||
q : OUT STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
rdempty : OUT STD_LOGIC ;
|
||||
wrusedw : OUT STD_LOGIC_VECTOR (8 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_latch1
|
||||
PORT
|
||||
(
|
||||
data : IN STD_LOGIC_VECTOR (31 DOWNTO 0);
|
||||
gate : IN STD_LOGIC ;
|
||||
q : OUT STD_LOGIC_VECTOR (31 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,27 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_mux0
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
data0x : IN STD_LOGIC_VECTOR (31 DOWNTO 0);
|
||||
data1x : IN STD_LOGIC_VECTOR (31 DOWNTO 0);
|
||||
data2x : IN STD_LOGIC_VECTOR (31 DOWNTO 0);
|
||||
data3x : IN STD_LOGIC_VECTOR (31 DOWNTO 0);
|
||||
sel : IN STD_LOGIC_VECTOR (1 DOWNTO 0);
|
||||
result : OUT STD_LOGIC_VECTOR (31 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,31 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_mux1
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
data0x : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
|
||||
data1x : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
|
||||
data2x : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
|
||||
data3x : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
|
||||
data4x : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
|
||||
data5x : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
|
||||
data6x : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
|
||||
data7x : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
|
||||
sel : IN STD_LOGIC_VECTOR (2 DOWNTO 0);
|
||||
result : OUT STD_LOGIC_VECTOR (15 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,39 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_mux2
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
data0x : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
data10x : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
data11x : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
data12x : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
data13x : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
data14x : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
data15x : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
data1x : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
data2x : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
data3x : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
data4x : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
data5x : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
data6x : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
data7x : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
data8x : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
data9x : IN STD_LOGIC_VECTOR (7 DOWNTO 0);
|
||||
sel : IN STD_LOGIC_VECTOR (3 DOWNTO 0);
|
||||
result : OUT STD_LOGIC_VECTOR (7 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,24 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_mux3
|
||||
PORT
|
||||
(
|
||||
data0 : IN STD_LOGIC ;
|
||||
data1 : IN STD_LOGIC ;
|
||||
sel : IN STD_LOGIC ;
|
||||
result : OUT STD_LOGIC
|
||||
);
|
||||
end component;
|
||||
@@ -1,24 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_mux4
|
||||
PORT
|
||||
(
|
||||
data0x : IN STD_LOGIC_VECTOR (6 DOWNTO 0);
|
||||
data1x : IN STD_LOGIC_VECTOR (6 DOWNTO 0);
|
||||
sel : IN STD_LOGIC ;
|
||||
result : OUT STD_LOGIC_VECTOR (6 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,26 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_mux5
|
||||
PORT
|
||||
(
|
||||
data0x : IN STD_LOGIC_VECTOR (63 DOWNTO 0);
|
||||
data1x : IN STD_LOGIC_VECTOR (63 DOWNTO 0);
|
||||
data2x : IN STD_LOGIC_VECTOR (63 DOWNTO 0);
|
||||
data3x : IN STD_LOGIC_VECTOR (63 DOWNTO 0);
|
||||
sel : IN STD_LOGIC_VECTOR (1 DOWNTO 0);
|
||||
result : OUT STD_LOGIC_VECTOR (63 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,31 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_mux6
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
data0x : IN STD_LOGIC_VECTOR (23 DOWNTO 0);
|
||||
data1x : IN STD_LOGIC_VECTOR (23 DOWNTO 0);
|
||||
data2x : IN STD_LOGIC_VECTOR (23 DOWNTO 0);
|
||||
data3x : IN STD_LOGIC_VECTOR (23 DOWNTO 0);
|
||||
data4x : IN STD_LOGIC_VECTOR (23 DOWNTO 0);
|
||||
data5x : IN STD_LOGIC_VECTOR (23 DOWNTO 0);
|
||||
data6x : IN STD_LOGIC_VECTOR (23 DOWNTO 0);
|
||||
data7x : IN STD_LOGIC_VECTOR (23 DOWNTO 0);
|
||||
sel : IN STD_LOGIC_VECTOR (2 DOWNTO 0);
|
||||
result : OUT STD_LOGIC_VECTOR (23 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,26 +0,0 @@
|
||||
--Copyright (C) 1991-2009 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_muxDZ
|
||||
PORT
|
||||
(
|
||||
clken : IN STD_LOGIC := '1';
|
||||
clock : IN STD_LOGIC ;
|
||||
data0x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
data1x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
sel : IN STD_LOGIC ;
|
||||
result : OUT STD_LOGIC_VECTOR (127 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,24 +0,0 @@
|
||||
--Copyright (C) 1991-2009 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_muxDZ2
|
||||
PORT
|
||||
(
|
||||
data0 : IN STD_LOGIC ;
|
||||
data1 : IN STD_LOGIC ;
|
||||
sel : IN STD_LOGIC ;
|
||||
result : OUT STD_LOGIC
|
||||
);
|
||||
end component;
|
||||
@@ -1,38 +0,0 @@
|
||||
--Copyright (C) 1991-2009 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_muxVDM
|
||||
PORT
|
||||
(
|
||||
data0x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
data10x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
data11x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
data12x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
data13x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
data14x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
data15x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
data1x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
data2x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
data3x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
data4x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
data5x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
data6x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
data7x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
data8x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
data9x : IN STD_LOGIC_VECTOR (127 DOWNTO 0);
|
||||
sel : IN STD_LOGIC_VECTOR (3 DOWNTO 0);
|
||||
result : OUT STD_LOGIC_VECTOR (127 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,25 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_shiftreg0
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
data : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
|
||||
load : IN STD_LOGIC ;
|
||||
shiftin : IN STD_LOGIC ;
|
||||
shiftout : OUT STD_LOGIC
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_shiftreg1
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
shiftin : IN STD_LOGIC ;
|
||||
q : OUT STD_LOGIC_VECTOR (1 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_shiftreg2
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
shiftin : IN STD_LOGIC ;
|
||||
shiftout : OUT STD_LOGIC
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_shiftreg3
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
shiftin : IN STD_LOGIC ;
|
||||
shiftout : OUT STD_LOGIC
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_shiftreg4
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
shiftin : IN STD_LOGIC ;
|
||||
shiftout : OUT STD_LOGIC
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_shiftreg5
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
shiftin : IN STD_LOGIC ;
|
||||
q : OUT STD_LOGIC_VECTOR (4 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,23 +0,0 @@
|
||||
--Copyright (C) 1991-2008 Altera Corporation
|
||||
--Your use of Altera Corporation's design tools, logic functions
|
||||
--and other software and tools, and its AMPP partner logic
|
||||
--functions, and any output files from any of the foregoing
|
||||
--(including device programming or simulation files), and any
|
||||
--associated documentation or information are expressly subject
|
||||
--to the terms and conditions of the Altera Program License
|
||||
--Subscription Agreement, Altera MegaCore Function License
|
||||
--Agreement, or other applicable license agreement, including,
|
||||
--without limitation, that your use is for the sole purpose of
|
||||
--programming logic devices manufactured by Altera and sold by
|
||||
--Altera or its authorized distributors. Please refer to the
|
||||
--applicable agreement for further details.
|
||||
|
||||
|
||||
component lpm_shiftreg6
|
||||
PORT
|
||||
(
|
||||
clock : IN STD_LOGIC ;
|
||||
shiftin : IN STD_LOGIC ;
|
||||
q : OUT STD_LOGIC_VECTOR (4 DOWNTO 0)
|
||||
);
|
||||
end component;
|
||||
@@ -1,54 +0,0 @@
|
||||
-- Copyright (C) 1991-2014 Altera Corporation
|
||||
-- Your use of Altera Corporation's design tools, logic functions
|
||||
-- and other software and tools, and its AMPP partner logic
|
||||
-- functions, and any output files from any of the foregoing
|
||||
-- (including device programming or simulation files), and any
|
||||
-- associated documentation or information are expressly subject
|
||||
-- to the terms and conditions of the Altera Program License
|
||||
-- Subscription Agreement, Altera MegaCore Function License
|
||||
-- Agreement, or other applicable license agreement, including,
|
||||
-- without limitation, that your use is for the sole purpose of
|
||||
-- programming logic devices manufactured by Altera and sold by
|
||||
-- Altera or its authorized distributors. Please refer to the
|
||||
-- applicable agreement for further details.
|
||||
|
||||
-- PROGRAM "Quartus II 64-Bit"
|
||||
-- VERSION "Version 13.1.4 Build 182 03/12/2014 SJ Web Edition"
|
||||
-- CREATED "Mon Jan 11 09:20:56 2016"
|
||||
|
||||
LIBRARY ieee;
|
||||
USE ieee.std_logic_1164.all;
|
||||
|
||||
LIBRARY altera;
|
||||
USE altera.maxplus2.all;
|
||||
|
||||
LIBRARY work;
|
||||
|
||||
ENTITY mux41_0 IS
|
||||
PORT
|
||||
(
|
||||
S0 : IN STD_LOGIC;
|
||||
S1 : IN STD_LOGIC;
|
||||
D0 : IN STD_LOGIC;
|
||||
INH : IN STD_LOGIC;
|
||||
D1 : IN STD_LOGIC;
|
||||
Q : OUT STD_LOGIC
|
||||
);
|
||||
END mux41_0;
|
||||
|
||||
ARCHITECTURE bdf_type OF mux41_0 IS
|
||||
BEGIN
|
||||
|
||||
-- instantiate macrofunction
|
||||
|
||||
b2v_inst40 : work.mux41
|
||||
PORT MAP(S0 => S0,
|
||||
S1 => S1,
|
||||
D0 => D0,
|
||||
INH => INH,
|
||||
D1 => D1,
|
||||
D2 => '0',
|
||||
D3 => '0',
|
||||
Q => Q);
|
||||
|
||||
END bdf_type;
|
||||
@@ -1,54 +0,0 @@
|
||||
-- Copyright (C) 1991-2014 Altera Corporation
|
||||
-- Your use of Altera Corporation's design tools, logic functions
|
||||
-- and other software and tools, and its AMPP partner logic
|
||||
-- functions, and any output files from any of the foregoing
|
||||
-- (including device programming or simulation files), and any
|
||||
-- associated documentation or information are expressly subject
|
||||
-- to the terms and conditions of the Altera Program License
|
||||
-- Subscription Agreement, Altera MegaCore Function License
|
||||
-- Agreement, or other applicable license agreement, including,
|
||||
-- without limitation, that your use is for the sole purpose of
|
||||
-- programming logic devices manufactured by Altera and sold by
|
||||
-- Altera or its authorized distributors. Please refer to the
|
||||
-- applicable agreement for further details.
|
||||
|
||||
-- PROGRAM "Quartus II 64-Bit"
|
||||
-- VERSION "Version 13.1.4 Build 182 03/12/2014 SJ Web Edition"
|
||||
-- CREATED "Mon Jan 11 09:20:56 2016"
|
||||
|
||||
LIBRARY ieee;
|
||||
USE ieee.std_logic_1164.all;
|
||||
|
||||
LIBRARY altera;
|
||||
USE altera.maxplus2.all;
|
||||
|
||||
LIBRARY work;
|
||||
|
||||
ENTITY mux41_1 IS
|
||||
PORT
|
||||
(
|
||||
S0 : IN STD_LOGIC;
|
||||
S1 : IN STD_LOGIC;
|
||||
D0 : IN STD_LOGIC;
|
||||
INH : IN STD_LOGIC;
|
||||
D1 : IN STD_LOGIC;
|
||||
Q : OUT STD_LOGIC
|
||||
);
|
||||
END mux41_1;
|
||||
|
||||
ARCHITECTURE bdf_type OF mux41_1 IS
|
||||
BEGIN
|
||||
|
||||
-- instantiate macrofunction
|
||||
|
||||
b2v_inst41 : work.mux41
|
||||
PORT MAP(S0 => S0,
|
||||
S1 => S1,
|
||||
D0 => D0,
|
||||
INH => INH,
|
||||
D1 => D1,
|
||||
D2 => '0',
|
||||
D3 => '0',
|
||||
Q => Q);
|
||||
|
||||
END bdf_type;
|
||||
@@ -1,55 +0,0 @@
|
||||
-- Copyright (C) 1991-2014 Altera Corporation
|
||||
-- Your use of Altera Corporation's design tools, logic functions
|
||||
-- and other software and tools, and its AMPP partner logic
|
||||
-- functions, and any output files from any of the foregoing
|
||||
-- (including device programming or simulation files), and any
|
||||
-- associated documentation or information are expressly subject
|
||||
-- to the terms and conditions of the Altera Program License
|
||||
-- Subscription Agreement, Altera MegaCore Function License
|
||||
-- Agreement, or other applicable license agreement, including,
|
||||
-- without limitation, that your use is for the sole purpose of
|
||||
-- programming logic devices manufactured by Altera and sold by
|
||||
-- Altera or its authorized distributors. Please refer to the
|
||||
-- applicable agreement for further details.
|
||||
|
||||
-- PROGRAM "Quartus II 64-Bit"
|
||||
-- VERSION "Version 13.1.4 Build 182 03/12/2014 SJ Web Edition"
|
||||
-- CREATED "Mon Jan 11 09:20:56 2016"
|
||||
|
||||
LIBRARY ieee;
|
||||
USE ieee.std_logic_1164.all;
|
||||
|
||||
LIBRARY altera;
|
||||
USE altera.maxplus2.all;
|
||||
|
||||
LIBRARY work;
|
||||
|
||||
ENTITY mux41_2 IS
|
||||
PORT
|
||||
(
|
||||
S0 : IN STD_LOGIC;
|
||||
D2 : IN STD_LOGIC;
|
||||
S1 : IN STD_LOGIC;
|
||||
D0 : IN STD_LOGIC;
|
||||
INH : IN STD_LOGIC;
|
||||
D1 : IN STD_LOGIC;
|
||||
Q : OUT STD_LOGIC
|
||||
);
|
||||
END mux41_2;
|
||||
|
||||
ARCHITECTURE bdf_type OF mux41_2 IS
|
||||
BEGIN
|
||||
|
||||
-- instantiate macrofunction
|
||||
|
||||
b2v_inst42 : work.mux41
|
||||
PORT MAP(S0 => S0,
|
||||
D2 => D2,
|
||||
S1 => S1,
|
||||
D0 => D0,
|
||||
D3 => '0',
|
||||
INH => INH,
|
||||
D1 => D1,
|
||||
Q => Q);
|
||||
|
||||
END bdf_type;
|
||||
@@ -1,55 +0,0 @@
|
||||
-- Copyright (C) 1991-2014 Altera Corporation
|
||||
-- Your use of Altera Corporation's design tools, logic functions
|
||||
-- and other software and tools, and its AMPP partner logic
|
||||
-- functions, and any output files from any of the foregoing
|
||||
-- (including device programming or simulation files), and any
|
||||
-- associated documentation or information are expressly subject
|
||||
-- to the terms and conditions of the Altera Program License
|
||||
-- Subscription Agreement, Altera MegaCore Function License
|
||||
-- Agreement, or other applicable license agreement, including,
|
||||
-- without limitation, that your use is for the sole purpose of
|
||||
-- programming logic devices manufactured by Altera and sold by
|
||||
-- Altera or its authorized distributors. Please refer to the
|
||||
-- applicable agreement for further details.
|
||||
|
||||
-- PROGRAM "Quartus II 64-Bit"
|
||||
-- VERSION "Version 13.1.4 Build 182 03/12/2014 SJ Web Edition"
|
||||
-- CREATED "Mon Jan 11 09:20:56 2016"
|
||||
|
||||
LIBRARY ieee;
|
||||
USE ieee.std_logic_1164.all;
|
||||
|
||||
LIBRARY altera;
|
||||
USE altera.maxplus2.all;
|
||||
|
||||
LIBRARY work;
|
||||
|
||||
ENTITY mux41_3 IS
|
||||
PORT
|
||||
(
|
||||
S0 : IN STD_LOGIC;
|
||||
D2 : IN STD_LOGIC;
|
||||
S1 : IN STD_LOGIC;
|
||||
D0 : IN STD_LOGIC;
|
||||
INH : IN STD_LOGIC;
|
||||
D1 : IN STD_LOGIC;
|
||||
Q : OUT STD_LOGIC
|
||||
);
|
||||
END mux41_3;
|
||||
|
||||
ARCHITECTURE bdf_type OF mux41_3 IS
|
||||
BEGIN
|
||||
|
||||
-- instantiate macrofunction
|
||||
|
||||
b2v_inst43 : work.mux41
|
||||
PORT MAP(S0 => S0,
|
||||
D2 => D2,
|
||||
S1 => S1,
|
||||
D0 => D0,
|
||||
D3 => '0',
|
||||
INH => INH,
|
||||
D1 => D1,
|
||||
Q => Q);
|
||||
|
||||
END bdf_type;
|
||||
@@ -1,55 +0,0 @@
|
||||
-- Copyright (C) 1991-2014 Altera Corporation
|
||||
-- Your use of Altera Corporation's design tools, logic functions
|
||||
-- and other software and tools, and its AMPP partner logic
|
||||
-- functions, and any output files from any of the foregoing
|
||||
-- (including device programming or simulation files), and any
|
||||
-- associated documentation or information are expressly subject
|
||||
-- to the terms and conditions of the Altera Program License
|
||||
-- Subscription Agreement, Altera MegaCore Function License
|
||||
-- Agreement, or other applicable license agreement, including,
|
||||
-- without limitation, that your use is for the sole purpose of
|
||||
-- programming logic devices manufactured by Altera and sold by
|
||||
-- Altera or its authorized distributors. Please refer to the
|
||||
-- applicable agreement for further details.
|
||||
|
||||
-- PROGRAM "Quartus II 64-Bit"
|
||||
-- VERSION "Version 13.1.4 Build 182 03/12/2014 SJ Web Edition"
|
||||
-- CREATED "Mon Jan 11 09:20:56 2016"
|
||||
|
||||
LIBRARY ieee;
|
||||
USE ieee.std_logic_1164.all;
|
||||
|
||||
LIBRARY altera;
|
||||
USE altera.maxplus2.all;
|
||||
|
||||
LIBRARY work;
|
||||
|
||||
ENTITY mux41_4 IS
|
||||
PORT
|
||||
(
|
||||
S0 : IN STD_LOGIC;
|
||||
D2 : IN STD_LOGIC;
|
||||
S1 : IN STD_LOGIC;
|
||||
D0 : IN STD_LOGIC;
|
||||
INH : IN STD_LOGIC;
|
||||
D1 : IN STD_LOGIC;
|
||||
Q : OUT STD_LOGIC
|
||||
);
|
||||
END mux41_4;
|
||||
|
||||
ARCHITECTURE bdf_type OF mux41_4 IS
|
||||
BEGIN
|
||||
|
||||
-- instantiate macrofunction
|
||||
|
||||
b2v_inst44 : work.mux41
|
||||
PORT MAP(S0 => S0,
|
||||
D2 => D2,
|
||||
S1 => S1,
|
||||
D0 => D0,
|
||||
D3 => '0',
|
||||
INH => INH,
|
||||
D1 => D1,
|
||||
Q => Q);
|
||||
|
||||
END bdf_type;
|
||||
@@ -1,56 +0,0 @@
|
||||
-- Copyright (C) 1991-2014 Altera Corporation
|
||||
-- Your use of Altera Corporation's design tools, logic functions
|
||||
-- and other software and tools, and its AMPP partner logic
|
||||
-- functions, and any output files from any of the foregoing
|
||||
-- (including device programming or simulation files), and any
|
||||
-- associated documentation or information are expressly subject
|
||||
-- to the terms and conditions of the Altera Program License
|
||||
-- Subscription Agreement, Altera MegaCore Function License
|
||||
-- Agreement, or other applicable license agreement, including,
|
||||
-- without limitation, that your use is for the sole purpose of
|
||||
-- programming logic devices manufactured by Altera and sold by
|
||||
-- Altera or its authorized distributors. Please refer to the
|
||||
-- applicable agreement for further details.
|
||||
|
||||
-- PROGRAM "Quartus II 64-Bit"
|
||||
-- VERSION "Version 13.1.4 Build 182 03/12/2014 SJ Web Edition"
|
||||
-- CREATED "Mon Jan 11 09:20:56 2016"
|
||||
|
||||
LIBRARY ieee;
|
||||
USE ieee.std_logic_1164.all;
|
||||
|
||||
LIBRARY altera;
|
||||
USE altera.maxplus2.all;
|
||||
|
||||
LIBRARY work;
|
||||
|
||||
ENTITY mux41_5 IS
|
||||
PORT
|
||||
(
|
||||
S0 : IN STD_LOGIC;
|
||||
D2 : IN STD_LOGIC;
|
||||
S1 : IN STD_LOGIC;
|
||||
D0 : IN STD_LOGIC;
|
||||
INH : IN STD_LOGIC;
|
||||
D1 : IN STD_LOGIC;
|
||||
Q : OUT STD_LOGIC
|
||||
);
|
||||
END mux41_5;
|
||||
|
||||
|
||||
ARCHITECTURE bdf_type OF mux41_5 IS
|
||||
BEGIN
|
||||
|
||||
-- instantiate macrofunction
|
||||
|
||||
b2v_inst45 : work.mux41
|
||||
PORT MAP(S0 => S0,
|
||||
D2 => D2,
|
||||
S1 => S1,
|
||||
D0 => D0,
|
||||
D3 => '0',
|
||||
INH => INH,
|
||||
D1 => D1,
|
||||
Q => Q);
|
||||
|
||||
END bdf_type;
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,79 @@
|
||||
-- WARNING: Do NOT edit the input and output ports in this file in a text
|
||||
-- editor if you plan to continue editing the block that represents it in
|
||||
-- the Block Editor! File corruption is VERY likely to occur.
|
||||
|
||||
-- Copyright (C) 1991-2008 Altera Corporation
|
||||
-- Your use of Altera Corporation's design tools, logic functions
|
||||
-- and other software and tools, and its AMPP partner logic
|
||||
-- functions, and any output files from any of the foregoing
|
||||
-- (including device programming or simulation files), and any
|
||||
-- associated documentation or information are expressly subject
|
||||
-- to the terms and conditions of the Altera Program License
|
||||
-- Subscription Agreement, Altera MegaCore Function License
|
||||
-- Agreement, or other applicable license agreement, including,
|
||||
-- without limitation, that your use is for the sole purpose of
|
||||
-- programming logic devices manufactured by Altera and sold by
|
||||
-- Altera or its authorized distributors. Please refer to the
|
||||
-- applicable agreement for further details.
|
||||
|
||||
|
||||
-- Generated by Quartus II Version 8.1 (Build Build 163 10/28/2008)
|
||||
-- Created on Tue Sep 08 16:24:57 2009
|
||||
|
||||
LIBRARY ieee;
|
||||
USE ieee.std_logic_1164.all;
|
||||
|
||||
|
||||
-- Entity Declaration
|
||||
|
||||
ENTITY DSP IS
|
||||
-- {{ALTERA_IO_BEGIN}} DO NOT REMOVE THIS LINE!
|
||||
PORT
|
||||
(
|
||||
CLK33M : IN STD_LOGIC;
|
||||
MAIN_CLK : IN STD_LOGIC;
|
||||
nFB_OE : IN STD_LOGIC;
|
||||
nFB_WR : IN STD_LOGIC;
|
||||
nFB_CS1 : IN STD_LOGIC;
|
||||
nFB_CS2 : IN STD_LOGIC;
|
||||
FB_SIZE0 : IN STD_LOGIC;
|
||||
FB_SIZE1 : IN STD_LOGIC;
|
||||
nFB_BURST : IN STD_LOGIC;
|
||||
FB_ADR : IN STD_LOGIC_VECTOR(31 downto 0);
|
||||
nRSTO : IN STD_LOGIC;
|
||||
nFB_CS3 : IN STD_LOGIC;
|
||||
nSRCS : INOUT STD_LOGIC;
|
||||
nSRBLE : OUT STD_LOGIC;
|
||||
nSRBHE : OUT STD_LOGIC;
|
||||
nSRWE : OUT STD_LOGIC;
|
||||
nSROE : OUT STD_LOGIC;
|
||||
DSP_INT : OUT STD_LOGIC;
|
||||
DSP_TA : OUT STD_LOGIC;
|
||||
FB_AD : INOUT STD_LOGIC_VECTOR(31 downto 0);
|
||||
IO : INOUT STD_LOGIC_VECTOR(17 downto 0);
|
||||
SRD : INOUT STD_LOGIC_VECTOR(15 downto 0)
|
||||
);
|
||||
-- {{ALTERA_IO_END}} DO NOT REMOVE THIS LINE!
|
||||
|
||||
END DSP;
|
||||
|
||||
|
||||
-- Architecture Body
|
||||
|
||||
ARCHITECTURE DSP_architecture OF DSP IS
|
||||
|
||||
|
||||
BEGIN
|
||||
nSRCS <= '0' when nFB_CS2 = '0' and FB_ADR(27 downto 24) = x"4" else '1'; --nFB_CS3;
|
||||
nSRBHE <= '0' when FB_ADR(0 downto 0) = "0" else '1';
|
||||
nSRBLE <= '1' when FB_ADR(0 downto 0) = "0" and FB_SIZE1 = '0' and FB_SIZE0 = '1' else '0';
|
||||
nSRWE <= '0' when nFB_WR = '0' and nSRCS = '0' and MAIN_CLK = '0' else '1';
|
||||
nSROE <= '0' when nFB_OE = '0' and nSRCS = '0' else '1';
|
||||
DSP_INT <= '0';
|
||||
DSP_TA <= '0';
|
||||
IO(17 downto 0) <= FB_ADR(18 downto 1);
|
||||
SRD(15 downto 0) <= FB_AD(31 downto 16) when nFB_WR = '0' and nSRCS = '0' else "ZZZZZZZZZZZZZZZZ";
|
||||
FB_AD(31 downto 16) <= SRD(15 downto 0) when nFB_OE = '0' and nSRCS = '0' else "ZZZZZZZZZZZZZZZZ";
|
||||
|
||||
|
||||
END DSP_architecture;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user