forked from alibaba-damo-academy/damo_ctl_cham
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcommon_defines.vh
More file actions
28 lines (22 loc) · 908 Bytes
/
common_defines.vh
File metadata and controls
28 lines (22 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//////////////////////////////////////////////////
// Author: Zhang Yichi (changlv)
// Email: changlv.zyc@alibaba-inc.com
//
// Project Name: MVP
// Module Name: common_defines
// Modify Date: 07/08/2021 13:00
// Description: Attributes of common modules (modadd, modsub, etc.)
//////////////////////////////////////////////////
`ifndef __COMMON_DEFINES_VH__
`define __COMMON_DEFINES_VH__
`timescale 1ns/1ps
//`define SIMULATION
`define FPGA
`define COMMON_DATA_LENGTH 4096
`define COMMON_BRAM_DELAY 1 // delay of Block RAM
`define COMMON_URAM_DELAY 3 // delay of Ultra RAM
`define COMMON_MODMUL_DELAY 4 // delay of ModMul module
`define COMMON_MODADD_DELAY 1 // delay of ModAdd module
`define COMMON_MODSUB_DELAY 1 // delay of ModSub module
`define COMMON_MODSUBRED_DELAY 2 // delay of ModSubRed module
`endif // __COMMON_DEFINES_VH__