selectram_32s.v
来自「本人正在学习vhdl语言」· Verilog 代码 · 共 39 行
V
39 行
//
// Module: SelectRAM_32S
//
// Description: Verilog instantiation template
// Distributed SelectRAM
// Single Port 32 x 1
// can be used also for RAM32X1S_1
//
// Device: VIRTEX-II Family
//-------------------------------------------------------------------------------------------
//
//
// Syntax for Synopsys FPGA Express
// synopsys translate_off
defparam
//RAM initialization ("0" by default) for functional simulation:
U_RAM32X1S.INIT = 32'h00000000;
// synopsys translate_on
//Distributed SelectRAM Instantiation
RAM32X1S U_RAM32X1S ( .D(), //insert input signal
.WE(), //insert Write Enable signal
.WCLK(), //insert Write Clock signal
.A0(), //insert Address 0 signal
.A1(), //insert Address 1 signal
.A2(), //insert Address 2 signal
.A3(), //insert Address 3 signal
.A4(), //insert Address 4 signal
.O() //insert output signal
);
// synthesis attribute declarations
/* synopsys attribute
INIT "00000000"
*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?