?? selectram_a2_b9.v
字號:
//
// Module: SelectRAM_A2_B9
//
// Description: Verilog instantiation template
// Block SelectRAM
// Dual Port A:8192 x 2 bits & B: 2048 x 9 bits
//
// Device: VIRTEX-II Family
//-------------------------------------------------------------------------------------------
//
// Syntax for Synopsys FPGA Express
// synopsys translate_off
defparam
//"Read during Write" attribute for functional simulation
U_RAMB16_S2_S9.WRITE_MODE_A = "READ_FIRST" -type string; //WRITE_FIRST(default)/ READ_FIRST/ NO_CHANGE
U_RAMB16_S2_S9.WRITE_MODE_B = "WRITE_FIRST" -type string; //WRITE_FIRST(default)/ READ_FIRST/ NO_CHANGE
//RAM initialization ("0" by default) for functional simulation: see example
// synopsys translate_on
//Block SelectRAM Instantiation
RAMB16_S2_S9 U_RAMB16_S2_S9 ( .DIA(), //insert 2-bit data_in bus ([1:0])
.ADDRA(), //insert 13-bit address bus ([12:0])
.ENA(), //insert enable signal
.WEA(), //insert write enable signal
.SSRA(), //insert set/reset signal
.CLKA(), //insert clock signal
.DOA(), //insert 2-bit data_out bus ([1:0])
//
.DIB(), //insert 8-bit data_in bus ([7:0])
.DIPB(), //insert 1-bit parity data_in
.ADDRB(), //insert 11-bit address bus ([10:0])
.ENB(), //insert enable signal
.WEB(), //insert write enable signal
.SSRB(), //insert set/reset signal
.CLKB(), //insert clock signal
.DOB(), //insert 8-bit data_out bus ([7:0])
.DOPB() //insert 1-bit parity data_out
);
// Attribute Decalrations:
/* synopsys attribute
Attribute "Read during Write mode" = WRITE_FIRST(default)/ READ_FIRST/ NO_CHANGE
WRITE_MODE_A "READ_FIRST"
WRTIE_MODE_B "WRITE_FIRST"
*/
//Attributes for RAM initialization ("0" by default): see example
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -