📄 apexii_components.vhd
字号:
mem6 : std_logic_vector(512 downto 1) := (OTHERS => '0');
mem7 : std_logic_vector(512 downto 1) := (OTHERS => '0');
mem8 : std_logic_vector(512 downto 1) := (OTHERS => '0')
);
PORT (portadatain : in std_logic_vector(15 downto 0) := (OTHERS => '0');
portaclk0 : in std_logic := '0';
portaclk1 : in std_logic := '0';
portaclr0 : in std_logic := '0';
portaclr1 : in std_logic := '0';
portaena0 : in std_logic := '1';
portaena1 : in std_logic := '1';
portawe : in std_logic := '0';
portare : in std_logic := '1';
portaraddr : in std_logic_vector(16 downto 0) := (OTHERS => '0');
portawaddr : in std_logic_vector(16 downto 0) := (OTHERS => '0');
portbdatain : in std_logic_vector(15 downto 0) := (OTHERS => '0');
portbclk0 : in std_logic := '0';
portbclk1 : in std_logic := '0';
portbclr0 : in std_logic := '0';
portbclr1 : in std_logic := '0';
portbena0 : in std_logic := '1';
portbena1 : in std_logic := '1';
portbwe : in std_logic := '0';
portbre : in std_logic := '1';
portbraddr : in std_logic_vector(16 downto 0) := (OTHERS => '0');
portbwaddr : in std_logic_vector(16 downto 0) := (OTHERS => '0');
portadataout : out std_logic_vector(15 downto 0);
portbdataout : out std_logic_vector(15 downto 0);
devclrn : in std_logic := '1';
devpor : in std_logic := '1';
portamodesel : in std_logic_vector(20 downto 0) := (OTHERS => '0');
portbmodesel : in std_logic_vector(20 downto 0) := (OTHERS => '0')
);
END COMPONENT;
COMPONENT apexii_cam_slice
GENERIC (operation_mode : string := "encoded_address";
logical_cam_name : string := "cam_xxx";
logical_cam_depth : integer := 32;
logical_cam_width : integer:= 32;
address_width : integer:= 5;
waddr_clear : string := "none";
write_enable_clear : string := "none";
write_logic_clock : string := "none";
write_logic_clear : string := "none";
output_clock : string := "none";
output_clear : string := "none";
init_file : string := "xxx";
init_filex : string := "xxx";
first_address : integer:= 0;
last_address : integer:= 31;
first_pattern_bit : integer:= 1;
pattern_width : integer:= 32;
power_up : string := "low";
init_mem_true : apexii_mem_data := (OTHERS => "11111111111111111111111111111111");
init_mem_comp : apexii_mem_data := (OTHERS => "11111111111111111111111111111111")
);
PORT (clk0 : in std_logic := '0';
clk1 : in std_logic := '0';
clr0 : in std_logic := '0';
clr1 : in std_logic := '0';
ena0 : in std_logic := '1';
ena1 : in std_logic := '1';
we : in std_logic := '0';
datain : in std_logic := '0';
wrinvert : in std_logic := '0';
outputselect : in std_logic := '0';
waddr : in std_logic_vector(4 downto 0) := (OTHERS => '0');
lit : in std_logic_vector(31 downto 0) := (OTHERS => '0');
devclrn : in std_logic := '1';
devpor : in std_logic := '1';
modesel : in std_logic_vector(9 downto 0) := (OTHERS => '0');
matchout : out std_logic_vector(15 downto 0);
matchfound : out std_logic
);
END COMPONENT;
COMPONENT apexii_hsdi_transmitter
GENERIC (
channel_width : integer := 10;
center_align : String := "off";
-- power_up : string := "low";
TimingChecksOn : Boolean := True;
MsgOn : Boolean := DefGlitchMsgOn;
XOn : Boolean := DefGlitchXOn;
MsgOnChecks : Boolean := DefMsgOnChecks;
XOnChecks : Boolean := DefXOnChecks;
InstancePath : String := "*";
tsetup_datain_clk1_noedge_posedge : VitalDelayArrayType(9 downto 0) := (OTHERS => DefSetupHoldCnst);
thold_datain_clk1_noedge_posedge : VitalDelayArrayType(9 downto 0) := (OTHERS => DefSetupHoldCnst);
tpd_clk0_dataout_negedge: VitalDelayType01 := DefPropDelay01;
tipd_clk0 : VitalDelayType01 := DefpropDelay01;
tipd_clk1 : VitalDelayType01 := DefpropDelay01;
tipd_datain : VitalDelayArrayType01(9 downto 0) := (
OTHERS => DefpropDelay01));
PORT (
clk0 : in std_logic;
clk1 : in std_logic;
datain : in std_logic_vector(9 downto 0);
devclrn : in std_logic := '1';
devpor : in std_logic := '1';
dataout : out std_logic);
END COMPONENT;
COMPONENT apexii_hsdi_receiver
GENERIC (
channel_width : integer := 10;
cds_mode : string := "single_bit";
-- power_up : string := "low";
TimingChecksOn : Boolean := True;
MsgOn : Boolean := DefGlitchMsgOn;
XOn : Boolean := DefGlitchXOn;
MsgOnChecks : Boolean := DefMsgOnChecks;
XOnChecks : Boolean := DefXOnChecks;
InstancePath : String := "*";
tsetup_datain_clk0_noedge_posedge : VitalDelayType := DefSetupHoldCnst;
thold_datain_clk0_noedge_posedge : VitalDelayType := DefSetupHoldCnst;
tsetup_deskewin_clk0_noedge_posedge: VitalDelayType := DefSetupHoldCnst;
thold_deskewin_clk0_noedge_posedge : VitalDelayType := DefSetupHoldCnst;
tpd_clk0_dataout_negedge: VitalDelayArrayType01(9 downto 0) := (OTHERS => DefPropDelay01);
tipd_clk0 : VitalDelayType01 := DefpropDelay01;
tipd_clk1 : VitalDelayType01 := DefpropDelay01;
tipd_deskewin : VitalDelayType01 := DefpropDelay01;
tipd_datain : VitalDelayType01 := DefpropDelay01);
PORT (
clk0 : in std_logic;
clk1 : in std_logic;
datain : in std_logic;
deskewin : in std_logic := '0';
devclrn : in std_logic := '1';
devpor : in std_logic := '1';
dataout : out std_logic_vector(9 downto 0));
END COMPONENT;
COMPONENT apexii_pll
GENERIC (input_frequency : integer := 1000;
operation_mode : string := "normal";
simulation_type : string := "timing";
clk0_multiply_by : integer := 1;
clk0_divide_by : integer := 1;
clk1_multiply_by : integer := 1;
clk1_divide_by : integer := 1;
clk2_multiply_by : integer := 1;
clk2_divide_by : integer := 1;
phase_shift : integer := 0;
effective_phase_shift : integer := 0;
effective_clk0_delay : integer := 0;
effective_clk1_delay : integer := 0;
effective_clk2_delay : integer := 0;
lock_high : integer := 1;
invalid_lock_multiplier : integer := 5;
valid_lock_multiplier : integer := 5;
lock_low : integer := 1;
MsgOn : Boolean := DefGlitchMsgOn;
XOn : Boolean := DefGlitchXOn;
tpd_ena_clk0 : VitalDelayType01 := DefPropDelay01;
tpd_ena_clk1 : VitalDelayType01 := DefPropDelay01;
tpd_ena_clk2 : VitalDelayType01 := DefPropDelay01;
tpd_clk_locked : VitalDelayType01 := DefPropDelay01;
tpd_fbin_clk0 : VitalDelayType01 := DefPropDelay01;
tpd_fbin_clk1 : VitalDelayType01 := DefPropDelay01;
tpd_fbin_clk2 : VitalDelayType01 := DefPropDelay01;
tipd_clk : VitalDelayType01 := DefpropDelay01;
tipd_ena : VitalDelayType01 := DefpropDelay01;
tipd_fbin : VitalDelayType01 := DefpropDelay01
);
PORT (clk : in std_logic;
ena : in std_logic := '1';
fbin : in std_logic := '0';
clk0 : out std_logic;
clk1 : out std_logic;
clk2 : out std_logic;
locked : out std_logic
);
END COMPONENT;
COMPONENT apexii_jtagb
PORT (tms : in std_logic := '0';
tck : in std_logic := '0';
tdi : in std_logic := '0';
ntrst : in std_logic := '0';
tdoutap : in std_logic := '0';
tdouser : in std_logic := '0';
tdo: out std_logic;
tmsutap: out std_logic;
tckutap: out std_logic;
tdiutap: out std_logic;
shiftuser: out std_logic;
clkdruser: out std_logic;
updateuser: out std_logic;
runidleuser: out std_logic;
usr1user: out std_logic);
END COMPONENT;
END APEXII_COMPONENTS;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -