[help]Ko khởi tạo giá trị ROM được

Collapse
X
 
  • Giờ
  • Show
Clear All
new posts
  • it4rb
    Thành viên chính thức
    • Jun 2008
    • 97

    #1

    [help]Ko khởi tạo giá trị ROM được

    Chào các bác, em tạo một con ROM bằgn coregen của ise mà ko sao khởi tạo được giá trị từ file *.mif. Cụ thể là tạo ROM xong, modify cái file *.mif, khai báo component ROM trong achitecture, thêm hai dòng "attribute syn_black_box : boolean;
    attribute syn_black_box of ram: component is true;" rồi copile mà ko được. code của em đây:
    Code:
    achitecture bhv of test[INDENT]component rom
    	port (
    	a: IN std_logic_VECTOR(7 downto 0);
    	spo: OUT std_logic_VECTOR(7 downto 0));
    end component;[/INDENT]
    -- Synplicity black box declaration
    attribute syn_black_box : boolean;
    attribute syn_black_box of rom: component is true;
    begin
            rom:port map(address,data);
    end bhv;
    Các bác giúp hộ em với, tiện thể viết tutorial về coregen luôn.
    Chuyện nhỏ như con thỏ,bắt thỏ mới là chuyện lớn!!!

Về tác giả

Collapse

it4rb "second hand" student Tìm hiểu thêm về it4rb

Bài viết mới nhất

Collapse

Đang tải...