⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 virage_simprims.vhd

📁 free hardware ip core about sparcv8,a soc cpu in vhdl
💻 VHD
📖 第 1 页 / 共 2 页
字号:
use ieee.std_logic_1164.all;library virage;use virage.virage_simprims.all;entity hdss1_512x32cm4sw0 is  port (    addr, taddr : in std_logic_vector(8 downto 0);    clk         : in std_logic;    di, tdi     : in std_logic_vector(31 downto 0);    do          : out std_logic_vector(31 downto 0);    me, oe, we, tme, twe, awt, biste, toe : in std_logic  );end;architecture behavioral of hdss1_512x32cm4sw0 isbegin  syncram0 : virage_syncram_sim    generic map ( abits => 9, dbits => 32)    port map ( addr, clk, di, do, me, oe, we);end behavioral;library ieee;use ieee.std_logic_1164.all;library virage;use virage.virage_simprims.all;entity hdss1_1024x32cm4sw0 is  port (    addr, taddr : in std_logic_vector(9 downto 0);    clk         : in std_logic;    di, tdi     : in std_logic_vector(31 downto 0);    do          : out std_logic_vector(31 downto 0);    me, oe, we, tme, twe, awt, biste, toe : in std_logic  );end;architecture behavioral of hdss1_1024x32cm4sw0 isbegin  syncram0 : virage_syncram_sim    generic map ( abits => 10, dbits => 32)    port map ( addr, clk, di, do, me, oe, we);end behavioral;library ieee;use ieee.std_logic_1164.all;library virage;use virage.virage_simprims.all;entity hdss1_2048x32cm8sw0 is  port (    addr, taddr : in std_logic_vector(10 downto 0);    clk         : in std_logic;    di, tdi     : in std_logic_vector(31 downto 0);    do          : out std_logic_vector(31 downto 0);    me, oe, we, tme, twe, awt, biste, toe : in std_logic  );end;architecture behavioral of hdss1_2048x32cm8sw0 isbegin  syncram0 : virage_syncram_sim    generic map ( abits => 11, dbits => 32)    port map ( addr, clk, di, do, me, oe, we);end behavioral;library ieee;use ieee.std_logic_1164.all;library virage;use virage.virage_simprims.all;entity hdss1_16384x8cm16sw0 is  port (    addr        : in std_logic_vector(13 downto 0);    clk         : in std_logic;    di          : in std_logic_vector(7 downto 0);    do          : out std_logic_vector(7 downto 0);    me, oe, we  : in std_logic  );end;architecture behavioral of hdss1_16384x8cm16sw0 isbegin  syncram0 : virage_syncram_sim    generic map ( abits => 14, dbits => 8)    port map ( addr, clk, di, do, me, oe, we);end behavioral;-- 2-port syncronous ramlibrary ieee;use ieee.std_logic_1164.all;library virage;use virage.virage_simprims.all;entity rfss2_136x32cm2sw0 is  port (    addra, taddra : in std_logic_vector(7 downto 0);    addrb, taddrb : in std_logic_vector(7 downto 0);    clka, clkb    : in std_logic;    dia, tdia     : in std_logic_vector(31 downto 0);    dob           : out std_logic_vector(31 downto 0);    mea, wea, tmea, twea, bistea : in std_logic;    meb, oeb, tmeb,  awtb, bisteb, toeb : in std_logic  );end;architecture behavioral of rfss2_136x32cm2sw0 isbegin  syncram0 : virage_2pram_sim    generic map ( abits => 8, dbits => 32, words => 136)    port map ( addra, addrb, clka, clkb, dia, dob, mea, wea, meb, oeb);end behavioral;library ieee;use ieee.std_logic_1164.all;library virage;use virage.virage_simprims.all;entity rfss2_168x32cm2sw0 is  port (    addra, taddra : in std_logic_vector(7 downto 0);    addrb, taddrb : in std_logic_vector(7 downto 0);    clka, clkb    : in std_logic;    dia, tdia     : in std_logic_vector(31 downto 0);    dob           : out std_logic_vector(31 downto 0);    mea, wea, tmea, twea, bistea : in std_logic;    meb, oeb, tmeb,  awtb, bisteb, toeb : in std_logic  );end;architecture behavioral of rfss2_168x32cm2sw0 isbegin  syncram0 : virage_2pram_sim    generic map ( abits => 8, dbits => 32, words => 168)    port map ( addra, addrb, clka, clkb, dia, dob, mea, wea, meb, oeb);end behavioral;-- dual-port syncronous ramlibrary ieee;use ieee.std_logic_1164.all;library virage;use virage.virage_simprims.all;entity hdss2_64x32cm4sw0 is  port (    addra, taddra : in std_logic_vector(5 downto 0);    addrb, taddrb : in std_logic_vector(5 downto 0);    clka, clkb    : in std_logic;    dia, tdia     : in std_logic_vector(31 downto 0);    dib, tdib     : in std_logic_vector(31 downto 0);    doa, dob      : out std_logic_vector(31 downto 0);    mea, oea, wea, tmea, twea, awta, bistea, toea : in std_logic;    meb, oeb, web, tmeb, tweb, awtb, bisteb, toeb : in std_logic  );end;architecture behavioral of hdss2_64x32cm4sw0 isbegin  syncram0 : virage_dpram_sim    generic map ( abits => 6, dbits => 32)    port map ( addra, clka, dia, doa, mea, oea, wea,	       addrb, clkb, dib, dob, meb, oeb, web);end behavioral;library ieee;use ieee.std_logic_1164.all;library virage;use virage.virage_simprims.all;entity hdss2_128x32cm4sw0 is  port (    addra, taddra : in std_logic_vector(6 downto 0);    addrb, taddrb : in std_logic_vector(6 downto 0);    clka, clkb    : in std_logic;    dia, tdia     : in std_logic_vector(31 downto 0);    dib, tdib     : in std_logic_vector(31 downto 0);    doa, dob      : out std_logic_vector(31 downto 0);    mea, oea, wea, tmea, twea, awta, bistea, toea : in std_logic;    meb, oeb, web, tmeb, tweb, awtb, bisteb, toeb : in std_logic  );end;architecture behavioral of hdss2_128x32cm4sw0 isbegin  syncram0 : virage_dpram_sim    generic map ( abits => 7, dbits => 32)    port map ( addra, clka, dia, doa, mea, oea, wea,	       addrb, clkb, dib, dob, meb, oeb, web);end behavioral;library ieee;use ieee.std_logic_1164.all;library virage;use virage.virage_simprims.all;entity hdss2_256x32cm4sw0 is  port (    addra, taddra : in std_logic_vector(7 downto 0);    addrb, taddrb : in std_logic_vector(7 downto 0);    clka, clkb    : in std_logic;    dia, tdia     : in std_logic_vector(31 downto 0);    dib, tdib     : in std_logic_vector(31 downto 0);    doa, dob      : out std_logic_vector(31 downto 0);    mea, oea, wea, tmea, twea, awta, bistea, toea : in std_logic;    meb, oeb, web, tmeb, tweb, awtb, bisteb, toeb : in std_logic  );end;architecture behavioral of hdss2_256x32cm4sw0 isbegin  syncram0 : virage_dpram_sim    generic map ( abits => 8, dbits => 32)    port map ( addra, clka, dia, doa, mea, oea, wea,	       addrb, clkb, dib, dob, meb, oeb, web);end behavioral;library ieee;use ieee.std_logic_1164.all;library virage;use virage.virage_simprims.all;entity hdss2_512x32cm4sw0 is  port (    addra, taddra : in std_logic_vector(8 downto 0);    addrb, taddrb : in std_logic_vector(8 downto 0);    clka, clkb    : in std_logic;    dia, tdia     : in std_logic_vector(31 downto 0);    dib, tdib     : in std_logic_vector(31 downto 0);    doa, dob      : out std_logic_vector(31 downto 0);    mea, oea, wea, tmea, twea, awta, bistea, toea : in std_logic;    meb, oeb, web, tmeb, tweb, awtb, bisteb, toeb : in std_logic  );end;architecture behavioral of hdss2_512x32cm4sw0 isbegin  syncram0 : virage_dpram_sim    generic map ( abits => 9, dbits => 32)    port map ( addra, clka, dia, doa, mea, oea, wea,	       addrb, clkb, dib, dob, meb, oeb, web);end behavioral;library ieee;use ieee.std_logic_1164.all;library virage;use virage.virage_simprims.all;entity hdss2_8192x8cm16sw0 is  port (    addra, taddra : in std_logic_vector(12 downto 0);    addrb, taddrb : in std_logic_vector(12 downto 0);    clka, clkb    : in std_logic;    dia, tdia     : in std_logic_vector(7 downto 0);    dib, tdib     : in std_logic_vector(7 downto 0);    doa, dob      : out std_logic_vector(7 downto 0);    mea, oea, wea, tmea, twea, awta, bistea, toea : in std_logic;    meb, oeb, web, tmeb, tweb, awtb, bisteb, toeb : in std_logic  );end;architecture behavioral of hdss2_8192x8cm16sw0 isbegin  syncram0 : virage_dpram_sim    generic map ( abits => 13, dbits => 8)    port map ( addra, clka, dia, doa, mea, oea, wea,	       addrb, clkb, dib, dob, meb, oeb, web);end behavioral;-- pragma translate_on

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -