📄 fifopar.v
字号:
// --------------------------------------------------------------------
// >>>>>>>>>>>>>>>>>>>>>>>>> COPYRIGHT NOTICE <<<<<<<<<<<<<<<<<<<<<<<<<
// --------------------------------------------------------------------
// Copyright (c) 2005 by DTK Corporation
// --------------------------------------------------------------------
// --------------------------------------------------------------------
//
// This file contains the parameters used in the fast FIFO controller
// reference design.
//
// --------------------------------------------------------------------
//
// Revision History :
// --------------------------------------------------------------------
// Ver :| Author :| Mod. Date :| Changes Made:
// V0.1 :| Robin Liu :| 03/29/05 :| Pre-Release
// --------------------------------------------------------------------
parameter tDLY = 2; // 2ns delay for simulation purpose
//data width of the dual port RAM
`ifdef FIFODataWidth //data width =16;
`undef FIFODataWidth
`endif
`define FIFODataWidth 16
//the dual port RAM capacitibility
`ifdef FIFOCap // capacity: 64*1024=65536bits;
`undef FIFOCap
`endif
`define FIFOCap 64*1024
// maxium address value of the dual port RAM
`ifdef FIFOMaxAddressValue
`undef FIFOMaxAddressValue
`endif
`define FIFOMaxAddressValue (`FIFOCap/`FIFODataWidth)-1
//address depth of the dual port RAM
`ifdef FIFOAddrDepth // address depth=12 ;
`undef FIFOAddrDepth
`endif
`define FIFOAddrDepth 12
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -