Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
x393
Commits
dc5c25e2
Commit
dc5c25e2
authored
Jul 25, 2015
by
Alexey Grebenkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CVC defines set, part2
parent
26a449b6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
6 deletions
+36
-6
idelay_fine_pipe.v
wrap/idelay_fine_pipe.v
+7
-1
iserdes_mem.v
wrap/iserdes_mem.v
+8
-1
odelay_fine_pipe.v
wrap/odelay_fine_pipe.v
+7
-1
oserdes_mem.v
wrap/oserdes_mem.v
+8
-1
x393_testbench01.tf
x393_testbench01.tf
+6
-2
No files found.
wrap/idelay_fine_pipe.v
View file @
dc5c25e2
...
...
@@ -47,7 +47,13 @@ module idelay_fine_pipe
always
@
(
fdly_pre
)
begin
if
(
fdly_pre
>
3'h4
)
$
display
(
"ERROR: fine idelay value should be <5, specified %d @ %t"
,
fdly_pre
,
$
time
)
;
end
`endif
`else
// IVERILOG
`ifdef
CVC
always
@
(
fdly_pre
)
begin
if
(
fdly_pre
>
3'h4
)
$
display
(
"ERROR: fine idelay value should be <5, specified %d @ %t"
,
fdly_pre
,
$
time
)
;
end
`endif
//CVC
`endif
//IVERILOG
`ifndef
IGNORE_ATTR
(
*
IODELAY_GROUP
=
IODELAY_GRP
*
)
`endif
...
...
wrap/iserdes_mem.v
View file @
dc5c25e2
...
...
@@ -20,6 +20,13 @@
*******************************************************************************/
`timescale
1
ns
/
1
ps
//`define IVERILOG // uncomment just to chenck syntax (by the editor) in the corresponding branch
`ifdef
IVERILOG
`define
IVERILOGorCVC
`else
`ifdef
CVC
`define
IVERILOGorCVC
`endif
`endif
module
iserdes_mem
#
(
parameter
DYN_CLKDIV_INV_EN
=
"FALSE"
,
...
...
@@ -35,7 +42,7 @@ module iserdes_mem #
output
[
3
:
0
]
dout
)
;
`ifndef
IVERILOG
// Not using simulator - instantiate actual ISERDESE2 (can not be simulated because of encrypted )
`ifndef
IVERILOG
orCVC
// Not using simulator - instantiate actual ISERDESE2 (can not be simulated because of encrypted )
ISERDESE2
#(
.
DATA_RATE
(
"DDR"
)
,
.
DATA_WIDTH
(
4
)
,
...
...
wrap/odelay_fine_pipe.v
View file @
dc5c25e2
...
...
@@ -46,7 +46,13 @@ module odelay_fine_pipe
always
@
(
fdly_pre
)
begin
if
(
fdly_pre
>
3'h4
)
$
display
(
"ERROR: fine odelay value should be <5, specified %d @ %t"
,
fdly_pre
,
$
time
)
;
end
`endif
`else
// IVERILOG
`ifdef
CVC
always
@
(
fdly_pre
)
begin
if
(
fdly_pre
>
3'h4
)
$
display
(
"ERROR: fine odelay value should be <5, specified %d @ %t"
,
fdly_pre
,
$
time
)
;
end
`endif
// CVC
`endif
// IVERILOG
`ifndef
IGNORE_ATTR
(
*
IODELAY_GROUP
=
IODELAY_GRP
*
)
...
...
wrap/oserdes_mem.v
View file @
dc5c25e2
...
...
@@ -20,6 +20,13 @@
*******************************************************************************/
`timescale
1
ns
/
1
ps
//`define IVERILOG // uncomment just to chenck syntax (by the editor) in the corresponding branch
`ifdef
IVERILOG
`define
IVERILOGorCVC
`else
`ifdef
CVC
`define
IVERILOGorCVC
`endif
`endif
module
oserdes_mem
#(
parameter
MODE_DDR
=
"TRUE"
)
(
...
...
@@ -46,7 +53,7 @@ localparam integer DATA_WIDTH_TRI= (MODE_DDR=="TRUE")?4:1;
seems to be OK.
*/
`ifndef
IVERILOG
// Not using simulator - instantiate actual ISERDESE2 (can not be simulated because of encrypted )
`ifndef
IVERILOG
orCVC
// Not using simulator - instantiate actual ISERDESE2 (can not be simulated because of encrypted )
OSERDESE2
#(
.
DATA_RATE_OQ
(
DATA_RATE
)
,
.
DATA_RATE_TQ
(
DATA_RATE
)
,
...
...
x393_testbench01.tf
View file @
dc5c25e2
...
...
@@ -58,14 +58,18 @@ module x393_testbench01 #(
`
else
`
include
"IVERILOG_INCLUDE.v"
`
endif
// NON_VDT_ENVIROMENT
`
else
`
else
// IVERILOG
// $display("IVERILOG is not defined");
`
ifdef
CVC
`
ifdef
NON_VDT_ENVIROMENT
parameter
lxtname
=
"x393.fst"
;
`
else
// NON_VDT_ENVIROMENT
`
include
"IVERILOG_INCLUDE.v"
`
endif
// NON_VDT_ENVIROMENT
`
else
parameter
lxtname
=
"x393.lxt"
;
`
endif
// CVC
`
endif
`
endif
// IVERILOG
`
define
DEBUG_WR_SINGLE
1
`
define
DEBUG_RD_DATA
1
//`include "includes/x393_cur_params_sim.vh" // parameters that may need adjustment, should be before x393_localparams.vh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment