[問題] 請問有關 Artisan Memory Generator

看板Electronics作者 (rxiang)時間9年前 (2016/03/22 17:52), 9年前編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
請問一下 Cell-Based Design 用到的 Memory mem.v 裡只有一項 mem 可用 Memory Generator 產生 那如果有用到兩項以上呢 ? ================================================== ex: (一項 mem) sp_sram.v : module sp_sram ... reg [7:0] my_memory [0:255]; ... endmodule 使用 Memory Generator : Name: ... Number of Words: 256 Number of bits : 8 Frequency:... ================================================== ex: (四項 mem) sp_sram2.v : module sp_sram2 ... reg [7:0] mem0[0:8]; reg [7:0] mem1[0:8]; reg [7:0] mem2[0:8]; reg [7:0] mem3[0:8]; ... endmodule 使用 Memory Generator : Name: ... Number of Words: ??? Number of bits : ??? Frequency:... -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.116.156.225 ※ 文章網址: https://www.ptt.cc/bbs/Electronics/M.1458640378.A.851.html ※ 編輯: rxiang (140.116.156.225), 03/22/2016 17:53:53

03/22 19:03, , 1F
在你的code 中instance 4個mem.v,不就解決了
03/22 19:03, 1F
文章代碼(AID): #1MyHNwXH (Electronics)