Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dimitris Lampridis
VFC-HD
Commits
01d06d7e
Commit
01d06d7e
authored
Apr 30, 2016
by
Manoel Barros Marin
Browse files
- Fixed bugs in some IOs
parent
a214d8fa
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
Hdl/BE_BI_verilog_template.v
View file @
01d06d7e
...
...
@@ -68,7 +68,7 @@ reg [ 2:0] State_qb3, NextState_ab3;
//======================================= User Logic =======================================\\
//==== Example of Se
c
uential logic ====\\
//==== Example of Se
q
uential logic ====\\
// Example of synchronous logic with asynchronous reset:
always
@
(
posedge
Clock_ik
or
negedge
Reset_iran
)
...
...
Hdl/FpgaModules/ApplicationSpecific/BaseProject/VfcHdApplication.v
View file @
01d06d7e
`timescale
1
ns
/
100
ps
module
VfcHdApplication
#(
parameter
g_ApplicationVersion_b8
=
8'hb
1
,
g_ApplicationReleaseDay_b8
=
8'h
01
,
g_ApplicationReleaseMonth_b8
=
8'h0
3
,
#(
parameter
g_ApplicationVersion_b8
=
8'hb
2
,
g_ApplicationReleaseDay_b8
=
8'h
28
,
g_ApplicationReleaseMonth_b8
=
8'h0
4
,
g_ApplicationReleaseYear_b8
=
8'h16
)
(
//@@@@@@@@@@@@@@@@@@@@@@@@@
...
...
@@ -49,14 +49,14 @@ module VfcHdApplication
output
FmcTdi_o
,
input
FmcTdo_i
,
output
FmcTrstL_orn
,
outp
ut
FmcScl_ok
,
ino
ut
FmcScl_
i
ok
,
inout
FmcSda_io
,
input
FmcPgM2C_in
,
output
FmcPgC2M_on
,
input
FmcClk0M2CCmos_ik
,
input
FmcClk1M2CCmos_ik
,
in
p
ut
FmcClk2Bidir_ik
,
//differential signal
in
p
ut
FmcClk3Bidir_ik
,
//differential signal
in
o
ut
FmcClk2Bidir_i
o
k
,
//differential signal
in
o
ut
FmcClk3Bidir_i
o
k
,
//differential signal
input
FmcClkDir_i
,
output
[
9
:
0
]
FmcDpC2M_ob10
,
//diff output
input
[
9
:
0
]
FmcDpM2C_ib10
,
...
...
Hdl/FpgaModules/ApplicationSpecific/BoardTest/FmcTest/fmc_test_wrapper.v
View file @
01d06d7e
...
...
@@ -30,7 +30,7 @@ module fmc_test_wrapper (
output
FmcTdi_o
,
input
FmcTdo_i
,
output
FmcTrstL_orn
,
//Note!! NC
out
put
FmcScl_ok
,
in
out
FmcScl_
i
ok
,
inout
FmcSda_io
,
input
FmcPgM2C_in
,
output
FmcPgC2M_on
,
...
...
@@ -38,8 +38,8 @@ module fmc_test_wrapper (
input
FmcClk0M2CCmos_ik
,
input
FmcClk1M2CCmos_ik
,
in
p
ut
FmcClk2Bidir_ik
,
//differential signal
in
p
ut
FmcClk3Bidir_ik
,
//differential signal
in
o
ut
FmcClk2Bidir_i
o
k
,
//differential signal
in
o
ut
FmcClk3Bidir_i
o
k
,
//differential signal
input
FmcGbtClk0M2CLeft_ik
,
//differential signal
input
FmcGbtClk1M2CLeft_ik
,
//differential signal
...
...
@@ -478,7 +478,7 @@ module fmc_test_wrapper (
.
Scl_ioz
(
FmcSclMaster
),
.
Sda_ioz
(
FmcSdaMaster
));
assign
FmcScl_ok
=
FmcI2cOutCtrl
?
FmcSclReg
:
FmcSclMaster
;
assign
FmcScl_
i
ok
=
FmcI2cOutCtrl
?
FmcSclReg
:
FmcSclMaster
;
assign
FmcSda_io
=
FmcI2cOutCtrl
?
FmcSdaReg
:
FmcSdaMaster
;
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@
...
...
@@ -552,7 +552,7 @@ module fmc_test_wrapper (
.
rd_level
(
PcFmcClk1M2CCmosFifoELvl_b2
));
//FmcClk2Bidir:
always
@
(
posedge
FmcClk2Bidir_ik
)
always
@
(
posedge
FmcClk2Bidir_i
o
k
)
if
(
Reset_irqp
)
begin
FmcClk2BidirDivider_c3
<=
#
1
3'b0
;
end
else
begin
...
...
@@ -585,7 +585,7 @@ module fmc_test_wrapper (
.
rd_level
(
PcFmcClk2BidirFifoELvl_b2
));
//FmcClk3Bidir:
always
@
(
posedge
FmcClk3Bidir_ik
)
always
@
(
posedge
FmcClk3Bidir_i
o
k
)
if
(
Reset_irqp
)
begin
FmcClk3BidirDivider_c3
<=
#
1
3'b0
;
end
else
begin
...
...
@@ -764,9 +764,9 @@ module fmc_test_wrapper (
always
@*
begin
case
(
FmcClkMux_ctrl
[
2
])
3'b100
:
begin
TestIo2_a
=
FmcClk2Bidir_ik
;
end
3'b100
:
begin
TestIo2_a
=
FmcClk2Bidir_i
o
k
;
end
3'b101
:
begin
TestIo2_a
=
FmcGbtClk0M2CRight_ik
;
end
3'b110
:
begin
TestIo2_a
=
FmcClk3Bidir_ik
;
end
3'b110
:
begin
TestIo2_a
=
FmcClk3Bidir_i
o
k
;
end
3'b111
:
begin
TestIo2_a
=
FmcGbtClk1M2CRight_ik
;
end
default:
begin
TestIo2_a
=
1'b0
;
end
endcase
...
...
Hdl/FpgaModules/ApplicationSpecific/BoardTest/VfcHdApplication.v
View file @
01d06d7e
`timescale
1
ns
/
100
ps
module
VfcHdApplication
#(
parameter
g_ApplicationVersion_b8
=
8'ha
3
,
g_ApplicationReleaseDay_b8
=
8'h
1
8
,
g_ApplicationReleaseMonth_b8
=
8'h0
6
,
g_ApplicationReleaseYear_b8
=
8'h1
5
)
#(
parameter
g_ApplicationVersion_b8
=
8'ha
4
,
g_ApplicationReleaseDay_b8
=
8'h
2
8
,
g_ApplicationReleaseMonth_b8
=
8'h0
4
,
g_ApplicationReleaseYear_b8
=
8'h1
6
)
(
//@@@@@@@@@@@@@@@@@@@@@@@@@
//External connections
...
...
@@ -49,14 +49,14 @@ module VfcHdApplication
output
FmcTdi_o
,
input
FmcTdo_i
,
output
FmcTrstL_orn
,
out
put
FmcScl_ok
,
inout
FmcSda_io
,
in
out
FmcScl_
i
ok
,
inout
FmcSda_io
,
input
FmcPgM2C_in
,
output
FmcPgC2M_on
,
input
FmcClk0M2CCmos_ik
,
input
FmcClk1M2CCmos_ik
,
in
p
ut
FmcClk2Bidir_ik
,
//differential signal
in
p
ut
FmcClk3Bidir_ik
,
//differential signal
in
o
ut
FmcClk2Bidir_i
o
k
,
//differential signal
in
o
ut
FmcClk3Bidir_i
o
k
,
//differential signal
input
FmcClkDir_i
,
output
[
9
:
0
]
FmcDpC2M_ob10
,
//diff output
input
[
9
:
0
]
FmcDpM2C_ib10
,
...
...
@@ -489,15 +489,15 @@ fmc_test_wrapper i_FmcTest(
.
FmcTdi_o
(
FmcTdi_o
),
.
FmcTdo_i
(
FmcTdo_i
),
.
FmcTrstL_orn
(
FmcTrstL_orn
),
.
FmcScl_ok
(
FmcScl_ok
),
.
FmcScl_
i
ok
(
FmcScl_
i
ok
),
.
FmcSda_io
(
FmcSda_io
),
.
FmcPgM2C_in
(
FmcPgM2C_in
),
.
FmcPgC2M_on
(
FmcPgC2M_on
),
.
FmcClkDir_i
(
FmcClkDir_i
),
.
FmcClk0M2CCmos_ik
(
FmcClk0M2CCmos_ik
),
.
FmcClk1M2CCmos_ik
(
FmcClk1M2CCmos_ik
),
.
FmcClk2Bidir_ik
(
FmcClk2Bidir_ik
),
.
FmcClk3Bidir_ik
(
FmcClk3Bidir_ik
),
.
FmcClk2Bidir_i
o
k
(
FmcClk2Bidir_i
o
k
),
.
FmcClk3Bidir_i
o
k
(
FmcClk3Bidir_i
o
k
),
.
FmcGbtClk0M2CLeft_ik
(
FmcGbtClk0M2CLeft_ik
),
.
FmcGbtClk1M2CLeft_ik
(
FmcGbtClk1M2CLeft_ik
),
.
FmcGbtClk0M2CRight_ik
(
FmcGbtClk0M2CRight_ik
),
...
...
Hdl/FpgaModules/VfcHdTop.v
View file @
01d06d7e
...
...
@@ -93,14 +93,14 @@ module VfcHdTop
output
FmcTdi_o
,
input
FmcTdo_i
,
output
FmcTrstL_orn
,
outp
ut
FmcScl_ok
,
ino
ut
FmcScl_
i
ok
,
inout
FmcSda_io
,
input
FmcPgM2C_in
,
output
FmcPgC2M_on
,
input
FmcClk0M2CCmos_ik
,
input
FmcClk1M2CCmos_ik
,
in
p
ut
FmcClk2Bidir_ik
,
//differential signal
in
p
ut
FmcClk3Bidir_ik
,
//differential signal
in
o
ut
FmcClk2Bidir_i
o
k
,
//differential signal
in
o
ut
FmcClk3Bidir_i
o
k
,
//differential signal
input
FmcClkDir_i
,
output
[
9
:
0
]
FmcDpC2M_ob10
,
//diff output
input
[
9
:
0
]
FmcDpM2C_ib10
,
...
...
@@ -314,14 +314,14 @@ VfcHdApplication i_VfcHdApplication
.
FmcTdi_o
(
FmcTdi_o
),
.
FmcTdo_i
(
FmcTdo_i
),
.
FmcTrstL_orn
(
FmcTrstL_orn
),
.
FmcScl_ok
(
FmcScl_ok
),
.
FmcScl_
i
ok
(
FmcScl_
i
ok
),
.
FmcSda_io
(
FmcSda_io
),
.
FmcPgM2C_in
(
FmcPgM2C_in
),
.
FmcPgC2M_on
(
FmcPgC2M_on
),
.
FmcClk0M2CCmos_ik
(
FmcClk0M2CCmos_ik
),
.
FmcClk1M2CCmos_ik
(
FmcClk1M2CCmos_ik
),
.
FmcClk2Bidir_ik
(
FmcClk2Bidir_ik
),
.
FmcClk3Bidir_ik
(
FmcClk3Bidir_ik
),
.
FmcClk2Bidir_i
o
k
(
FmcClk2Bidir_i
o
k
),
.
FmcClk3Bidir_i
o
k
(
FmcClk3Bidir_i
o
k
),
.
FmcClkDir_i
(
FmcClkDir_i
),
.
FmcDpC2M_ob10
(
FmcDpC2M_ob10
),
.
FmcDpM2C_ib10
(
FmcDpM2C_ib10
),
...
...
Hdl/Simulation/BaseProjectAppAcceses/modelsim/project/BaseProjectAppAcceses_sim.mpf
View file @
01d06d7e
...
...
@@ -442,8 +442,6 @@ LOGFILE_DoubleClick = Edit
LOGFILE_CustomDoubleClick =
UCDB_DoubleClick = Edit
UCDB_CustomDoubleClick =
TDB_DoubleClick = Edit
TDB_CustomDoubleClick =
UPF_DoubleClick = Edit
UPF_CustomDoubleClick =
PCF_DoubleClick = Edit
...
...
@@ -457,4 +455,4 @@ DEBUGDATABASE_CustomDoubleClick =
DEBUGARCHIVE_DoubleClick = Edit
DEBUGARCHIVE_CustomDoubleClick =
Project_Major_Version = 10
Project_Minor_Version =
4
Project_Minor_Version =
1
Hdl/Simulation/BaseProjectAppAcceses/modelsim/run_cmp.do
View file @
01d06d7e
...
...
@@ -50,7 +50,7 @@ if "$no_sc == 1" {
echo "Smart compilation not possible or not enabled. Running full compilation..."
# Deleting pre-existing libraries
if {[file exists work]} {vdel -all -lib work}
# Creating and working directory:
# Creating and
mapping
working directory:
vlib work
vmap work work
# Maping Altera libraries:
...
...
Hdl/Simulation/BaseProjectAppAcceses/modelsim/wave.do
View file @
01d06d7e
This diff is collapsed.
Click to expand it.
Hdl/Simulation/BaseProjectAppAcceses/tb_BaseProjectAppAcceses.sv
View file @
01d06d7e
...
...
@@ -199,14 +199,14 @@ VfcHd_v2_0
.
FmcTdi_o
(),
.
FmcTdo_i
(
1'b0
),
.
FmcTrstL_orn
(),
.
FmcScl_ok
(),
.
FmcScl_
i
ok
(),
.
FmcSda_io
(),
.
FmcPgM2C_in
(
1'b0
),
.
FmcPgC2M_on
(),
.
FmcClk0M2CCmos_ik
(
1'b0
),
.
FmcClk1M2CCmos_ik
(
1'b0
),
.
FmcClk2Bidir_ik
(
1'b0
),
.
FmcClk3Bidir_ik
(
1'b0
),
.
FmcClk2Bidir_i
o
k
(),
.
FmcClk3Bidir_i
o
k
(),
.
FmcClkDir_i
(
1'b0
),
.
FmcDpC2M_ob10
(),
.
FmcDpM2C_ib10
(
10'h0
),
...
...
Hdl/Simulation/BasicVmeAccesses/tb_VfcBasicAccess.sv
View file @
01d06d7e
...
...
@@ -160,8 +160,8 @@ VfcHd_v2_0
.
FmcPgC2M_on
(),
.
FmcClk0M2CCmos_ik
(
1'b0
),
.
FmcClk1M2CCmos_ik
(
1'b0
),
.
FmcClk2Bidir_ik
(
1'b0
),
.
FmcClk3Bidir_ik
(
1'b0
),
.
FmcClk2Bidir_i
o
k
(),
.
FmcClk3Bidir_i
o
k
(),
.
FmcClkDir_i
(
1'b0
),
.
FmcDpC2M_ob10
(),
.
FmcDpM2C_ib10
(
10'h0
),
...
...
Hdl/Simulation/Models/VfcHd_v2_0.v
View file @
01d06d7e
...
...
@@ -53,20 +53,20 @@ module VfcHd_v2_0
input
FmcPrsntM2C_in
,
output
FmcTck_ok
,
output
FmcTms_o
,
in
put
FmcTdi_o
,
out
put
FmcTdi_o
,
input
FmcTdo_i
,
output
FmcTrstL_orn
,
inout
FmcScl_ok
,
inout
FmcScl_
i
ok
,
inout
FmcSda_io
,
input
FmcPgM2C_in
,
output
FmcPgC2M_on
,
input
FmcClk0M2CCmos_ik
,
input
FmcClk1M2CCmos_ik
,
inout
FmcClk2Bidir_ik
,
inout
[
9
:
0
]
FmcClk3Bidir_ik
,
input
[
9
:
0
]
FmcClkDir_i
,
output
FmcDpC2M_ob10
,
input
FmcDpM2C_ib10
,
inout
FmcClk2Bidir_i
o
k
,
inout
FmcClk3Bidir_i
o
k
,
input
FmcClkDir_i
,
output
[
9
:
0
]
FmcDpC2M_ob10
,
input
[
9
:
0
]
FmcDpM2C_ib10
,
input
FmcGbtClk0M2CLeft_ik
,
input
FmcGbtClk1M2CLeft_ik
,
input
FmcGbtClk0M2CRight_ik
,
...
...
@@ -196,14 +196,14 @@ VfcHdTop
.
FmcTdi_o
(
FmcTdi_o
),
.
FmcTdo_i
(
FmcTdo_i
),
.
FmcTrstL_orn
(
FmcTrstL_orn
),
.
FmcScl_ok
(
FmcScl_ok
),
.
FmcScl_
i
ok
(
FmcScl_
i
ok
),
.
FmcSda_io
(
FmcSda_io
),
.
FmcPgM2C_in
(
FmcPgM2C_in
),
.
FmcPgC2M_on
(
FmcPgC2M_on
),
.
FmcClk0M2CCmos_ik
(
FmcClk0M2CCmos_ik
),
.
FmcClk1M2CCmos_ik
(
FmcClk1M2CCmos_ik
),
.
FmcClk2Bidir_ik
(
FmcClk2Bidir_ik
),
.
FmcClk3Bidir_ik
(
FmcClk3Bidir_ik
),
.
FmcClk2Bidir_i
o
k
(
FmcClk2Bidir_i
o
k
),
.
FmcClk3Bidir_i
o
k
(
FmcClk3Bidir_i
o
k
),
.
FmcClkDir_i
(
FmcClkDir_i
),
.
FmcDpC2M_ob10
(
FmcDpC2M_ob10
),
.
FmcDpM2C_ib10
(
FmcDpM2C_ib10
),
...
...
Hdl/Simulation/VfcTestBench_template.sv
View file @
01d06d7e
...
...
@@ -154,14 +154,14 @@ VfcHd_v2_0
.
FmcTdi_o
(),
.
FmcTdo_i
(
1'b0
),
.
FmcTrstL_orn
(),
.
FmcScl_ok
(),
.
FmcScl_
i
ok
(),
.
FmcSda_io
(),
.
FmcPgM2C_in
(
1'b0
),
.
FmcPgC2M_on
(),
.
FmcClk0M2CCmos_ik
(
1'b0
),
.
FmcClk1M2CCmos_ik
(
1'b0
),
.
FmcClk2Bidir_ik
(
1'b0
),
.
FmcClk3Bidir_ik
(
1'b0
),
.
FmcClk2Bidir_i
o
k
(),
.
FmcClk3Bidir_i
o
k
(),
.
FmcClkDir_i
(
1'b0
),
.
FmcDpC2M_ob10
(),
.
FmcDpM2C_ib10
(
10'h0
),
...
...
Hdl/Synthesis/BoardTest/QuartusPrj/incremental_db/README
deleted
100644 → 0
View file @
a214d8fa
This folder contains data for incremental compilation.
The compiled_partitions sub-folder contains previous compilation results for each partition.
As long as this folder is preserved, incremental compilation results from earlier compiles
can be re-used. To perform a clean compilation from source files for all partitions, both
the db and incremental_db folder should be removed.
The imported_partitions sub-folder contains the last imported QXP for each imported partition.
As long as this folder is preserved, imported partitions will be automatically re-imported
when the db or incremental_db/compiled_partitions folders are removed.
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