Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
CompactRIO White Rabbit CRIO-WR
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
CompactRIO White Rabbit CRIO-WR
Commits
83fd066e
Commit
83fd066e
authored
May 30, 2017
by
Dimitris Lampridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syn: add post synthesis hook to generate the Xilinx PROM files
parent
717c46cb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
.gitignore
hdl/syn/crio_wr_pmu/.gitignore
+1
-0
Manifest.py
hdl/syn/crio_wr_pmu/Manifest.py
+2
-0
prom_gen.sh
hdl/syn/crio_wr_pmu/prom_gen.sh
+9
-0
No files found.
hdl/syn/crio_wr_pmu/.gitignore
View file @
83fd066e
...
...
@@ -2,3 +2,4 @@
!.gitignore
!Manifest.py
!crio_wr_pmu.ucf
!prom_gen.sh
hdl/syn/crio_wr_pmu/Manifest.py
View file @
83fd066e
...
...
@@ -10,6 +10,8 @@ syn_project = "crio_wr_pmu.xise"
syn_tool
=
"ise"
syn_post_cmd
=
"./prom_gen.sh"
modules
=
{
"local"
:
"../../top/crio_wr_pmu/"
,
}
...
...
hdl/syn/crio_wr_pmu/prom_gen.sh
0 → 100755
View file @
83fd066e
#!/bin/sh
# convert .bit to .mcs, the result can be written to flash without erasing an existing SDBFS on it
promgen
-w
-spi
-p
mcs
-c
FF
-s
32768
-u
0 crio_wr_pmu_top.bit
-o
crio_wr_pmu.mcs
# alternative .mcs with empty SDBFS appended. It should be used if there is no SDBFS on the flash
wget http://www.ohwr.org/attachments/download/4558/sdbfs-standalone-160812.bin
-O
/tmp/sdbfs-standalone-160812.bin
promgen
-w
-spi
-p
mcs
-c
FF
-s
32768
-u
0 crio_wr_pmu_top.bit
-bd
/tmp/sdbfs-standalone-160812.bin start 0x170000
-o
crio_wr_pmu_sdbfs.mcs
rm
/tmp/sdbfs-standalone-160812.bin
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