There are 2 messages in this thread.
You are currently looking at messages 0 to 2.
I am looking for the die size of Stratix EP1s10 FPGA. It will be highly appreciated if anybody can give me a hint where to find such information. Any number in terms of mm^2, lamda, transistor count or gate count will be fine. I have checked the data sheet but could not find any. Thanks for care! Please reply to my email: j...@ecs.umass.edu______________________________
I ran the testbench as shown below <BR> and even though it seems to be a simple piece of code ,I keep getting errors for the syntax particularly opening files and closing them for reading or writing. I am using 3.1i Foundation Xilinx with Synopsys synthesis tools.Apparently the textio package is for simulation only and was advised to use "synthesis on/off" <BR> The code is as follows <p>library ieee; <BR> use ieee.std_logic_1164.all; <p>library ieee; <BR> USE IEEE.STD_LOGIC_TEXTIO.ALL; <BR> use std.textio.all <p>entity testbench is <BR> generic( <BR> vwidth : INTEGER := 8); <p>end testbench; <p>architecture TB_ARCHITECTURE of testbench is <BR> component window_9 <BR> generic( <BR> vwidth : INTEGER := 8 <BR> ); <p>port( <BR> Clk: in STD_LOGIC; <BR> RSTn: in STD_LOGIC; <BR> D: in std_logic_vector (vwidth-1 downto 0); <BR> w11: out std_logic_vector(vwidth-1 downto 0); <BR> w12: out std_logic_vector(vwidth-1 downto 0); <BR> w13: out std_logic_vector(vwidth-1 downto 0); <BR> w21: out std_logic_vector(vwidth-1 downto 0); <BR> w22: out std_logic_vector(vwidth-1 downto 0); <BR> w23: out std_logic_vector(vwidth-1 downto 0); <BR> w31: out std_logic_vector(vwidth-1 downto 0); <BR> w32: out std_logic_vector(vwidth-1 downto 0); <BR> w33: out std_logic_vector(vwidth-1 downto 0); <BR> DV: out STD_LOGIC <BR> ); <BR> end component; <p> signal Clk: STD_LOGIC; <BR> signal RSTn: STD_LOGIC; <BR> signal D: std_logic_vector(vwidth-1 downto 0); <BR> signal w11: std_logic_vector(vwidth-1 downto 0); <BR> signal w12: std_logic_vector(vwidth-1 downto 0); <BR> signal w13: std_logic_vector(vwidth-1 downto 0); <BR> signal w21: std_logic_vector(vwidth-1 downto 0); <BR> signal w22: std_logic_vector(vwidth-1 downto 0); <BR> signal w23: std_logic_vector(vwidth-1 downto 0); <BR> signal w31: std_logic_vector(vwidth-1 downto 0); <BR> signal w32: std_logic_vector(vwidth-1 downto 0); <BR> signal w33: std_logic_vector(vwidth-1 downto 0); <BR> signal DV: STD_LOGIC; <p>begin <p> UUT : window_9 <BR> port map <BR> ( <BR> Clk=&g t;Clk, <BR> RSTn=& gt;RSTn, <BR> D=> D, <BR> w11=&g t;w11, <BR> w12=&g t;w12, <BR> w13=&g t;w13, <BR> w21=&g t;w21, <BR> w22=&g t;w22, <BR> w23=&g t;w23, <BR> w31=&g t;w31, <BR> w32=&g t;w32, <BR> w33=&g t;w33, <BR> DV=> ;DV ); <p><p> read_from_file: process(Clk) <BR> variable indata_line: line; <BR> variable indata: integer; <p>file input_data_file: text open read_mode is "lena.bin"; <BR> --file input_data_file: text is in "A:/lena.bin"; <BR> begin <BR> if rising_edge(Clk) then <BR> readline(input_data_file,indata_line); <BR> read(indata_line,indata); <BR> D <= conv_std_logic_vector(indata,8); <BR> if endfile(input_data_file) then <BR> report "end of file -- looping back to start of file"; <BR> file_close(input_data_file); <BR> --return; <BR> --file input_data_file: text is in "A:/lena.bin"; <BR> file_open(input_data_file,"lena.bin"); <BR> end if; <BR> end if; <BR> end process; <BR> write_to_file: process(Clk) <BR> variable outdata_line: line; <BR> variable outdata: integer:=0; <BR> file output_data_file: text open write_mode is "vhdl_output.bin"; <BR> --file output_data_file:text is out "vhdl_output.bin"; <BR> begin <BR> if rising_edge(Clk) then <BR> outdata := CONV_INTEGER(unsigned(w11)); <BR> if DV = '1' then <BR> write(outdata_line,outdata); <BR> writeline(output_data_file,outdata_line); <BR> end if; <BR> end if; <BR> end process; <p>clock_gen: process <BR> begin <BR> Clk <= '0'; <BR> wait for 5 ns; <BR> Clk <= '1'; <BR> wait for 5 ns; <BR> end process; <BR> reset_gen: process <BR> begin <BR> RSTn <= '0'; <BR> wait for 10 ns; <BR> RSTn <= '1'; <BR> wait; <BR> end process; <BR> end TB_ARCHITECTURE; <BR> --synopsys translate_off <p>configuration cfg_TESTBENCH_WINDOW9 of testbench is <BR> for TB_ARCHITECTURE <BR> for all : window_9 <BR> use configuration work.cfg_window_9; <BR> end for; <BR> end for; <BR> end configuration cfg_TESTBENCH_WINDOW9 ; <BR> --synopsys translate_on______________________________