Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Gateware
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Beam Positoning Monitor - Gateware
Commits
e8a0063e
Commit
e8a0063e
authored
Jan 04, 2013
by
Adrian Byszuk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hdlmake support for simulation
parent
1ecfa6ef
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
718 additions
and
5 deletions
+718
-5
Manifest.py
hdl/ip_cores/pcie/7k325ffg900/Manifest.py
+2
-2
Manifest.py
hdl/sim/pcie/Manifest.py
+10
-0
sample_tests1.v
hdl/sim/pcie/sample_tests1.v
+0
-0
tests.v
hdl/sim/pcie/tests.v
+0
-0
Makefile
hdl/testbench/pcie/Makefile
+676
-0
Manifest.py
hdl/testbench/pcie/Manifest.py
+30
-3
No files found.
hdl/ip_cores/pcie/7k325ffg900/Manifest.py
View file @
e8a0063e
if
(
action
==
"synthesis"
):
modules
=
{
"local"
:
[
"pcie_core/source"
]}
files
=
[
"bram_x64.ngc"
,
"eb_fifo_counted_resized.ngc"
,
"mbuf_128x72.ngc"
,
...
...
@@ -15,3 +13,5 @@ else:
"mbuf_128x72.vhd"
,
"prime_FIFO_plain.vhd"
,
"sfifo_15x128.vhd"
]
modules
=
{
"local"
:
[
"pcie_core/source"
]}
hdl/sim/pcie/Manifest.py
0 → 100644
View file @
e8a0063e
files
=
[
"pci_exp_usrapp_cfg.v"
,
"pci_exp_usrapp_com.v"
,
"pci_exp_usrapp_pl.v"
,
"pci_exp_usrapp_rx.v"
,
"pci_exp_usrapp_tx.v"
,
"pcie_2_1_rport_7x.v"
,
"pcie_axi_trn_bridge.v"
,
"xilinx_pcie_2_1_rport_7x.v"
,
"sys_clk_gen.v"
,
"sys_clk_gen_ds.v"
]
hdl/
testbench
/pcie/sample_tests1.v
→
hdl/
sim
/pcie/sample_tests1.v
View file @
e8a0063e
File moved
hdl/
testbench
/pcie/tests.v
→
hdl/
sim
/pcie/tests.v
View file @
e8a0063e
File moved
hdl/testbench/pcie/Makefile
0 → 100644
View file @
e8a0063e
This diff is collapsed.
Click to expand it.
hdl/testbench/pcie/Manifest.py
View file @
e8a0063e
import
os
as
__os
import
shutil
as
__shutil
def
__import_verilog_lib
():
xilinx_dir
=
__os
.
getenv
(
"XILINX"
);
if
xilinx_dir
==
None
:
print
(
"XILINX variable not set"
)
__os
.
exit
(
-
1
)
if
__os
.
path
.
isdir
(
"work"
):
return
verilog_lib
=
xilinx_dir
+
"/ISE/verilog/src/glbl.v"
print
(
"Copying "
+
verilog_lib
)
#__os.mkdir("work")
__shutil
.
copy
(
verilog_lib
,
"."
)
target
=
"xilinx"
action
=
"simulation"
vlog_opt
=
"-i ../../sim/pcie -d SIMULATION"
# ENABLE_GT has to be set until I figure out a way
# to force ISIM to work in PIPE simulation mode
vlog_opt
+=
" -d ENABLE_GT"
vsim_opt
=
"-testplusarg TESTNAME=tf64_pcie_axi"
__import_verilog_lib
()
files
=
[
"board.v"
,
"glbl.v"
]
syn_project
=
"bpm_pcie_sim.xise"
#top_module = "tf64_pcie_axi"
modules
=
{
"local"
:
[
"../../modules/pcie"
,
"../../ip_cores/pcie/7k325ffg900"
]}
"../../ip_cores/pcie/7k325ffg900"
,
"../../sim/pcie"
,
"../../top/pcie"
]}
files
=
"tf64_pcie_axi.v"
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