浓毛老太交欧美老妇热爱乱,蜜臀性色av免费,妺妺窝人体色www看美女,久久久久久久久久久大尺度免费视频,麻豆人妻无码性色av专区

位置:51電子網(wǎng) » 技術(shù)資料 » 其它綜合

Instantiating LPMs in Verilog

發(fā)布時間:2008/6/5 0:00:00 訪問次數(shù):362

the example in this section defines a black box for an altera lpm_ram_dq,
which is then instantiated at a higher level. the lpm_ram_dq is a parameterized
ram with separate input and output ports. altera recommends
using the lpm_ram_dq to implement asynchronous memory or memory
with synchronous inputs and/or outputs. the lpm_ram_dq function uses
eabs in flex10k devices, and latch arrays in other device families. if you
are using a flex10k device, altera recommends that you use synchronous
rather than asynchronous ram functions.
1. define a black box with the name myram_64x16. notice that
immediately after the port list, but before the semicolon ';' is the
syn_black_box synthesis directive with the lpm_type specified as
lpm_ram_dq, along with other specified arguments.
module myram_64x16 (data, address, inclock, outclock, we, q)
/* synthesis syn_black_box
lpm_width=16
lpm_widthad=6
lpm_type="lpm_ram_dq" */ ;
input [15:0] data;w
input [5:0] address;
input inclock, outclock;
input we;
output [15:0] q;
// this is an empty module
endmodule
2. now instantiate the lpm in a higher-level module.
module myram(clock, we, data, address, q);
input clock, we;
input [15:0] data;
input [5:0] address;
output [15:0] q;
myram_64x16 inst1 (data, address, clock, clock, we, q);
endmodule


the example in this section defines a black box for an altera lpm_ram_dq,
which is then instantiated at a higher level. the lpm_ram_dq is a parameterized
ram with separate input and output ports. altera recommends
using the lpm_ram_dq to implement asynchronous memory or memory
with synchronous inputs and/or outputs. the lpm_ram_dq function uses
eabs in flex10k devices, and latch arrays in other device families. if you
are using a flex10k device, altera recommends that you use synchronous
rather than asynchronous ram functions.
1. define a black box with the name myram_64x16. notice that
immediately after the port list, but before the semicolon ';' is the
syn_black_box synthesis directive with the lpm_type specified as
lpm_ram_dq, along with other specified arguments.
module myram_64x16 (data, address, inclock, outclock, we, q)
/* synthesis syn_black_box
lpm_width=16
lpm_widthad=6
lpm_type="lpm_ram_dq" */ ;
input [15:0] data;w
input [5:0] address;
input inclock, outclock;
input we;
output [15:0] q;
// this is an empty module
endmodule
2. now instantiate the lpm in a higher-level module.
module myram(clock, we, data, address, q);
input clock, we;
input [15:0] data;
input [5:0] address;
output [15:0] q;
myram_64x16 inst1 (data, address, clock, clock, we, q);
endmodule


相關(guān)IC型號

熱門點擊

 

推薦技術(shù)資料

羅盤誤差及補償
    造成羅盤誤差的主要因素有傳感器誤差、其他磁材料干擾等。... [詳細]
版權(quán)所有:51dzw.COM
深圳服務(wù)熱線:13692101218  13751165337
粵ICP備09112631號-6(miitbeian.gov.cn)
公網(wǎng)安備44030402000607
深圳市碧威特網(wǎng)絡(luò)技術(shù)有限公司
付款方式


 復制成功!