跪求这个异步的ROM在quartus中怎么实现,除了用组合逻辑外
时间:10-02
整理:3721RD
点击:
下面这段代码是产生的异步ROM,在quartus中能实现吗,求大神
module scinstmem (a,inst);
input [31:0] a;
output[31:0] inst;
lpm_rom lpm_rom_component (.address(a[6:2]),
.q(inst));
defparam lpm_rom_component.lpm_width = 32,
lpm_rom_component.lpm_widthad = 5,
lpm_rom_component.lpm_numwords = "unused",
lpm_rom_component.lpm_file = "scinstmem.mif",
lpm_rom_component.lpm_indata = "unused",
lpm_rom_component.lpm_outdata = "unregistered",
lpm_rom_component.lpm_address_control = "unregistered";
endmodule
module scinstmem (a,inst);
input [31:0] a;
output[31:0] inst;
lpm_rom lpm_rom_component (.address(a[6:2]),
.q(inst));
defparam lpm_rom_component.lpm_width = 32,
lpm_rom_component.lpm_widthad = 5,
lpm_rom_component.lpm_numwords = "unused",
lpm_rom_component.lpm_file = "scinstmem.mif",
lpm_rom_component.lpm_indata = "unused",
lpm_rom_component.lpm_outdata = "unregistered",
lpm_rom_component.lpm_address_control = "unregistered";
endmodule
新人求助,顶顶
