-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from fbelavenuto/organizing
Organizing Files, compiling bitstream with docker and fixing case of SD filenames
- Loading branch information
Showing
111 changed files
with
125 additions
and
1,947 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
|
||
DESIGN = sdmapper | ||
DEVICE = XC95144XL-10-TQ100 | ||
UCF_FILE = src/pinout_final.ucf | ||
|
||
# Make all runs to place & route | ||
all : bitstream | ||
|
||
# bitstream : Creates device bitstream | ||
bitstream : ${DESIGN}.jed | ||
|
||
# translate: Stops after full design elaboration for analysis and floorplanning prior to place and route step | ||
translate : ${DESIGN}.ngd | ||
|
||
# Following executes the ISE run | ||
|
||
# Produces: .lso .ngc .ngr .srp *_xst.xrpt _xmsgs/ | ||
${DESIGN}.ngc: ${DESIGN}.xst | ||
xst -intstyle ise -ifn $< | ||
|
||
# Produces: .bld .ngd *_ngdbuild.xrpt _xmsgs/ xlnx_auto_0_xdb/ | ||
${DESIGN}.ngd : ${DESIGN}.ngc ${UCF_FILE} | ||
ngdbuild -intstyle ise -uc ${UCF_FILE} -p ${DEVICE} ${DESIGN}.ngc $@ | ||
|
||
# Produces: .mfd .pad .pnx .rpt .vm6 .xml _build.xml _pad.csv _html/ _xmsgs/ | ||
${DESIGN}.vm6 : ${DESIGN}.ngd | ||
cpldfit -intstyle ise -p ${DEVICE} -ofmt vhdl -optimize density -htmlrpt -loc on -slew fast -init low -inputs 54 -pterms 90 -unused float -power std -terminate keeper $? | ||
XSLTProcess ${DESIGN}_build.xml | ||
|
||
# produces .nga | ||
${DESIGN}.nga: ${DESING}.vm6 | ||
tsim -intstyle ise ${DESIGN} $@ | ||
|
||
# Produces _xmsgs/ .jed | ||
${DESIGN}.jed: ${DESIGN}.vm6 | ||
hprep6 -s IEEE1149 -n ${DESIGN} -i ${DESIGN} | ||
mv $@ ${DESIGN}_${VERSION}.jed | ||
|
||
# Clean up all the files from the Vivado run | ||
clean: | ||
rm -rf *.ngd *.bit *.map *.bld *.xml *.html *.jed *.nga *.err \ | ||
*.xrpt *.txt *.pad *.csv xlnx_auto* _xmsgs *.lso *_html *.xml \ | ||
*.ngc *.ngr *.srp *.lst *.gyd *.mfd *.pnx *.rpt *.vm6 | ||
|
||
# Tar and compress all the files | ||
tar: | ||
tar -czvf ${DESIGN}.tar.gz *.ipf *.xsl *.prj *.svf *.xise *.xst *.xsvf Makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.0.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
vhdl work "src/spi.vhd" | ||
vhdl work "src/mapper.vhd" | ||
vhdl work "src/exp_slot.vhd" | ||
vhdl work "src/sdmapper.vhd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
set -tmpdir "/tmp" | ||
set -xsthdpdir "xst" | ||
run | ||
-ifn sdmapper.prj | ||
-ifmt mixed | ||
-ofn sdmapper | ||
-ofmt NGC | ||
-p xc9500xl | ||
-top sdmapper | ||
-opt_mode Speed | ||
-opt_level 2 | ||
-iuc NO | ||
-keep_hierarchy Yes | ||
-netlist_hierarchy As_Optimized | ||
-rtlview Yes | ||
-hierarchy_separator / | ||
-bus_delimiter <> | ||
-case Maintain | ||
-verilog2001 YES | ||
-fsm_extract YES -fsm_encoding Auto | ||
-safe_implementation No | ||
-mux_extract Yes | ||
-resource_sharing YES | ||
-iobuf YES | ||
-pld_mp YES | ||
-pld_xp YES | ||
-pld_ce YES | ||
-wysiwyg NO | ||
-equivalent_register_removal YES |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.