Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
SPEC7
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
SPEC7
Commits
943d58b1
Commit
943d58b1
authored
Jun 28, 2021
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reorganize and directory structure for spec7_blink design
parent
77897d56
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
2558 additions
and
2446 deletions
+2558
-2446
.gitignore
hdl/sim/spec7_blink/.gitignore
+0
-0
VCom_Functional.tcl
hdl/sim/spec7_blink/VCom_Functional.tcl
+4
-0
VSim_Functional.tcl
hdl/sim/spec7_blink/VSim_Functional.tcl
+5
-5
modelsim.ini
hdl/sim/spec7_blink/modelsim.ini
+2125
-2041
test.tcl
hdl/sim/spec7_blink/test.tcl
+5
-5
wave.tcl
hdl/sim/spec7_blink/wave.tcl
+24
-24
proj_file_list.txt
hdl/spec7_blink/syn/proj_file_list.txt
+0
-2
.gitignore
hdl/syn/spec7_blink/.gitignore
+0
-0
README.TXT
hdl/syn/spec7_blink/README.TXT
+27
-27
do_vivado.cmd
hdl/syn/spec7_blink/do_vivado.cmd
+10
-10
do_vivado_prog.cmd
hdl/syn/spec7_blink/do_vivado_prog.cmd
+9
-9
do_vivado_tcl.cmd
hdl/syn/spec7_blink/do_vivado_tcl.cmd
+16
-16
proj_file_list.txt
hdl/syn/spec7_blink/proj_file_list.txt
+2
-0
proj_properties.tcl
hdl/syn/spec7_blink/proj_properties.tcl
+24
-0
spec7_blink.vhd
hdl/top/spec7_blink/spec7_blink.vhd
+279
-279
spec7_blink.xdc
hdl/top/spec7_blink/spec7_blink.xdc
+28
-28
No files found.
hdl/s
pec7_blink/sim
/.gitignore
→
hdl/s
im/spec7_blink
/.gitignore
View file @
943d58b1
File moved
hdl/s
pec7_blink/sim
/VCom_Functional.tcl
→
hdl/s
im/spec7_blink
/VCom_Functional.tcl
View file @
943d58b1
# VCom_Functional.tcl
# compile for functional simulation
vcom -explicit -93 -work work ../
top
/spec7_blink.vhd
vcom -explicit -93 -work work ../
../top/spec7_blink
/spec7_blink.vhd
hdl/s
pec7_blink/sim
/VSim_Functional.tcl
→
hdl/s
im/spec7_blink
/VSim_Functional.tcl
View file @
943d58b1
vsim -t ns -G/spec7_blink/Q=4 work.spec7_blink
do wave.tcl
do test
je.tcl
wave zoomfull
vsim -t ns -G/spec7_blink/Q=4 work.spec7_blink
do wave.tcl
do test
.tcl
wave zoomfull
hdl/s
pec7_blink/sim
/modelsim.ini
→
hdl/s
im/spec7_blink
/modelsim.ini
View file @
943d58b1
This source diff could not be displayed because it is too large. You can
view the blob
instead.
hdl/s
pec7_blink/sim/testje
.tcl
→
hdl/s
im/spec7_blink/test
.tcl
View file @
943d58b1
force CLK_DMTD_P 0,1 4000 ps -rep 8 ns
force CLK_DMTD_N 1,0 4000 ps -rep 8 ns
run 4 us
#run 200 ms
force CLK_DMTD_P 0,1 4000 ps -rep 8 ns
force CLK_DMTD_N 1,0 4000 ps -rep 8 ns
run 4 us
#run 200 ms
hdl/s
pec7_blink/sim
/wave.tcl
→
hdl/s
im/spec7_blink
/wave.tcl
View file @
943d58b1
onerror
{
resume
}
quietly WaveActivateNextPane
{}
0
add wave -noupdate /spec7_blink/CLK_DMTD_P
add wave -noupdate /spec7_blink/Q
add wave -noupdate -expand /spec7_blink/LED
add wave -noupdate /spec7_blink/u3_O
TreeUpdate
[
SetDefaultTree
]
WaveRestoreCursors
{{
Cursor 1
}
{
1114 ns
}
0
}
quietly wave cursor active 1
configure wave -namecolwidth 150
configure wave -valuecolwidth 100
configure wave -justifyvalue left
configure wave -signalnamewidth 0
configure wave -snapdistance 10
configure wave -datasetprefix 0
configure wave -rowmargin 4
configure wave -childrowmargin 2
configure wave -gridoffset 0
configure wave -gridperiod 1
configure wave -griddelta 40
configure wave -timeline 0
configure wave -timelineunits ns
update
WaveRestoreZoom
{
0 ns
}
{
4200 ns
}
onerror
{
resume
}
quietly WaveActivateNextPane
{}
0
add wave -noupdate /spec7_blink/CLK_DMTD_P
add wave -noupdate /spec7_blink/Q
add wave -noupdate -expand /spec7_blink/LED
add wave -noupdate /spec7_blink/u3_O
TreeUpdate
[
SetDefaultTree
]
WaveRestoreCursors
{{
Cursor 1
}
{
1114 ns
}
0
}
quietly wave cursor active 1
configure wave -namecolwidth 150
configure wave -valuecolwidth 100
configure wave -justifyvalue left
configure wave -signalnamewidth 0
configure wave -snapdistance 10
configure wave -datasetprefix 0
configure wave -rowmargin 4
configure wave -childrowmargin 2
configure wave -gridoffset 0
configure wave -gridperiod 1
configure wave -griddelta 40
configure wave -timeline 0
configure wave -timelineunits ns
update
WaveRestoreZoom
{
0 ns
}
{
4200 ns
}
hdl/spec7_blink/syn/proj_file_list.txt
deleted
100644 → 0
View file @
77897d56
../top/spec7_blink.vhd
spec7_blink.xdc
hdl/s
pec7_blink/syn
/.gitignore
→
hdl/s
yn/spec7_blink
/.gitignore
View file @
943d58b1
File moved
hdl/s
pec7_blink/syn
/README.TXT
→
hdl/s
yn/spec7_blink
/README.TXT
View file @
943d58b1
Synthesis and Place&Route README.TXT January 25, 2018
--------------------------------------------------------
Scripts:
--------
1) do_vivado.cmd start vivado (calling viv_do_all.tcl)
2) do_vivado_tcl.cmd start vivado tcl console.
You may want to type:
a) "start_gui" to start the vivado gui
b) "source proj_properties.tcl" to find the path to the scripts and next
"source $script_dir/viv_do_all.tcl"
3) do_elf.cmd combines the software and the empty "%DesName%.bit" file. Uses "software.elf", "%DesName%.bit"
and "%DesName%_bd.bmm" and merges them into "%DesName%_elf.bit"
4) do_vivado_prog.cmd download the configuration ("%DesName%_elf.bit") into the Evaluation board via the USB
download cable.
Project info and sources:
--------
proj_properties.tcl contains the project properties (name, device etc.)
proj_file_list.txt a text file with all project sources. Remember that the wr-cores files are listed
using "hdlmake list-files > proj_file_list.txt" in
directory "../../wr-cores/syn/clbv3_ref_design"
Scripts that are called by the scripts above or can be executed separately on the tcl command line:
--------
viv_do_synt.tcl sourced by viv_do_all.tcl, starts vivado synthesis run
viv_do_impl.tcl sourced by viv_do_all.tcl, starts vivado implementation run
viv_do_program.tcl sourced by do_vivado_prog.cmd
Synthesis and Place&Route README.TXT January 25, 2018
--------------------------------------------------------
Scripts:
--------
1) do_vivado.cmd start vivado (calling viv_do_all.tcl)
2) do_vivado_tcl.cmd start vivado tcl console.
You may want to type:
a) "start_gui" to start the vivado gui
b) "source proj_properties.tcl" to find the path to the scripts and next
"source $script_dir/viv_do_all.tcl"
3) do_elf.cmd combines the software and the empty "%DesName%.bit" file. Uses "software.elf", "%DesName%.bit"
and "%DesName%_bd.bmm" and merges them into "%DesName%_elf.bit"
4) do_vivado_prog.cmd download the configuration ("%DesName%_elf.bit") into the Evaluation board via the USB
download cable.
Project info and sources:
--------
proj_properties.tcl contains the project properties (name, device etc.)
proj_file_list.txt a text file with all project sources. Remember that the wr-cores files are listed
using "hdlmake list-files > proj_file_list.txt" in
directory "../../wr-cores/syn/clbv3_ref_design"
Scripts that are called by the scripts above or can be executed separately on the tcl command line:
--------
viv_do_synt.tcl sourced by viv_do_all.tcl, starts vivado synthesis run
viv_do_impl.tcl sourced by viv_do_all.tcl, starts vivado implementation run
viv_do_program.tcl sourced by do_vivado_prog.cmd
hdl/s
pec7_blink/syn
/do_vivado.cmd
→
hdl/s
yn/spec7_blink
/do_vivado.cmd
View file @
943d58b1
rem do_vivado.cmd PeterJ, 19-Jan-2018.
@prompt $$$s
rem ### Cleanup old log files and stuff
del *.log
del *.jou
rem ### note that environment variable "VIVADO" must be set to something like "E:\Xilinx\Vivado\2017.1\bin\"
rem ### in your (User) Environment Variables
"%VIVADO%\vivado.bat" -mode batch -source ..\..\..\sw\scripts\viv_do_all.tcl
rem do_vivado.cmd PeterJ, 19-Jan-2018.
@prompt $$$s
rem ### Cleanup old log files and stuff
del *.log
del *.jou
rem ### note that environment variable "VIVADO" must be set to something like "E:\Xilinx\Vivado\2017.1\bin\"
rem ### in your (User) Environment Variables
"%VIVADO%\vivado.bat" -mode batch -source ..\..\..\sw\scripts\viv_do_all.tcl
hdl/s
pec7_blink/syn
/do_vivado_prog.cmd
→
hdl/s
yn/spec7_blink
/do_vivado_prog.cmd
View file @
943d58b1
rem prog.cmd PeterJ, 23-Jan-2018.
@prompt $$$s
rem ### Cleanup old log files and stuff
del vivado_prog.log
rem ### note that environment variable "VIVADO" must be set to something like "E:\Xilinx\Vivado\2017.1\bin\"
rem ### in your (User) Environment Variables
"%VIVADO%\vivado.bat" -mode batch -source ..\..\..\sw\scripts\viv_do_program.tcl -log vivado_prog.log
rem prog.cmd PeterJ, 23-Jan-2018.
@prompt $$$s
rem ### Cleanup old log files and stuff
del vivado_prog.log
rem ### note that environment variable "VIVADO" must be set to something like "E:\Xilinx\Vivado\2017.1\bin\"
rem ### in your (User) Environment Variables
"%VIVADO%\vivado.bat" -mode batch -source ..\..\..\sw\scripts\viv_do_program.tcl -log vivado_prog.log
hdl/s
pec7_blink/syn
/do_vivado_tcl.cmd
→
hdl/s
yn/spec7_blink
/do_vivado_tcl.cmd
View file @
943d58b1
rem do_vivado_tcl.cmd PeterJ, 19-Jan-2018.
@prompt $$$s
rem ### Usually one wants to start Vivado in tcl mode to inspect an existing design,
rem ### therefore don't delete log files and setting. Else remove "rem" statements in the lines below.
rem set DesName=clbv3_wr_ref_top
rem set LogName=%DesName%-vivado
rem ### Cleanup old log files and stuff (
rem del vivado*.log
rem del vivado*.jou
rem ### note that environment variable "VIVADO" must be set to something like "E:\Xilinx\Vivado\2017.1\bin\"
rem ### in your (User) Environment Variables
"%VIVADO%\vivado.bat" -mode tcl
rem do_vivado_tcl.cmd PeterJ, 19-Jan-2018.
@prompt $$$s
rem ### Usually one wants to start Vivado in tcl mode to inspect an existing design,
rem ### therefore don't delete log files and setting. Else remove "rem" statements in the lines below.
rem set DesName=clbv3_wr_ref_top
rem set LogName=%DesName%-vivado
rem ### Cleanup old log files and stuff (
rem del vivado*.log
rem del vivado*.jou
rem ### note that environment variable "VIVADO" must be set to something like "E:\Xilinx\Vivado\2017.1\bin\"
rem ### in your (User) Environment Variables
"%VIVADO%\vivado.bat" -mode tcl
hdl/syn/spec7_blink/proj_file_list.txt
0 → 100644
View file @
943d58b1
../../top/spec7_blink/spec7_blink.vhd
../../top/spec7_blink/spec7_blink.xdc
hdl/s
pec7_blink/syn
/proj_properties.tcl
→
hdl/s
yn/spec7_blink
/proj_properties.tcl
View file @
943d58b1
#
# projetc_properties.tcl
# This file contains the general project properties such as the project name and
# the directory where Vivado is doing it's job
#
set proj_name spec7_blink
set proj_dir work
set script_dir
[
pwd
]
/../../../sw/scripts
set generics
""
# SPEC7 equipped with ZYNQ XC7Z035FBG676-1
(
speed grade -1 has lowest performance
)
#set device xc7z035fbg676-1
set device xc7z030fbg676-1
#
# projetc_properties.tcl
# This file contains the general project properties such as the project name and
# the directory where Vivado is doing it's job
#
# ====================================================
# DESIGN TO BUILD:
# ====================================================
set
spec7_design spec7_blink
# ====================================================
# SELECT DEVICE TO BUILD:
# ====================================================
# SPEC7 equipped with ZYNQ XC7Z035FBG676-1 (speed grade -1 has lowest performance
)
set
device xc7z035fbg676-1
#set device xc7z030fbg676-1
# ====================================================
set
proj_name spec7_blink
set
proj_dir work
set
script_dir
[
pwd
]
/../../../sw/scripts
set
generics
""
hdl/
spec7_blink/top
/spec7_blink.vhd
→
hdl/
top/spec7_blink
/spec7_blink.vhd
View file @
943d58b1
This diff is collapsed.
Click to expand it.
hdl/
spec7_blink/syn
/spec7_blink.xdc
→
hdl/
top/spec7_blink
/spec7_blink.xdc
View file @
943d58b1
##### REFERENCE CLOCK #####
# CLK_DMTD input pins (on board 124.992 MHz Xtal)
# Note that 125.000 MHz is routed via AD9516!
set_property PACKAGE_PIN D15 [get_ports CLK_DMTD_P]
set_property IOSTANDARD LVDS [get_ports CLK_DMTD_P]
set_property PACKAGE_PIN D14 [get_ports CLK_DMTD_N]
set_property IOSTANDARD LVDS [get_ports CLK_DMTD_N]
create_clock -period 8.000 -name CLK_DMTD_P [get_ports CLK_DMTD_P]
# LED_0 to 3
set_property IOSTANDARD LVCMOS25 [get_ports {LED[0]}]
set_property PACKAGE_PIN AC26 [get_ports {LED[0]}]
set_property IOSTANDARD LVCMOS25 [get_ports {LED[1]}]
set_property PACKAGE_PIN AB26 [get_ports {LED[1]}]
set_property IOSTANDARD LVCMOS25 [get_ports {LED[2]}]
set_property PACKAGE_PIN AE26 [get_ports {LED[2]}]
set_property IOSTANDARD LVCMOS25 [get_ports {LED[3]}]
set_property PACKAGE_PIN AE25 [get_ports {LED[3]}]
# Suicide & Watchdog
# Bank 13 (HR) VCCO - 2.5 V
set_property PACKAGE_PIN AC22 [get_ports suicide_n_o]
set_property IOSTANDARD LVCMOS25 [get_ports suicide_n_o]
set_property PACKAGE_PIN AC21 [get_ports wdog_n_o]
set_property IOSTANDARD LVCMOS25 [get_ports wdog_n_o]
set_property PACKAGE_PIN V19 [get_ports prsnt_m2c_l_i]
set_property IOSTANDARD LVCMOS25 [get_ports prsnt_m2c_l_i]
##### REFERENCE CLOCK #####
# CLK_DMTD input pins (on board 124.992 MHz Xtal)
# Note that 125.000 MHz is routed via AD9516!
set_property PACKAGE_PIN D15 [get_ports CLK_DMTD_P]
set_property IOSTANDARD LVDS [get_ports CLK_DMTD_P]
set_property PACKAGE_PIN D14 [get_ports CLK_DMTD_N]
set_property IOSTANDARD LVDS [get_ports CLK_DMTD_N]
create_clock -period 8.000 -name CLK_DMTD_P [get_ports CLK_DMTD_P]
# LED_0 to 3
set_property IOSTANDARD LVCMOS25 [get_ports {LED[0]}]
set_property PACKAGE_PIN AC26 [get_ports {LED[0]}]
set_property IOSTANDARD LVCMOS25 [get_ports {LED[1]}]
set_property PACKAGE_PIN AB26 [get_ports {LED[1]}]
set_property IOSTANDARD LVCMOS25 [get_ports {LED[2]}]
set_property PACKAGE_PIN AE26 [get_ports {LED[2]}]
set_property IOSTANDARD LVCMOS25 [get_ports {LED[3]}]
set_property PACKAGE_PIN AE25 [get_ports {LED[3]}]
# Suicide & Watchdog
# Bank 13 (HR) VCCO - 2.5 V
set_property PACKAGE_PIN AC22 [get_ports suicide_n_o]
set_property IOSTANDARD LVCMOS25 [get_ports suicide_n_o]
set_property PACKAGE_PIN AC21 [get_ports wdog_n_o]
set_property IOSTANDARD LVCMOS25 [get_ports wdog_n_o]
set_property PACKAGE_PIN V19 [get_ports prsnt_m2c_l_i]
set_property IOSTANDARD LVCMOS25 [get_ports prsnt_m2c_l_i]
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